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

Certificate validation context supplied to chain validators. More...

#include <tlscert.h>

Data Fields

const char * hostname
bool clientauth
bool requirepeercertificate

Detailed Description

Certificate validation context supplied to chain validators.

Field Documentation

◆ clientauth

bool clientauth

Set to true when validating a client certificate for mutual authentication.

◆ hostname

const char* hostname

The expected peer hostname, or NULL when hostname validation is not required. The TLS handshake layer stores its own bounded copy when configured through the standard setters.

◆ requirepeercertificate

bool requirepeercertificate

Set to true when the peer certificate is mandatory for the current role.


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