pub enum Cipher {
None,
Rc4,
Aes,
}Expand description
The cipher a document’s crypt filter resolves to.
Aes covers both AESV2 and AESV3: PDFium never distinguishes them by
name, only by whether the key is 32 bytes long.
Variants§
None
/StrF /Identity — payloads pass through untouched.
Rc4
RC4, for /V 1..4 without an AES crypt-filter method.
Aes
AES-CBC, for /CFM /AESV2 or /CFM /AESV3.
Trait Implementations§
impl Copy for Cipher
impl Eq for Cipher
impl StructuralPartialEq for Cipher
Auto Trait Implementations§
impl Freeze for Cipher
impl RefUnwindSafe for Cipher
impl Send for Cipher
impl Sync for Cipher
impl Unpin for Cipher
impl UnsafeUnpin for Cipher
impl UnwindSafe for Cipher
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more