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
SignatureCreationTime(DateTime<Utc>)
The time the signature was made.
SignatureExpirationTime(DateTime<Utc>)
The time the signature will expire.
KeyExpirationTime(DateTime<Utc>)
When the key is going to expire
Issuer(KeyId)
The OpenPGP Key ID of the key issuing the signature.
PreferredSymmetricAlgorithms(SmallVec<[SymmetricKeyAlgorithm; 8]>)
List of symmetric algorithms that indicate which algorithms the key holder prefers to use.
PreferredHashAlgorithms(SmallVec<[HashAlgorithm; 8]>)
List of hash algorithms that indicate which algorithms the key holder prefers to use.
PreferredCompressionAlgorithms(SmallVec<[CompressionAlgorithm; 8]>)
List of compression algorithms that indicate which algorithms the key holder prefers to use.
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>)
Implementations
sourceimpl Subpacket
impl Subpacket
pub fn typ(&self) -> SubpacketType
Trait Implementations
impl Eq for Subpacket
impl StructuralEq for Subpacket
impl StructuralPartialEq for Subpacket
Auto Trait Implementations
impl RefUnwindSafe for Subpacket
impl Send for Subpacket
impl Sync for Subpacket
impl Unpin for Subpacket
impl UnwindSafe for Subpacket
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more