pub enum KeyType {
NONE,
RSA,
ECKEY,
ECKEY_DH,
ECDSA,
RSA_ALT,
RSASSA_PSS,
UNKNOWN(u32),
}
Expand description
Public key scheme
Variants§
NONE
Unknown scheme
RSA
RSA Scheme
ECKEY
Elliptic-curve scheme
ECKEY_DH
Elliptic-curve Diffie-Hellman
ECDSA
Elliptic-curve Digital Signature Algorithm
RSA_ALT
RSA scheme with an alternative implementation for signing and decrypting
RSASSA_PSS
RSA Probabilistic signature scheme
UNKNOWN(u32)
Trait Implementations§
impl Copy for KeyType
impl Eq for KeyType
impl StructuralEq for KeyType
impl StructuralPartialEq for KeyType
Auto Trait Implementations§
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