vibe.d beta banner
get vibe.d
0.10.1

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

OpenSSLContext.peerValidationMode - multiple declarations

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.

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

License

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