Enum cms::builder::ContentEncryptionAlgorithm
source · pub enum ContentEncryptionAlgorithm {
Aes128Cbc,
Aes192Cbc,
Aes256Cbc,
}
Available on crate feature
builder
only.Expand description
Supported content encryption algorithms.
Variants§
Implementations§
source§impl ContentEncryptionAlgorithm
impl ContentEncryptionAlgorithm
sourcepub fn oid(&self) -> ObjectIdentifier
pub fn oid(&self) -> ObjectIdentifier
Return the OID of the algorithm.
Trait Implementations§
source§impl Clone for ContentEncryptionAlgorithm
impl Clone for ContentEncryptionAlgorithm
source§fn clone(&self) -> ContentEncryptionAlgorithm
fn clone(&self) -> ContentEncryptionAlgorithm
Returns a copy 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 ContentEncryptionAlgorithm
impl Debug for ContentEncryptionAlgorithm
source§impl PartialEq for ContentEncryptionAlgorithm
impl PartialEq for ContentEncryptionAlgorithm
source§fn eq(&self, other: &ContentEncryptionAlgorithm) -> bool
fn eq(&self, other: &ContentEncryptionAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ContentEncryptionAlgorithm
impl StructuralEq for ContentEncryptionAlgorithm
impl StructuralPartialEq for ContentEncryptionAlgorithm
Auto Trait Implementations§
impl RefUnwindSafe for ContentEncryptionAlgorithm
impl Send for ContentEncryptionAlgorithm
impl Sync for ContentEncryptionAlgorithm
impl Unpin for ContentEncryptionAlgorithm
impl UnwindSafe for ContentEncryptionAlgorithm
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