Certificate validation context supplied to chain validators. More...
#include <tlscert.h>
Data Fields | |
| const char * | hostname |
| bool | clientauth |
| bool | requirepeercertificate |
Certificate validation context supplied to chain validators.
| bool clientauth |
Set to true when validating a client certificate for mutual authentication.
| 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.
| bool requirepeercertificate |
Set to true when the peer certificate is mandatory for the current role.