vibe.d beta banner
get vibe.d
0.10.0

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

OpenSSLContext.useTrustedCertificateFile - multiple declarations

Function OpenSSLContext.useTrustedCertificateFile

Sets the list of trusted certificates for verifying peer certificates.

void useTrustedCertificateFile (
  string path
) @trusted;

If this is a server context, this also entails that the given certificates are advertised to connecting clients during handshake.

On Linux, the system's root certificate authority list is usually found at "/etc/ssl/certs/ca-certificates.crt", "/etc/pki/tls/certs/ca-bundle.crt", or "/etc/ssl/ca-bundle.pem".

Function TLSContext.useTrustedCertificateFile

Sets the list of trusted certificates for verifying peer certificates.

abstract void useTrustedCertificateFile (
  string path
) @safe;

If this is a server context, this also entails that the given certificates are advertised to connecting clients during handshake.

On Linux, the system's root certificate authority list is usually found at "/etc/ssl/certs/ca-certificates.crt", "/etc/pki/tls/certs/ca-bundle.crt", or "/etc/ssl/ca-bundle.pem".

Function OpenSSLContext.useTrustedCertificateFile

Sets the list of trusted certificates for verifying peer certificates.

void useTrustedCertificateFile (
  string path
) @trusted;

If this is a server context, this also entails that the given certificates are advertised to connecting clients during handshake.

On Linux, the system's root certificate authority list is usually found at "/etc/ssl/certs/ca-certificates.crt", "/etc/pki/tls/certs/ca-bundle.crt", or "/etc/ssl/ca-bundle.pem".

Function TLSContext.useTrustedCertificateFile

Sets the list of trusted certificates for verifying peer certificates.

abstract void useTrustedCertificateFile (
  string path
) @safe;

If this is a server context, this also entails that the given certificates are advertised to connecting clients during handshake.

On Linux, the system's root certificate authority list is usually found at "/etc/ssl/certs/ca-certificates.crt", "/etc/pki/tls/certs/ca-bundle.crt", or "/etc/ssl/ca-bundle.pem".

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.