[][src]Enum sequoia_openpgp::constants::SignatureType

pub enum SignatureType {
    Binary,
    Text,
    Standalone,
    GenericCertificate,
    PersonaCertificate,
    CasualCertificate,
    PositiveCertificate,
    SubkeyBinding,
    PrimaryKeyBinding,
    DirectKey,
    KeyRevocation,
    SubkeyRevocation,
    CertificateRevocation,
    Timestamp,
    Confirmation,
    Unknown(u8),
}

Signature type as defined in Section 5.2.1 of RFC 4880.

Variants

Binary

Signature over a binary document.

Text

Signature over a canonical text document.

Standalone

Standalone signature.

GenericCertificate

Generic certification of a User ID and Public-Key packet.

PersonaCertificate

Persona certification of a User ID and Public-Key packet.

CasualCertificate

Casual certification of a User ID and Public-Key packet.

PositiveCertificate

Positive certification of a User ID and Public-Key packet.

SubkeyBinding

Subkey Binding Signature

PrimaryKeyBinding

Primary Key Binding Signature

DirectKey

Signature directly on a key

KeyRevocation

Key revocation signature

SubkeyRevocation

Subkey revocation signature

CertificateRevocation

Certification revocation signature

Timestamp

Timestamp signature.

Confirmation

Third-Party Confirmation signature.

Unknown(u8)

Catchall.

Trait Implementations

impl From<u8> for SignatureType[src]

impl From<SignatureType> for u8[src]

impl Eq for SignatureType[src]

impl Copy for SignatureType[src]

impl PartialEq<SignatureType> for SignatureType[src]

impl Clone for SignatureType[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for SignatureType[src]

impl Hash for SignatureType[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for SignatureType[src]

impl Arbitrary for SignatureType[src]

fn shrink(&self) -> Box<dyn Iterator<Item = Self> + 'static>

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.