botan v1.12.8 (2016-11-14T10:06:52Z)
Dub
Repo
readTLSRecord
botan
tls
record
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
,
ref
TLSProtocolVersion
record_version
,
ref
RecordType
record_type
,
ConnectionSequenceNumbers
sequence_numbers
,
const
(
ConnectionCipherState
)
delegate
(
ushort
)
const
get_cipherstate
)
Return Value
Type:
size_t
zero if full message, else number of bytes still needed
Meta
Source
See Implementation
botan
tls
record
classes
ConnectionCipherState
functions
readDTLSRecord
readRecord
readTLSRecord
writeRecord
Decode a TLS record