TLS Record Handling
TLS Cipher State
Initialize a new cipher state
Create a TLS record
| SecureVector!ubyte output | the output record is placed here |
| ubyte msg_type | is the type of the message (handshake, alert, ...) |
| const(ubyte)* msg | is the plaintext message |
| size_t msg_length | is the length of msg |
| TLSProtocolVersion _version | is the protocol version |
| ulong msg_sequence | is the sequence number |
| ConnectionCipherState cipherstate | is the writing cipher state |
| RandomNumberGenerator rng | is a random number generator |
Decode a TLS record