Stores the configured local certificate chain and CertificateVerify signing configuration. More...
#include <tlsstate.h>
Data Fields | |
| qsc_tls_certificate_view | chain [QSC_TLS_CERTIFICATE_LIST_MAX_ENTRIES] |
| size_t | chainlength |
| qsc_tls_signature_scheme | verifyscheme |
| uint8_t | verifysignature [QSC_TLS_CERTIFICATE_VERIFY_MAX_SIGNATURE_SIZE] |
| size_t | verifysignaturelen |
| uint8_t | signprivatekey [QSC_TLS_MAX_SIGNING_PRIVATE_KEY_SIZE] |
| size_t | signprivatekeylen |
| qsc_tls_certificate_sign_callback | signcallback |
| void * | signstate |
| bool | configured |
| bool | staticsignature |
Stores the configured local certificate chain and CertificateVerify signing configuration.
Local certificate chain entries presented to the peer.
| size_t chainlength |
Number of valid certificates in the local chain.
| bool configured |
True when a local certificate chain and signing mode are configured.
| qsc_tls_certificate_sign_callback signcallback |
Callback used to generate the CertificateVerify signature.
| uint8_t signprivatekey[QSC_TLS_MAX_SIGNING_PRIVATE_KEY_SIZE] |
Private key bytes stored for the internal signer.
| size_t signprivatekeylen |
Length of the stored private key in bytes; zero if not used.
| void* signstate |
Caller-supplied state passed to the signing callback.
| bool staticsignature |
Reserved, always false in the current implementation.
| qsc_tls_signature_scheme verifyscheme |
Signature scheme used for CertificateVerify.
| uint8_t verifysignature[QSC_TLS_CERTIFICATE_VERIFY_MAX_SIGNATURE_SIZE] |
Reserved, no longer written by the public API.
| size_t verifysignaturelen |
Reserved.