Enum pgp::packet::types::Subpacket [−][src]
pub enum Subpacket {
Show 27 variants
SignatureCreationTime(DateTime<Utc>),
SignatureExpirationTime(DateTime<Utc>),
KeyExpirationTime(DateTime<Utc>),
Issuer(KeyId),
PreferredSymmetricAlgorithms(SmallVec<[SymmetricKeyAlgorithm; 8]>),
PreferredHashAlgorithms(SmallVec<[HashAlgorithm; 8]>),
PreferredCompressionAlgorithms(SmallVec<[CompressionAlgorithm; 8]>),
KeyServerPreferences(SmallVec<[u8; 4]>),
KeyFlags(SmallVec<[u8; 1]>),
Features(SmallVec<[u8; 1]>),
RevocationReason(RevocationCode, String),
IsPrimary(bool),
Revocable(bool),
EmbeddedSignature(Box<Signature>),
PreferredKeyServer(String),
Notation(Notation),
RevocationKey(RevocationKey),
SignersUserID(String),
PolicyURI(String),
TrustSignature(u8, u8),
RegularExpression(String),
ExportableCertification(bool),
IssuerFingerprint(KeyVersion, SmallVec<[u8; 20]>),
PreferredAeadAlgorithms(SmallVec<[AeadAlgorithm; 2]>),
Experimental(u8, SmallVec<[u8; 2]>),
Other(u8, Vec<u8>),
SignatureTarget(PublicKeyAlgorithm, HashAlgorithm, Vec<u8>),
}
Variants
The time the signature was made.
The time the signature will expire.
When the key is going to expire
The OpenPGP Key ID of the key issuing the signature.
Tuple Fields of Issuer
0: KeyId
List of symmetric algorithms that indicate which algorithms the key holder prefers to use.
Tuple Fields of PreferredSymmetricAlgorithms
List of hash algorithms that indicate which algorithms the key holder prefers to use.
Tuple Fields of PreferredHashAlgorithms
List of compression algorithms that indicate which algorithms the key holder prefers to use.
Tuple Fields of PreferredCompressionAlgorithms
Tuple Fields of RevocationReason
0: RevocationCode
1: String
Tuple Fields of IsPrimary
0: bool
Tuple Fields of Revocable
0: bool
Tuple Fields of PreferredKeyServer
0: String
Tuple Fields of Notation
0: Notation
Tuple Fields of RevocationKey
Tuple Fields of SignersUserID
0: String
Tuple Fields of PolicyURI
0: String
Tuple Fields of RegularExpression
0: String
Tuple Fields of ExportableCertification
0: bool
Tuple Fields of IssuerFingerprint
0: KeyVersion
1: SmallVec<[u8; 20]>
Tuple Fields of PreferredAeadAlgorithms
Tuple Fields of SignatureTarget
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Subpacket
impl UnwindSafe for Subpacket
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self