vibe.d beta banner
get vibe.d
0.8.4

Asynchronous I/O that doesn’t get in your way, written in D

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.

Authors

Sönke Ludwig, Etienne Cimon

Copyright

© 2015 RejectedSoftware e.K., GlobecSys Inc

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.