vibe.d beta banner
get vibe.d
0.7.30

Function OpenSSLContext.peerValidationMode

Specifies the validation level of remote peers.

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

Prototypes

void peerValidationMode(
  TLSPeerValidationMode mode
) @property;

TLSPeerValidationMode peerValidationMode() @property const;
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.