pub enum CryptMethod {
Identity,
V2,
AesV2,
AesV3,
}Expand description
Which crypt filter method applies to a given piece of ciphertext.
V=1/2 documents always use CryptMethod::V2 (RC4) for everything.
V=4 documents name a crypt filter per kind (/StmF, /StrF, /EFF);
each may point at /Identity (no encryption), a V2 filter (RC4), or
an AESV2 filter (AES-128-CBC).
V=5 documents name the /AESV3 filter (AES-256-CBC).
Variants§
Trait Implementations§
Source§impl Clone for CryptMethod
impl Clone for CryptMethod
Source§fn clone(&self) -> CryptMethod
fn clone(&self) -> CryptMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CryptMethod
impl Debug for CryptMethod
Source§impl PartialEq for CryptMethod
impl PartialEq for CryptMethod
impl Copy for CryptMethod
impl Eq for CryptMethod
impl StructuralPartialEq for CryptMethod
Auto Trait Implementations§
impl Freeze for CryptMethod
impl RefUnwindSafe for CryptMethod
impl Send for CryptMethod
impl Sync for CryptMethod
impl Unpin for CryptMethod
impl UnsafeUnpin for CryptMethod
impl UnwindSafe for CryptMethod
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