1 #ifndef OPENARC_DOT_HPP_INCLUDED
2 #define OPENARC_DOT_HPP_INCLUDED
8 // Forward to keep from including <openarc/arc.h>
17 lib(lib
const&) = delete;
18 lib
& operator=(lib
const&) = delete;
23 lib
& operator=(lib
&&) = default;
25 void get_option(int arg
, void* val
= nullptr, size_t valsz
= 0);
26 void set_option(int arg
, void* val
= nullptr, size_t valsz
= 0);
33 void header(std::string_view header
);
35 void body(std::string_view body
);
36 void chunk(std::string_view chunk
);
43 arc_lib
* arc_
= nullptr;
44 arc_msghandle
* msg_
= nullptr;
47 class sign
: public lib
{
52 bool seal(char const* authservid
,
59 std::string
name() const;
60 std::string
value() const;
62 std::vector
<std::string
> whole_seal() const;
65 arc_hdrfield
* seal_
= nullptr;
68 class verify
: public lib
{
73 char const* chain_status_str() const;
74 std::string
chain_custody_str() const;
77 } // namespace OpenARC
79 #endif // OPENARC_DOT_HPP_INCLUDED