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 |
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.
| bool chainvalid |
Indicates that path validation succeeded before hostname evaluation.
| char commonname[QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
The first peer certificate commonName value, when available.
| char dnsname[QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
The matched DNS subjectAltName, or the first DNS subjectAltName when no hostname check was requested.
| bool hostnamechecked |
Indicates that hostname validation was requested.
| bool hostnamevalid |
Indicates that hostname validation succeeded.
| char issuer[QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
The formatted peer certificate issuer name, when available.
| bool populated |
Indicates that the summary was populated from a decoded peer certificate.
| char subject[QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
The formatted peer certificate subject name, when available.
| qsc_x509_verify_status verifystatus |
The final certificate verification status.