Struct sequoia_openpgp::packet::MDC
source · pub struct MDC { /* private fields */ }
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§
Trait Implementations§
source§impl Any<MDC> for Packet
impl Any<MDC> for Packet
source§impl IntoIterator for MDC
impl IntoIterator for MDC
Implement IntoIterator
so that
cert::insert_packets(sig)
just works.
source§impl MarshalInto for MDC
impl MarshalInto for MDC
source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Computes the maximal length of the serialized representation. Read more
source§fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
Serializes into the given buffer. Read more