QSC Post Quantum Cryptographic Library 1.1.0.2 (B2)
A post quantum secure library written in Ansi C
Loading...
Searching...
No Matches
qsc_asn1_oid_t Struct Reference

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

Detailed Description

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.

Field Documentation

◆ arcs

uint32_t arcs[QSC_ASN1_OID_MAX_ARCS]

The decoded OID arcs.

◆ arcscount

size_t arcscount

The number of valid arcs in the arcs array.

◆ data

uint8_t data[QSC_ASN1_OID_MAX_SIZE]

The encoded OID value octets, excluding tag and length.

◆ length

size_t length

The number of valid bytes in the encoded data array.


The documentation for this struct was generated from the following file:
  • C:/Users/stepp/Documents/Visual Studio 2022/Projects/C/QSC/QSC/asn1.h