Data Fields
asn1_builder Struct Reference

An ASN.1 object builder. More...

#include <asn1.h>

Data Fields

void * data
 Data. More...
size_t len
 Length of data. More...

Detailed Description

An ASN.1 object builder.

Definition at line 28 of file asn1.h.

Field Documentation

◆ data

void* asn1_builder::data


This is always dynamically allocated. If data is NULL while @len is non-zero, this indicates that a memory allocation error has occurred during the building process.

Definition at line 35 of file asn1.h.

Referenced by asn1_grow(), asn1_prepend(), asn1_prepend_raw(), asn1_wrap(), icert_cert(), ocsp_free(), ocsp_request(), ocsp_uri_string(), and privkey_apply_settings().

◆ len

size_t asn1_builder::len

Length of data.

Definition at line 37 of file asn1.h.

Referenced by asn1_grow(), asn1_wrap(), icert_cert(), ocsp_request(), ocsp_uri_string(), and privkey_apply_settings().

The documentation for this struct was generated from the following file: