Skip to main content

open_private_document_entry

Function open_private_document_entry 

Source
pub fn open_private_document_entry(
    entry: &[u8],
    target: &PrivateDocumentTarget<'_>,
    recipient_identity_id: &[u8; 32],
    recipient_secret_keys: &[SecretKey],
) -> Result<Option<OpenedPrivateDocumentEntry>, PrivateDocumentEnvelopeError>
Expand description

PrivateDocumentRecipientKeys::open with keys prepared for this one entry; a scan of many entries prepares them once instead.