Skip to main content

wrap_application_data

Function wrap_application_data 

Source
pub fn wrap_application_data(ciphertext: &[u8], out: &mut Vec<u8>)
Expand description

Wrap already-encrypted bytes into one or more TLS Application Data records (0x17 0x03 0x03 <len(be16)> <data>), splitting at RECORD_MAX_CHUNK. Appends to out.