TLSServer

TLS Server

Constructors

this
this(DataWriter output_fn, OnClearData data_cb, OnAlert alert_cb, OnHandshakeComplete handshake_cb, TLSSessionManager session_manager, TLSCredentialsManager creds, TLSPolicy policy, RandomNumberGenerator rng, NextProtocolHandler next_proto, SNIHandler sni_handler, bool is_datagram, size_t io_buf_sz)

TLSServer initialization

Members

Functions

getPeerCertChain
Vector!X509Certificate getPeerCertChain(HandshakeState state)
Undocumented in source. Be warned that the author may not have intended to support it.
getUserData
void* getUserData()
Undocumented in source. Be warned that the author may not have intended to support it.
initiateHandshake
void initiateHandshake(HandshakeState state, bool force_full_renegotiation)
Undocumented in source. Be warned that the author may not have intended to support it.
newHandshakeState
HandshakeState newHandshakeState(HandshakeIO io)
Undocumented in source. Be warned that the author may not have intended to support it.
processHandshakeMsg
void processHandshakeMsg(HandshakeState active_state, HandshakeState state_base, HandshakeType type, Vector!ubyte contents)
Undocumented in source. Be warned that the author may not have intended to support it.
switchContext
void switchContext(SNIContextSwitchInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta