Skip to main content

decrypt_document_with_options

Function decrypt_document_with_options 

Source
pub fn decrypt_document_with_options(
    xml: &str,
    options: DocumentDecryptionOptions<'_>,
    resolver: &dyn DecryptionKeyResolver,
) -> Result<String, XmlEncError>
Expand description

Decrypt and replace one EncryptedData using the default decryption policy.

Use DecryptContext when XML-input or resource policy must differ from the secure defaults; options here contain request selection only.