[][src]Enum sequoia_openpgp::packet::signature::subpacket::SubpacketTag

pub enum SubpacketTag {
    SignatureCreationTime,
    SignatureExpirationTime,
    ExportableCertification,
    TrustSignature,
    RegularExpression,
    Revocable,
    KeyExpirationTime,
    PlaceholderForBackwardCompatibility,
    PreferredSymmetricAlgorithms,
    RevocationKey,
    Issuer,
    NotationData,
    PreferredHashAlgorithms,
    PreferredCompressionAlgorithms,
    KeyServerPreferences,
    PreferredKeyServer,
    PrimaryUserID,
    PolicyURI,
    KeyFlags,
    SignersUserID,
    ReasonForRevocation,
    Features,
    SignatureTarget,
    EmbeddedSignature,
    IssuerFingerprint,
    PreferredAEADAlgorithms,
    IntendedRecipient,
    Reserved(u8),
    Private(u8),
    Unknown(u8),
}

The subpacket types specified by Section 5.2.3.1 of RFC 4880.

Variants

SignatureCreationTime

The time the signature was made.

SignatureExpirationTime

The validity period of the signature.

ExportableCertification

This subpacket denotes whether a certification signature is "exportable", to be used by other users than the signature's issuer.

TrustSignature

Signer asserts that the key is not only valid but also trustworthy at the specified level.

RegularExpression

Used in conjunction with trust Signature packets (of level > 0) to limit the scope of trust that is extended.

Revocable

Signature's revocability status.

KeyExpirationTime

The validity period of the key.

PlaceholderForBackwardCompatibility

Deprecated

PreferredSymmetricAlgorithms

Symmetric algorithm numbers that indicate which algorithms the key holder prefers to use.

RevocationKey

Authorizes the specified key to issue revocation signatures for this key.

Issuer

The OpenPGP Key ID of the key issuing the signature.

NotationData

This subpacket describes a "notation" on the signature that the issuer wishes to make.

PreferredHashAlgorithms

Message digest algorithm numbers that indicate which algorithms the key holder prefers to receive.

PreferredCompressionAlgorithms

Compression algorithm numbers that indicate which algorithms the key holder prefers to use.

KeyServerPreferences

This is a list of one-bit flags that indicate preferences that the key holder has about how the key is handled on a key server.

PreferredKeyServer

This is a URI of a key server that the key holder prefers be used for updates.

PrimaryUserID

This is a flag in a User ID's self-signature that states whether this User ID is the main User ID for this key.

PolicyURI

This subpacket contains a URI of a document that describes the policy under which the signature was issued.

KeyFlags

This subpacket contains a list of binary flags that hold information about a key.

SignersUserID

This subpacket allows a keyholder to state which User ID is responsible for the signing.

ReasonForRevocation

This subpacket is used only in key revocation and certification revocation signatures.

Features

The Features subpacket denotes which advanced OpenPGP features a user's implementation supports.

SignatureTarget

This subpacket identifies a specific target signature to which a signature refers.

EmbeddedSignature

This subpacket contains a complete Signature packet body

IssuerFingerprint

Added in RFC 4880bis.

PreferredAEADAlgorithms

Preferred AEAD Algorithms.

IntendedRecipient

Intended Recipient Fingerprint [proposed].

Reserved(u8)

Reserved subpacket tag.

Private(u8)

Private subpacket tag.

Unknown(u8)

Unknown subpacket tag.

Trait Implementations

impl From<u8> for SubpacketTag[src]

impl From<SubpacketTag> for u8[src]

impl Eq for SubpacketTag[src]

impl Copy for SubpacketTag[src]

impl PartialEq<SubpacketTag> for SubpacketTag[src]

impl Clone for SubpacketTag[src]

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

Performs copy-assignment from source. Read more

impl Display for SubpacketTag[src]

impl Hash for SubpacketTag[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 SubpacketTag[src]

impl Arbitrary for SubpacketTag[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.

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