pub enum Pbes2Algorithm {
PBES2_HS256_A128KW,
PBES2_HS384_A192KW,
PBES2_HS512_A256KW,
}
Expand description
PBES2 with HMAC SHA and AES key-wrapping. RFC7518#4.8
Variants§
PBES2_HS256_A128KW
PBES2 with HMAC SHA-256 and “A128KW” wrapping
PBES2_HS384_A192KW
PBES2 with HMAC SHA-384 and “A192KW” wrapping
PBES2_HS512_A256KW
PBES2 with HMAC SHA-512 and “A256KW” wrapping
Trait Implementations§
Source§impl Clone for Pbes2Algorithm
impl Clone for Pbes2Algorithm
Source§fn clone(&self) -> Pbes2Algorithm
fn clone(&self) -> Pbes2Algorithm
Returns a duplicate 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 Pbes2Algorithm
impl Debug for Pbes2Algorithm
Source§impl From<Pbes2Algorithm> for Algorithm
impl From<Pbes2Algorithm> for Algorithm
Source§fn from(p: Pbes2Algorithm) -> Self
fn from(p: Pbes2Algorithm) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Pbes2Algorithm
impl PartialEq for Pbes2Algorithm
impl Copy for Pbes2Algorithm
impl Eq for Pbes2Algorithm
impl StructuralPartialEq for Pbes2Algorithm
Auto Trait Implementations§
impl Freeze for Pbes2Algorithm
impl RefUnwindSafe for Pbes2Algorithm
impl Send for Pbes2Algorithm
impl Sync for Pbes2Algorithm
impl Unpin for Pbes2Algorithm
impl UnwindSafe for Pbes2Algorithm
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.