vibe.d beta banner
get vibe.d
0.10.1

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

Function TLSContext.peerValidationMode

Specifies the validation level of remote peers.

abstract void peerValidationMode (
  TLSPeerValidationMode mode
) @property @safe;

abstract 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 RejectedSoftware e.K.

License

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