Enum pgp::types::SecretKeyRepr
source · pub enum SecretKeyRepr {
RSA(RsaPrivateKey),
DSA(DSASecretKey),
ECDSA(ECDSASecretKey),
ECDH(ECDHSecretKey),
EdDSA(EdDSASecretKey),
}
Expand description
The version of the secret key that is actually exposed to users to do crypto operations.
Variants§
RSA(RsaPrivateKey)
DSA(DSASecretKey)
ECDSA(ECDSASecretKey)
ECDH(ECDHSecretKey)
EdDSA(EdDSASecretKey)
Trait Implementations§
source§impl Debug for SecretKeyRepr
impl Debug for SecretKeyRepr
Auto Trait Implementations§
impl Freeze for SecretKeyRepr
impl RefUnwindSafe for SecretKeyRepr
impl Send for SecretKeyRepr
impl Sync for SecretKeyRepr
impl Unpin for SecretKeyRepr
impl UnwindSafe for SecretKeyRepr
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