Skip to main content

parse_blob_header

Function parse_blob_header 

Source
pub fn parse_blob_header(object: &[u8]) -> Result<BlobHeader, CryptError>
Expand description

Parses and validates an encrypted blob’s cleartext header.

§Errors

Returns a CryptError when the header, algorithm, or stored length is invalid.