Skip to main content

open_from_recipient

Function open_from_recipient 

Source
pub fn open_from_recipient(
    recipient: &RecipientKeypair,
    cose_bytes: &[u8],
    external_aad: &[u8],
    epoch: u64,
    sequence: u64,
) -> Result<Vec<u8>>
Expand description

Compatibility wrapper for the existing encrypted-envelope lifecycle.

New code must use open with an owning InboundReplayLedger.