pub struct KeyType { /* private fields */ }
Expand description
Key type
Implementations§
source§impl KeyType
impl KeyType
sourcepub const GENERIC_SECRET: KeyType = _
pub const GENERIC_SECRET: KeyType = _
Generic Secret (hmac) key
sourcepub const DES3: KeyType = _
pub const DES3: KeyType = _
DES3 secret Note that DES3 is deprecated. See https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar2.pdf section 2, p. 6.
sourcepub const SHA_1_HMAC: KeyType = _
pub const SHA_1_HMAC: KeyType = _
SHA1 HMAC key
sourcepub const RIPEMD128_HMAC: KeyType = _
pub const RIPEMD128_HMAC: KeyType = _
RIPEMD128 HMAC key
sourcepub const RIPEMD160_HMAC: KeyType = _
pub const RIPEMD160_HMAC: KeyType = _
RIPEMD160 HMAC key
sourcepub const SHA256_HMAC: KeyType = _
pub const SHA256_HMAC: KeyType = _
SHA256 HMAC key
sourcepub const SHA384_HMAC: KeyType = _
pub const SHA384_HMAC: KeyType = _
SHA384 HMAC key
sourcepub const SHA512_HMAC: KeyType = _
pub const SHA512_HMAC: KeyType = _
SHA512 HMAC key
sourcepub const SHA224_HMAC: KeyType = _
pub const SHA224_HMAC: KeyType = _
SHA224 HMAC key
sourcepub const EC_EDWARDS: KeyType = _
pub const EC_EDWARDS: KeyType = _
EC edwards key
sourcepub const EC_MONTGOMERY: KeyType = _
pub const EC_MONTGOMERY: KeyType = _
EC montgomery key
Trait Implementations§
source§impl From<KeyType> for CK_KEY_TYPE
impl From<KeyType> for CK_KEY_TYPE
source§impl PartialEq for KeyType
impl PartialEq for KeyType
impl Copy for KeyType
impl Eq for KeyType
impl StructuralPartialEq for KeyType
Auto Trait Implementations§
impl Freeze for KeyType
impl RefUnwindSafe for KeyType
impl Send for KeyType
impl Sync for KeyType
impl Unpin for KeyType
impl UnwindSafe for KeyType
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