pub fn parse_encrypt_dict(
dict: &Dict,
r: &impl Resolve,
) -> Result<EncryptParams, Error>Expand description
Read an /Encrypt dictionary into an EncryptParams.
§Errors
Error::UnsupportedHandler for a /Filter other than /Standard,
Error::MissingCryptFilter when a named filter is not in /CF, and
Error::MalformedEncryptDict or Error::CipherKeyLength when the key
length does not resolve. [oracle-bug] naming different filters in
/StmF and /StrF is not an error — see
EncryptParams::string_cipher.