Function pdf_extract::encryption::decrypt_object
source ยท pub fn decrypt_object<Key>(
key: Key,
obj_id: (u32, u16),
obj: &Object,
) -> Result<Vec<u8>, DecryptionError>Expand description
Decrypts obj and returns the content of the string or stream.
If obj is not an decryptable type, returns the NotDecryptable error.