[][src]Enum pgp::crypto::public_key::PublicKeyAlgorithm

#[repr(u8)]
pub enum PublicKeyAlgorithm {
    RSA,
    RSAEncrypt,
    RSASign,
    ElgamalSign,
    DSA,
    ECDH,
    ECDSA,
    Elgamal,
    DiffieHellman,
    EdDSA,
    Private100,
    Private101,
    Private102,
    Private103,
    Private104,
    Private105,
    Private106,
    Private107,
    Private108,
    Private109,
    Private110,
}

Variants

RSA

RSA (Encrypt and Sign)

RSAEncrypt

DEPRECATED: RSA (Encrypt-Only)

RSASign

DEPRECATED: RSA (Sign-Only)

ElgamalSign

Elgamal (Sign-Only)

DSA

DSA (Digital Signature Algorithm)

ECDH

Elliptic Curve: RFC-6637

ECDSA

ECDSA: RFC-6637

Elgamal

DEPRECATED: Elgamal (Encrypt and Sign)

DiffieHellman

Reserved for Diffie-Hellman (X9.42, as defined for IETF-S/MIME)

EdDSA

EdDSA (not yet assigned)

Private100

Private experimental range (from OpenGPG)

Private101
Private102
Private103
Private104
Private105
Private106
Private107
Private108
Private109
Private110

Trait Implementations

impl Clone for PublicKeyAlgorithm[src]

impl Copy for PublicKeyAlgorithm[src]

impl Eq for PublicKeyAlgorithm[src]

impl PartialEq<PublicKeyAlgorithm> for PublicKeyAlgorithm[src]

impl Debug for PublicKeyAlgorithm[src]

impl StructuralPartialEq for PublicKeyAlgorithm[src]

impl StructuralEq for PublicKeyAlgorithm[src]

impl FromPrimitive for PublicKeyAlgorithm[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Err = <U as TryFrom<T>>::Err