Function BotanTLSContext.peerValidationMode
Specifies the validation level of remote peers.
void peerValidationMode
(
TLSPeerValidationMode mode
) @property;
TLSPeerValidationMode peerValidationMode() const @property;
The default mode for TLSContextKind.client is TLSPeerValidationMode.trustedCert and the default for TLSContextKind.server is TLSPeerValidationMode.none.