A parsed X.509 certificate object. More...
#include <x509types.h>
Data Fields | |
| uint32_t | version |
| uint8_t | serialnumber [QSC_X509_SERIAL_NUMBER_MAX] |
| size_t | serialnumberlen |
| qsc_x509_algorithm_identifier | tbsignature |
| qsc_x509_name | issuer |
| qsc_x509_validity | validity |
| qsc_x509_name | subject |
| qsc_x509_subject_public_key_info | subjectpublickeyinfo |
| bool | issueruniqueid_present |
| bool | subjectuniqueid_present |
| qsc_x509_extensions | extensions |
| qsc_x509_algorithm_identifier | signaturealgorithm |
| uint8_t | signature [QSC_X509_SIGNATURE_MAX] |
| size_t | signaturelen |
| uint8_t | signatureunusedbits |
| const uint8_t * | tbsdata |
| size_t | tbsdatalen |
| const uint8_t * | der |
| size_t | derlen |
| bool | derowned |
A parsed X.509 certificate object.
| const uint8_t* der |
Pointer to the original certificate DER buffer.
| size_t derlen |
The number of octets in the original certificate DER buffer.
| bool derowned |
true if the certificate object owns and must release the DER buffer.
| qsc_x509_extensions extensions |
The decoded certificate extensions.
| qsc_x509_name issuer |
The certificate issuer distinguished name.
| bool issueruniqueid_present |
true if issuerUniqueID is present.
| uint8_t serialnumber[QSC_X509_SERIAL_NUMBER_MAX] |
The certificate serial number octets.
| size_t serialnumberlen |
The number of valid octets in the serialnumber array.
| uint8_t signature[QSC_X509_SIGNATURE_MAX] |
The certificate signature BIT STRING payload octets.
| qsc_x509_algorithm_identifier signaturealgorithm |
The outer certificate signature algorithm identifier.
| size_t signaturelen |
The number of valid octets in the signature array.
| uint8_t signatureunusedbits |
The number of unused bits in the final signature octet.
| qsc_x509_name subject |
The certificate subject distinguished name.
| qsc_x509_subject_public_key_info subjectpublickeyinfo |
The subject public key information.
| bool subjectuniqueid_present |
true if subjectUniqueID is present.
| const uint8_t* tbsdata |
Pointer to the original TBSCertificate DER bytes within the source buffer.
| size_t tbsdatalen |
The number of octets in the TBSCertificate DER encoding.
| qsc_x509_algorithm_identifier tbsignature |
The TBSCertificate signature algorithm identifier.
| qsc_x509_validity validity |
The certificate validity interval.
| uint32_t version |
The certificate version number in the range 1 to 3.