Skip to main content

parse_encrypted_data_node_with_context

Function parse_encrypted_data_node_with_context 

Source
pub fn parse_encrypted_data_node_with_context(
    node: Node<'_, '_>,
    policy: &DecryptionPolicy,
    backend: XmlBackend,
    provider: &dyn CryptoProvider,
    id_attributes: &[IdAttributeRegistration],
) -> Result<EncryptedData, XmlEncError>
Expand description

Inspect a selected node using the same provider and ID registrations as decryption. Same-document KeyInfo references are resolved before returning recipient metadata.