pub enum SymmetricKeyKind {
Hmac,
Aes,
Camellia,
ChaCha20,
Des,
}Expand description
The secret-key family declared by an xmlsec key store.
Variants§
Hmac
HMAC signing and verification key.
Aes
AES content-encryption key.
Camellia
Camellia content-encryption or wrapping key.
ChaCha20
ChaCha20 and ChaCha20-Poly1305 256-bit key material.
Des
Three-key TDEA key, available with legacy-algorithms.
Implementations§
Source§impl SymmetricKeyKind
impl SymmetricKeyKind
Sourcepub fn is_encryption_key(self) -> bool
pub fn is_encryption_key(self) -> bool
Whether the compiled mechanism supports this content-key family.
Trait Implementations§
Source§impl Clone for SymmetricKeyKind
impl Clone for SymmetricKeyKind
impl Copy for SymmetricKeyKind
Source§impl Debug for SymmetricKeyKind
impl Debug for SymmetricKeyKind
impl Eq for SymmetricKeyKind
Source§impl PartialEq for SymmetricKeyKind
impl PartialEq for SymmetricKeyKind
impl StructuralPartialEq for SymmetricKeyKind
Auto Trait Implementations§
impl Freeze for SymmetricKeyKind
impl RefUnwindSafe for SymmetricKeyKind
impl Send for SymmetricKeyKind
impl Sync for SymmetricKeyKind
impl Unpin for SymmetricKeyKind
impl UnsafeUnpin for SymmetricKeyKind
impl UnwindSafe for SymmetricKeyKind
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