DatagramHandshakeIO

Handshake IO for datagram-based handshakes

Constructors

this
this(ConnectionSequenceNumbers seq, InternalDataWriter writer, ushort mtu)
Undocumented in source.

Members

Aliases

InternalDataWriter
alias InternalDataWriter = void delegate(ushort, ubyte, const ref Vector!ubyte)
Undocumented in source.

Functions

addRecord
void addRecord(Vector!ubyte record, RecordType record_type, ulong record_sequence)
Undocumented in source. Be warned that the author may not have intended to support it.
format
Vector!ubyte format(Vector!ubyte msg, HandshakeType type)
Undocumented in source. Be warned that the author may not have intended to support it.
getNextRecord
NextRecord getNextRecord(bool expecting_ccs)
Undocumented in source. Be warned that the author may not have intended to support it.
initialRecordVersion
TLSProtocolVersion initialRecordVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
send
Vector!ubyte send(HandshakeMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.
sendMessage
Vector!ubyte sendMessage(ushort msg_seq, ushort epoch, HandshakeType msg_type, Vector!ubyte msg_bits)
Undocumented in source. Be warned that the author may not have intended to support it.
timeoutCheck
bool timeoutCheck()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From HandshakeIO

initialRecordVersion
TLSProtocolVersion initialRecordVersion()
Undocumented in source.
send
Vector!ubyte send(HandshakeMessage msg)
Undocumented in source.
format
Vector!ubyte format(Vector!ubyte handshake_msg, HandshakeType handshake_type)
Undocumented in source.
timeoutCheck
bool timeoutCheck()
Undocumented in source.
addRecord
void addRecord(Vector!ubyte record, RecordType type, ulong sequence_number)
Undocumented in source.
getNextRecord
NextRecord getNextRecord(bool expecting_ccs)

Returns (HANDSHAKE_NONE, Vector!( )()) if no message currently available

Meta