mbedtls_asn1_buf Struct Reference

Type-length-value structure that allows for ASN1 using DER.

#include <asn1.h>

Data Fields

int tag
 ASN1 type, e.g.
 
size_t len
 ASN1 length, in octets.
 
unsigned char * p
 ASN1 data, e.g.
 

Type-length-value structure that allows for ASN1 using DER.

Field Documentation

◆ tag

int mbedtls_asn1_buf::tag

ASN1 type, e.g.

MBEDTLS_ASN1_UTF8_STRING.

◆ len

size_t mbedtls_asn1_buf::len

ASN1 length, in octets.

◆ p

unsigned char* mbedtls_asn1_buf::p

ASN1 data, e.g.

in ASCII.