SSLContext

Abstract interface for an SSL context.

Members

Enums

Kind
enum Kind

Context kind.

Verify
enum Verify

Whether to verify the peer certificate.

Functions

enableDH
void enableDH(int bits)
Undocumented in source.
enableECDH
void enableECDH()
Undocumented in source.
setCertificate
void setCertificate(string path)
Undocumented in source.
setCipherList
void setCipherList(string[] ciphers)
Undocumented in source.
setFlags
void setFlags(int )
Undocumented in source.
setPeerRootCertificate
void setPeerRootCertificate(string path)
Undocumented in source.
setPeerVerify
void setPeerVerify(Verify verify)
Undocumented in source.
setPreSharedKey
void setPreSharedKey(string id, const(ubyte)[] key)
Undocumented in source.
setPrivateKey
void setPrivateKey(string path)
Undocumented in source.

Meta