Enum pgp::crypto::public_key::PublicKeyAlgorithm [−][src]
#[repr(u8)]
pub enum PublicKeyAlgorithm {
Show 21 variants
RSA,
RSAEncrypt,
RSASign,
ElgamalSign,
DSA,
ECDH,
ECDSA,
Elgamal,
DiffieHellman,
EdDSA,
Private100,
Private101,
Private102,
Private103,
Private104,
Private105,
Private106,
Private107,
Private108,
Private109,
Private110,
}
Variants
RSA (Encrypt and Sign)
DEPRECATED: RSA (Encrypt-Only)
DEPRECATED: RSA (Sign-Only)
Elgamal (Sign-Only)
DSA (Digital Signature Algorithm)
Elliptic Curve: RFC-6637
ECDSA: RFC-6637
DEPRECATED: Elgamal (Encrypt and Sign)
Reserved for Diffie-Hellman (X9.42, as defined for IETF-S/MIME)
EdDSA (not yet assigned)
Private experimental range (from OpenGPG)
Trait Implementations
Converts an i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a f32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Auto Trait Implementations
impl RefUnwindSafe for PublicKeyAlgorithm
impl Send for PublicKeyAlgorithm
impl Sync for PublicKeyAlgorithm
impl Unpin for PublicKeyAlgorithm
impl UnwindSafe for PublicKeyAlgorithm
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self