pub enum PubSecSubFilter {
Pkcs7S3,
Pkcs7S4,
Pkcs7S5V4 {
aes: bool,
},
Pkcs7S5V5,
}Expand description
Identifies the public-key SubFilter the encryption dictionary
declares. Maps to the symmetric algorithm + key length the
resulting StandardHandler will use for per-object encryption.
Variants§
Pkcs7S3
adbe.pkcs7.s3 — RC4-40, V=1.
Pkcs7S4
adbe.pkcs7.s4 — RC4-128, V=2.
Pkcs7S5V4
adbe.pkcs7.s5 with V=4 — RC4-128 or AES-128 via crypt-filter CFM.
Pkcs7S5V5
adbe.pkcs7.s5 with V=5 — AES-256, CFM=AESV3.
Trait Implementations§
Source§impl Clone for PubSecSubFilter
impl Clone for PubSecSubFilter
Source§fn clone(&self) -> PubSecSubFilter
fn clone(&self) -> PubSecSubFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PubSecSubFilter
Source§impl Debug for PubSecSubFilter
impl Debug for PubSecSubFilter
impl Eq for PubSecSubFilter
Source§impl PartialEq for PubSecSubFilter
impl PartialEq for PubSecSubFilter
Source§fn eq(&self, other: &PubSecSubFilter) -> bool
fn eq(&self, other: &PubSecSubFilter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PubSecSubFilter
Auto Trait Implementations§
impl Freeze for PubSecSubFilter
impl RefUnwindSafe for PubSecSubFilter
impl Send for PubSecSubFilter
impl Sync for PubSecSubFilter
impl Unpin for PubSecSubFilter
impl UnsafeUnpin for PubSecSubFilter
impl UnwindSafe for PubSecSubFilter
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