vibe.d beta banner
get vibe.d
0.8.2

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

Enum member TLSPeerValidationMode.trustedCert

Require a valid and trusted certificate (strongly recommended).

enum TLSPeerValidationMode
{
  // ...
  trustedCert = 15,
  // ...
}

Checks the certificate and peer name for validity and requires that the certificate chain originates from a trusted CA (based on the registered pool of certificate authorities).

This option is a combination validCert and checkTrust.

See also

useTrustedCertificateFile

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.