OpenSSLAdapter

SSLAdapter implementation.

Constructors

this
this(OpenSSLContext context, IConnection next)
Undocumented in source.

Members

Aliases

send
alias send = SSLAdapter.send
Undocumented in source.

Functions

disconnect
void disconnect(string reason, DisconnectType type)
Undocumented in source. Be warned that the author may not have intended to support it.
getHostCertificate
OpenSSLCertificate getHostCertificate()
Undocumented in source. Be warned that the author may not have intended to support it.
getPeerCertificate
OpenSSLCertificate getPeerCertificate()
Undocumented in source. Be warned that the author may not have intended to support it.
onConnect
void onConnect()
Undocumented in source. Be warned that the author may not have intended to support it.
onDisconnect
void onDisconnect(string reason, DisconnectType type)
Undocumented in source. Be warned that the author may not have intended to support it.
onReadData
void onReadData(Data data)
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send(Data[] data, int priority)
Undocumented in source. Be warned that the author may not have intended to support it.
setHostName
void setHostName(string hostname, ushort port, string service)
Undocumented in source. Be warned that the author may not have intended to support it.
sslError
void sslError(int ret, string msg)
Undocumented in source. Be warned that the author may not have intended to support it.
updateState
void updateState()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

state
ConnectionState state [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

connectionState
ConnectionState connectionState;
context
OpenSSLContext context;
hostname
const(char)* hostname;
r
MemoryBIO r;
Undocumented in source.
sslHandle
SSL* sslHandle;

The C OpenSSL connection object.

w
MemoryBIO w;
Undocumented in source.

Inherited Members

From SSLAdapter

setHostName
void setHostName(string hostname, ushort port, string service)

Specifies the expected host name (used for peer verification).

getHostCertificate
SSLCertificate getHostCertificate()

Retrieves the host (local) certificate.

getPeerCertificate
SSLCertificate getPeerCertificate()

Retrieves the peer (remote) certificate.

Meta