Skip to content

Struct SYN_ASN1_Element

ClassList > SYN_ASN1_Element

Parsed ASN.1 TLV element header.

  • #include <syn_asn1.h>

Public Attributes

Type Name
bool constructed
size_t header_len
size_t length
uint8_t tag
uint8_t tag_class
uint8_t tag_number
const uint8_t * value

Public Attributes Documentation

variable constructed

bool SYN_ASN1_Element::constructed;

True if constructed container


variable header_len

size_t SYN_ASN1_Element::header_len;

Total length of tag + length bytes


variable length

size_t SYN_ASN1_Element::length;

Payload length in bytes


variable tag

uint8_t SYN_ASN1_Element::tag;

Full 8-bit tag byte


variable tag_class

uint8_t SYN_ASN1_Element::tag_class;

UNIVERSAL, CONTEXT_SPECIFIC, etc.


variable tag_number

uint8_t SYN_ASN1_Element::tag_number;

Tag type number (0..31)


variable value

const uint8_t* SYN_ASN1_Element::value;

Pointer to payload bytes



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