Skip to main content

cose

Function cose 

Source
fn cose(message: &[u8], key: &Key) -> Result<Zeroizing<Vec<u8>>, Problem>
Expand description

A COSE_Encrypt0 message (RFC 9052 §5.2): its algorithm, its nonce, its text, opened with the protected header as additional data; padded UTF-8 unpadded.