Struct sequoia_openpgp::packet::MDC [−][src]
pub struct MDC { /* fields omitted */ }
Expand description
Holds an MDC packet.
A modification detection code packet. This packet appears after a SEIP packet. See Section 5.14 of RFC 4880 for details.
A note on equality
Two MDC
packets are considered equal if their serialized form is
equal. This excludes the computed digest.
Implementations
Gets the packet’s hash value.
Gets the computed hash value.
Trait Implementations
Implement IntoIterator
so that
cert::insert_packets(sig)
just works.
Reads from the given reader.
Auto Trait Implementations
impl RefUnwindSafe for MDC
impl UnwindSafe for MDC
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self