vibe.d beta banner
get vibe.d
0.7.30

Function TLSContext.peerValidationMode

Specifies the validation level of remote peers.

abstract void peerValidationMode (
  TLSPeerValidationMode mode
) @property;

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