A decoded ASN.1 OBJECT IDENTIFIER. More...
#include <asn1.h>
Data Fields | |
| uint8_t | data [QSC_ASN1_OID_MAX_SIZE] |
| uint32_t | arcs [QSC_ASN1_OID_MAX_ARCS] |
| size_t | length |
| size_t | arcscount |
A decoded ASN.1 OBJECT IDENTIFIER.
The structure stores both the original DER value octets and the decoded arc sequence. The encoded form is useful for table lookups and direct comparison, while the arc array is useful for debugging and diagnostics.
| uint32_t arcs[QSC_ASN1_OID_MAX_ARCS] |
The decoded OID arcs.
| size_t arcscount |
The number of valid arcs in the arcs array.
| uint8_t data[QSC_ASN1_OID_MAX_SIZE] |
The encoded OID value octets, excluding tag and length.
| size_t length |
The number of valid bytes in the encoded data array.