OpenSSLAdapter

Undocumented in source.

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.
flushQueue
void flushQueue()

Encrypt outgoing plaintext queue -> SSL_write -> w

flushWritten
void flushWritten()

Flush any accumulated outgoing ciphertext to the network

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)
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.

Variables

context
OpenSSLContext context;
Undocumented in source.
queue
Data[] queue;

Queue of outgoing plaintext

r
MemoryBIO r;
Undocumented in source.
sslHandle
SSL* sslHandle;
Undocumented in source.
w
MemoryBIO w;
Undocumented in source.

Inherited Members

From SSLAdapter

setHostName
void setHostName(string hostname)
Undocumented in source.
getHostCertificate
SSLCertificate getHostCertificate()
Undocumented in source.
getPeerCertificate
SSLCertificate getPeerCertificate()
Undocumented in source.

Meta