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

A decoded or mutable PKCS#10 certificate signing request. More...

#include <x509csr.h>

Data Fields

uint32_t version
qsc_x509_name subject
qsc_x509_subject_public_key_info spki
qsc_x509_algorithm_identifier signaturealgorithm
qsc_x509_extensions extensions
qsc_x509_csr_attribute attributes [QSC_X509_CSR_ATTRIBUTES_MAX]
size_t attributecount
uint8_t signature [QSC_X509_SIGNATURE_MAX]
size_t signaturelen
uint8_t signatureunusedbits
const uint8_t * infodata
size_t infodatalen
const uint8_t * der
size_t derlen
bool derowned

Detailed Description

A decoded or mutable PKCS#10 certificate signing request.

Field Documentation

◆ attributecount

size_t attributecount

The number of valid generic CSR attributes.

◆ attributes

The generic non-extension CSR attributes.

◆ der

const uint8_t* der

Pointer to the preserved CSR DER buffer.

◆ derlen

size_t derlen

The number of octets in the preserved CSR DER buffer.

◆ derowned

bool derowned

true if der points to heap storage owned by the CSR object.

◆ extensions

qsc_x509_extensions extensions

The optional normalized extensionRequest payload extensions.

◆ infodata

const uint8_t* infodata

Pointer to the preserved CertificationRequestInfo DER bytes.

◆ infodatalen

size_t infodatalen

The number of octets in the preserved CertificationRequestInfo DER encoding.

◆ signature

uint8_t signature[QSC_X509_SIGNATURE_MAX]

The CSR signature BIT STRING payload octets.

◆ signaturealgorithm

qsc_x509_algorithm_identifier signaturealgorithm

The outer signature AlgorithmIdentifier.

◆ signaturelen

size_t signaturelen

The number of valid octets in the signature array.

◆ signatureunusedbits

uint8_t signatureunusedbits

The number of unused bits in the final signature octet.

◆ spki

qsc_x509_subject_public_key_info spki

The subject public key information.

◆ subject

qsc_x509_name subject

The request subject distinguished name.

◆ version

uint32_t version

The CertificationRequestInfo version. This is encoded as zero for PKCS#10 v1.


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