[][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)
Private(u8)
Unknown(u8)

Trait Implementations

impl Arbitrary for SubpacketTag[src]

impl Clone for SubpacketTag[src]

impl Copy for SubpacketTag[src]

impl Debug for SubpacketTag[src]

impl Eq for SubpacketTag[src]

impl From<SubpacketTag> for u8[src]

impl From<u8> for SubpacketTag[src]

impl Hash for SubpacketTag[src]

impl PartialEq<SubpacketTag> for SubpacketTag[src]

impl StructuralEq for SubpacketTag[src]

impl StructuralPartialEq for SubpacketTag[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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 = Infallible

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<V, T> VZip<V> for T where
    V: MultiLane<T>,