pub fn parse_encrypted_data_node_with_policy(
node: Node<'_, '_>,
policy: &DecryptionPolicy,
) -> Result<EncryptedData, XmlEncError>Expand description
Parse a selected xenc:EncryptedData node under an immutable policy snapshot.
This is the node-oriented counterpart to parse_encrypted_data. It lets
callers that already parsed a containing document validate the complete
encrypted-data structure without serializing the selected subtree and losing
namespace declarations inherited from its ancestors. The containing source
document is reparsed because Node does not expose its parser provenance.