readTLSRecord

Decode a TLS record

package
static if(BOTAN_HAS_TLS)
size_t
readTLSRecord
(
ref SecureVector!ubyte readbuf
,
const(ubyte)* input
,
size_t input_sz
,
ref size_t consumed
,
ref SecureVector!ubyte record
,
ref ulong record_sequence
,,,,
const(ConnectionCipherState) delegate
(
ushort
)
const
get_cipherstate
)

Return Value

Type: size_t

zero if full message, else number of bytes still needed

Meta