vibe.d beta banner
get vibe.d
0.10.1

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

Function OpenSSLContext.peerValidationMode

Specifies the validation level of remote peers.

void peerValidationMode (
  TLSPeerValidationMode mode
) @property @safe;

TLSPeerValidationMode peerValidationMode() @property @safe const;

The default mode for TLSContextKind.client is TLSPeerValidationMode.trustedCert and the default for TLSContextKind.server is TLSPeerValidationMode.none.

Authors

Sönke Ludwig

Copyright

© 2012-2014 Sönke Ludwig

License

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