pub enum DataEncryptionAlgorithm {
Aes128Cbc,
Aes256Cbc,
Aes128Gcm,
Aes256Gcm,
}Expand description
Supported content-encryption algorithms.
Variants§
Aes128Cbc
AES-128 in CBC mode with XMLEnc padding.
Aes256Cbc
AES-256 in CBC mode with XMLEnc padding.
Aes128Gcm
AES-128 in GCM mode.
Aes256Gcm
AES-256 in GCM mode.
Implementations§
Trait Implementations§
Source§impl Clone for DataEncryptionAlgorithm
impl Clone for DataEncryptionAlgorithm
Source§fn clone(&self) -> DataEncryptionAlgorithm
fn clone(&self) -> DataEncryptionAlgorithm
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 DataEncryptionAlgorithm
Source§impl Debug for DataEncryptionAlgorithm
impl Debug for DataEncryptionAlgorithm
Source§impl Display for DataEncryptionAlgorithm
impl Display for DataEncryptionAlgorithm
impl Eq for DataEncryptionAlgorithm
Source§impl Hash for DataEncryptionAlgorithm
impl Hash for DataEncryptionAlgorithm
Source§impl PartialEq for DataEncryptionAlgorithm
impl PartialEq for DataEncryptionAlgorithm
impl StructuralPartialEq for DataEncryptionAlgorithm
Auto Trait Implementations§
impl Freeze for DataEncryptionAlgorithm
impl RefUnwindSafe for DataEncryptionAlgorithm
impl Send for DataEncryptionAlgorithm
impl Sync for DataEncryptionAlgorithm
impl Unpin for DataEncryptionAlgorithm
impl UnsafeUnpin for DataEncryptionAlgorithm
impl UnwindSafe for DataEncryptionAlgorithm
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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