botan.tls.record

TLS Record Handling

Members

Classes

ConnectionCipherState
class ConnectionCipherState

TLS Cipher State

Functions

readDTLSRecord
size_t readDTLSRecord(SecureVector!ubyte readbuf, const(ubyte)* input, size_t input_sz, size_t consumed, SecureVector!ubyte record, ulong record_sequence, TLSProtocolVersion record_version, RecordType record_type, ConnectionSequenceNumbers sequence_numbers, const(ConnectionCipherState) delegate(ushort) const get_cipherstate)
Undocumented in source. Be warned that the author may not have intended to support it.
readRecord
size_t readRecord(SecureVector!ubyte readbuf, const(ubyte)* input, size_t input_sz, bool is_datagram, size_t consumed, SecureVector!ubyte record, ulong record_sequence, TLSProtocolVersion record_version, RecordType record_type, ConnectionSequenceNumbers sequence_numbers, const(ConnectionCipherState) delegate(ushort) const get_cipherstate)
Undocumented in source. Be warned that the author may not have intended to support it.
readTLSRecord
size_t readTLSRecord(SecureVector!ubyte readbuf, const(ubyte)* input, size_t input_sz, size_t consumed, SecureVector!ubyte record, ulong record_sequence, TLSProtocolVersion record_version, RecordType record_type, ConnectionSequenceNumbers sequence_numbers, const(ConnectionCipherState) delegate(ushort) const get_cipherstate)

Decode a TLS record

writeRecord
void writeRecord(SecureVector!ubyte output, ubyte msg_type, const(ubyte)* msg, size_t msg_length, TLSProtocolVersion _version, ulong seq, ConnectionCipherState cs, RandomNumberGenerator rng)

Create a TLS record

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)