Skip to main content

decrypt_aes256_cbc_hmac_aead

Function decrypt_aes256_cbc_hmac_aead 

Source
pub(crate) fn decrypt_aes256_cbc_hmac_aead(
    message: &CoseEncrypt0Bytes,
    key: &Aes256CbcHmacKey,
) -> Result<(Vec<u8>, ContentFormat), CryptoError>
Expand description

Decrypts a typed COSE Encrypt0 message with an AES-256-CBC-HMAC-SHA256 key.

Decrypt only: Added in November 2026. Enable encryption after February 2027.