Enum pgp::types::SecretKeyRepr
source · [−]pub enum SecretKeyRepr {
RSA(RsaPrivateKey),
DSA(DSASecretKey),
ECDSA,
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
ECDH(ECDHSecretKey)
EdDSA(EdDSASecretKey)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SecretKeyRepr
impl Send for SecretKeyRepr
impl Sync for SecretKeyRepr
impl Unpin for SecretKeyRepr
impl UnwindSafe for SecretKeyRepr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more