Struct pgp::packet::OnePassSignature [−][src]
pub struct OnePassSignature { /* fields omitted */ }
Expand description
One-Pass Signature Packet https://tools.ietf.org/html/rfc4880.html#section-5.4
Implementations
Parses a OnePassSignature
packet from the given slice.
pub fn from_details(
typ: SignatureType,
hash_algorithm: HashAlgorithm,
pub_algorithm: PublicKeyAlgorithm,
key_id: KeyId
) -> Self
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OnePassSignature
impl Send for OnePassSignature
impl Sync for OnePassSignature
impl Unpin for OnePassSignature
impl UnwindSafe for OnePassSignature
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self