pub fn validate_rsa_recipient_key(
key: &RsaPublicKey,
policy: &EncryptionPolicy,
) -> Result<(), XmlEncError>Expand description
Validate an RSA recipient key against the compiled encryption policy.
Key registries can use this preflight before selecting a candidate, ensuring ordered searches skip keys that the encryption operation would reject.