23 using Type = std::variant<InArray, AtKey>;
38 const std::vector<uint8_t>&
value;
41 using Type = std::variant<Empty, Value>;
57 const std::span<const uint8_t>& cose_input,
const desc::Type& descriptor);
std::variant< Empty, Value > Type
Definition cose.h:41
std::variant< InArray, AtKey > Type
Definition cose.h:23
std::vector< uint8_t > set_unprotected_header(const std::span< const uint8_t > &cose_input, const desc::Type &descriptor)
Definition cose.cpp:14
int64_t key
The top-level key at which to insert the value.
Definition cose.h:36
const std::vector< uint8_t > & value
The value to insert in the unprotected header.
Definition cose.h:38
pos::Type position
The type of position at which to insert the value.
Definition cose.h:34
int64_t key
The sub-key at which to insert the value.
Definition cose.h:20