Skip to content

Struct SYN_COSE_Encrypt0Message

ClassList > SYN_COSE_Encrypt0Message

Parsed COSE_Encrypt0 Message descriptor.

  • #include <syn_cose.h>

Public Attributes

Type Name
SYN_COSE_Algorithm alg
const uint8_t * ciphertext
size_t ciphertext_len
uint8_t iv
size_t iv_len
uint8_t kid
size_t kid_len
uint8_t protected_hdr
size_t protected_hdr_len

Public Attributes Documentation

variable alg

SYN_COSE_Algorithm SYN_COSE_Encrypt0Message::alg;

AEAD algorithm


variable ciphertext

const uint8_t* SYN_COSE_Encrypt0Message::ciphertext;

Ciphertext + Tag pointer


variable ciphertext_len

size_t SYN_COSE_Encrypt0Message::ciphertext_len;

Ciphertext length


variable iv

uint8_t SYN_COSE_Encrypt0Message::iv[SYN_COSE_MAX_IV_LEN];

IV / Nonce


variable iv_len

size_t SYN_COSE_Encrypt0Message::iv_len;

IV length


variable kid

uint8_t SYN_COSE_Encrypt0Message::kid[SYN_COSE_MAX_KID_LEN];

Key identifier


variable kid_len

size_t SYN_COSE_Encrypt0Message::kid_len;

Key ID length


variable protected_hdr

uint8_t SYN_COSE_Encrypt0Message::protected_hdr[SYN_COSE_MAX_PROTECTED_LEN];

Serialized protected header


variable protected_hdr_len

size_t SYN_COSE_Encrypt0Message::protected_hdr_len;

Protected header length



The documentation for this class was generated from the following file src/syntropic/proto/syn_cose.h