pub enum Pkcs12KdfId {
Key = 1,
Iv = 2,
Mac = 3,
}Expand description
Output type selector for the PKCS#12 (RFC 7292 Appendix B) KDF.
The id byte controls which key component the KDF derives from the passphrase.
Variants§
Key = 1
Derive cipher key bytes (id = 1).
Iv = 2
Derive cipher IV bytes (id = 2).
Mac = 3
Derive MAC key bytes (id = 3).
Trait Implementations§
Source§impl Clone for Pkcs12KdfId
impl Clone for Pkcs12KdfId
Source§fn clone(&self) -> Pkcs12KdfId
fn clone(&self) -> Pkcs12KdfId
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 Pkcs12KdfId
impl Debug for Pkcs12KdfId
Source§impl PartialEq for Pkcs12KdfId
impl PartialEq for Pkcs12KdfId
impl Copy for Pkcs12KdfId
impl Eq for Pkcs12KdfId
impl StructuralPartialEq for Pkcs12KdfId
Auto Trait Implementations§
impl Freeze for Pkcs12KdfId
impl RefUnwindSafe for Pkcs12KdfId
impl Send for Pkcs12KdfId
impl Sync for Pkcs12KdfId
impl Unpin for Pkcs12KdfId
impl UnsafeUnpin for Pkcs12KdfId
impl UnwindSafe for Pkcs12KdfId
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