QSC Post Quantum Cryptographic Library 1.3.0.0 (C1)
A post quantum secure library written in Ansi C
Loading...
Searching...
No Matches
qsc_tls_peer_certificate_summary Struct Reference

Fixed peer-certificate identity summary retained by the built-in QSC X.509 TLS bridge. More...

#include <tlscert.h>

Data Fields

char subject [QSC_X509_NAME_ATTRIBUTE_STRING_MAX]
char issuer [QSC_X509_NAME_ATTRIBUTE_STRING_MAX]
char commonname [QSC_X509_NAME_ATTRIBUTE_STRING_MAX]
char dnsname [QSC_X509_NAME_ATTRIBUTE_STRING_MAX]
qsc_x509_verify_status verifystatus
bool populated
bool chainvalid
bool hostnamechecked
bool hostnamevalid

Detailed Description

Fixed peer-certificate identity summary retained by the built-in QSC X.509 TLS bridge.

The summary contains bounded, zero-terminated diagnostic identity fields copied from the decoded leaf certificate during certificate-chain validation. The structure does not retain DER pointers or heap ownership. It is intended for post-handshake status inspection by higher-level TLS socket callers.

Field Documentation

◆ chainvalid

bool chainvalid

Indicates that path validation succeeded before hostname evaluation.

◆ commonname

char commonname[QSC_X509_NAME_ATTRIBUTE_STRING_MAX]

The first peer certificate commonName value, when available.

◆ dnsname

char dnsname[QSC_X509_NAME_ATTRIBUTE_STRING_MAX]

The matched DNS subjectAltName, or the first DNS subjectAltName when no hostname check was requested.

◆ hostnamechecked

bool hostnamechecked

Indicates that hostname validation was requested.

◆ hostnamevalid

bool hostnamevalid

Indicates that hostname validation succeeded.

◆ issuer

char issuer[QSC_X509_NAME_ATTRIBUTE_STRING_MAX]

The formatted peer certificate issuer name, when available.

◆ populated

bool populated

Indicates that the summary was populated from a decoded peer certificate.

◆ subject

char subject[QSC_X509_NAME_ATTRIBUTE_STRING_MAX]

The formatted peer certificate subject name, when available.

◆ verifystatus

qsc_x509_verify_status verifystatus

The final certificate verification status.


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