pub enum KeyWrapAlgorithm {
AesKw128,
AesKw256,
}Expand description
Supported symmetric key-wrap algorithms.
Variants§
AesKw128
RFC 3394 AES key wrap with a 128-bit KEK.
AesKw256
RFC 3394 AES key wrap with a 256-bit KEK.
Implementations§
Trait Implementations§
Source§impl Clone for KeyWrapAlgorithm
impl Clone for KeyWrapAlgorithm
Source§fn clone(&self) -> KeyWrapAlgorithm
fn clone(&self) -> KeyWrapAlgorithm
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 KeyWrapAlgorithm
Source§impl Debug for KeyWrapAlgorithm
impl Debug for KeyWrapAlgorithm
impl Eq for KeyWrapAlgorithm
Source§impl Hash for KeyWrapAlgorithm
impl Hash for KeyWrapAlgorithm
Source§impl PartialEq for KeyWrapAlgorithm
impl PartialEq for KeyWrapAlgorithm
impl StructuralPartialEq for KeyWrapAlgorithm
Auto Trait Implementations§
impl Freeze for KeyWrapAlgorithm
impl RefUnwindSafe for KeyWrapAlgorithm
impl Send for KeyWrapAlgorithm
impl Sync for KeyWrapAlgorithm
impl Unpin for KeyWrapAlgorithm
impl UnsafeUnpin for KeyWrapAlgorithm
impl UnwindSafe for KeyWrapAlgorithm
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