[−][src]Enum pgp::packet::types::Subpacket
Variants
The time the signature was made.
The time the signature will expire.
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.
RevocationReason(RevocationCode, String)
IsPrimary(bool)
Revocable(bool)
PreferredKeyServer(String)
Notation(Notation)
RevocationKey(RevocationKey)
SignersUserID(String)
PolicyURI(String)
RegularExpression(String)
ExportableCertification(bool)
IssuerFingerprint(KeyVersion, SmallVec<[u8; 20]>)
PreferredAeadAlgorithms(SmallVec<[AeadAlgorithm; 2]>)
SignatureTarget(PublicKeyAlgorithm, HashAlgorithm, Vec<u8>)
Methods
impl Subpacket
[src]
pub fn typ(&self) -> SubpacketType
[src]
Trait Implementations
impl Serialize for Subpacket
[src]
fn to_writer<W: Write>(&self, writer: &mut W) -> Result<()>
[src]
fn to_bytes(&self) -> Result<Vec<u8>>
[src]
impl Clone for Subpacket
[src]
impl Eq for Subpacket
[src]
impl PartialEq<Subpacket> for Subpacket
[src]
impl Debug for Subpacket
[src]
impl StructuralPartialEq for Subpacket
[src]
impl StructuralEq for Subpacket
[src]
Auto Trait Implementations
impl Send for Subpacket
impl Sync for Subpacket
impl Unpin for Subpacket
impl UnwindSafe for Subpacket
impl RefUnwindSafe for Subpacket
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,