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.
Creates a new MDC packet for the data hashed into
hash Hash context.
Creates an MDC packet containing the hash value
Gets the packet's hash value.
pub fn computed_hash(&self) -> &[u8][src]
Gets the computed hash value.
MDC struct to a
Returns whether the data protected by the MDC is valid.
Writes a serialized version of the specified
Serializes the packet to a vector.
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from
source. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
Feeds a slice of this type into the given [
Hasher]. Read more
type Error = Infallible
The type returned in the event of a conversion error.