Skip to main content

parse_key_derivation_method

Function parse_key_derivation_method 

Source
pub fn parse_key_derivation_method(
    xml: &str,
    policy: &DecryptionPolicy,
) -> Result<KeyDerivationMethod, XmlEncError>
Expand description

Parse a standalone xenc11:KeyDerivationMethod with the same XML and metadata bounds as the containing decryption operation. No resource is fetched and no provider or key resolver is invoked by this function.