pub enum ContentEncryptionAlgorithmAead {
Aes128Gcm,
Aes192Gcm,
Aes256Gcm,
}
Expand description
Content encryption algorithm for AuthEnvelopedData
Variants§
Implementations§
Source§impl ContentEncryptionAlgorithmAead
impl ContentEncryptionAlgorithmAead
Sourcepub fn oid(&self) -> ObjectIdentifier
pub fn oid(&self) -> ObjectIdentifier
Return the OID of the algorithm.
Trait Implementations§
Source§impl Clone for ContentEncryptionAlgorithmAead
impl Clone for ContentEncryptionAlgorithmAead
Source§fn clone(&self) -> ContentEncryptionAlgorithmAead
fn clone(&self) -> ContentEncryptionAlgorithmAead
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 PartialEq for ContentEncryptionAlgorithmAead
impl PartialEq for ContentEncryptionAlgorithmAead
Source§fn eq(&self, other: &ContentEncryptionAlgorithmAead) -> bool
fn eq(&self, other: &ContentEncryptionAlgorithmAead) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ContentEncryptionAlgorithmAead
impl StructuralPartialEq for ContentEncryptionAlgorithmAead
Auto Trait Implementations§
impl Freeze for ContentEncryptionAlgorithmAead
impl RefUnwindSafe for ContentEncryptionAlgorithmAead
impl Send for ContentEncryptionAlgorithmAead
impl Sync for ContentEncryptionAlgorithmAead
impl Unpin for ContentEncryptionAlgorithmAead
impl UnwindSafe for ContentEncryptionAlgorithmAead
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