- activateSessionvoid activateSession() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- applicationProtocolconst(string) applicationProtocol() 
- Returns the ALPN chosen in the ServerHello with the ALPN extention 
- changeCipherSpecReadervoid changeCipherSpecReader(ConnectionSide side) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- changeCipherSpecWritervoid changeCipherSpecWriter(ConnectionSide side) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- closevoid close() 
- Send a close notification alert 
- createHandshakeStateHandshakeState createHandshakeState(TLSProtocolVersion _version) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getPeerCertChainVector!X509Certificate getPeerCertChain(HandshakeState state) 
- Undocumented in source. 
- heartbeatvoid heartbeat(const(ubyte)* payload, size_t payload_size) 
- Attempt to send a heartbeat message (if negotiated with counterparty) 
- heartbeatvoid heartbeat() 
- Attempt to send a heartbeat message (if negotiated with counterparty) 
- heartbeatSendingAllowedbool heartbeatSendingAllowed() 
- initiateHandshakevoid initiateHandshake(HandshakeState state, bool force_full_renegotiation) 
- Undocumented in source. 
- isActivebool isActive() 
- isClosedbool isClosed() 
- keyMaterialExportconst(SymmetricKey) keyMaterialExport(string label, string context, size_t length) 
- Key material export (RFC 5705) 
- newHandshakeStateHandshakeState newHandshakeState(HandshakeIO io) 
- Undocumented in source. 
- peerCertChainVector!X509Certificate peerCertChain() 
- peerSupportsHeartbeatsbool peerSupportsHeartbeats() 
- processHandshakeMsgvoid processHandshakeMsg(HandshakeState active_state, HandshakeState pending_state, HandshakeType type, Vector!ubyte contents) 
- Undocumented in source. 
- receivedDatasize_t receivedData(const(ubyte)* input, size_t input_size) 
- Inject TLS traffic received from counterparty 
- receivedDatasize_t receivedData(Vector!ubyte buf) 
- Inject TLS traffic received from counterparty 
- renegotiatevoid renegotiate(bool force_full_renegotiation) 
- Attempt to renegotiate the session 
- resetStatevoid resetState() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- rngRandomNumberGenerator rng() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- saveSessionbool saveSession(TLSSession session) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- secureRenegotiationCheckvoid secureRenegotiationCheck(ClientHello client_hello) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- secureRenegotiationCheckvoid secureRenegotiationCheck(ServerHello server_hello) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- secureRenegotiationDataForClientHelloVector!ubyte secureRenegotiationDataForClientHello() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- secureRenegotiationDataForServerHelloVector!ubyte secureRenegotiationDataForServerHello() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- secureRenegotiationSupportedbool secureRenegotiationSupported() 
- sendvoid send(const(ubyte)* buf, size_t buf_size) 
- Inject plaintext intended for counterparty
Throws an exception if isActive() is false 
- sendvoid send(string str) 
- Inject plaintext intended for counterparty
Throws an exception if isActive() is false 
- sendvoid send(Vector!(char, Alloc) val) 
- Inject plaintext intended for counterparty
Throws an exception if isActive() is false 
- sendAlertvoid sendAlert(TLSAlert alert) 
- Send a TLS alert message. If the alert is fatal, the internal
state (keys, etc) will be reset. 
- sendFatalAlertvoid sendFatalAlert(TLSAlertType type) 
- sendWarningAlertvoid sendWarningAlert(TLSAlertType type) 
- sessionIdconst(ubyte[]) sessionId() 
- Returns the current session ID 
- sessionManagerTLSSessionManager sessionManager() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- timeoutCheckbool timeoutCheck() 
- Perform a handshake timeout check. This does nothing unless
this is a DTLS channel with a pending handshake state, in
which case we check for timeout and potentially retransmit
handshake packets. 
Generic interface for TLS endpoint