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_local_certificate_config Struct Reference

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

Detailed Description

Stores the configured local certificate chain and CertificateVerify signing configuration.

Field Documentation

◆ chain

Local certificate chain entries presented to the peer.

◆ chainlength

size_t chainlength

Number of valid certificates in the local chain.

◆ configured

bool configured

True when a local certificate chain and signing mode are configured.

◆ signcallback

Callback used to generate the CertificateVerify signature.

◆ signprivatekey

uint8_t signprivatekey[QSC_TLS_MAX_SIGNING_PRIVATE_KEY_SIZE]

Private key bytes stored for the internal signer.

◆ signprivatekeylen

size_t signprivatekeylen

Length of the stored private key in bytes; zero if not used.

◆ signstate

void* signstate

Caller-supplied state passed to the signing callback.

◆ staticsignature

bool staticsignature

Reserved, always false in the current implementation.

◆ verifyscheme

Signature scheme used for CertificateVerify.

◆ verifysignature

Reserved, no longer written by the public API.

◆ verifysignaturelen

size_t verifysignaturelen

Reserved.


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