Struct cryptographic_message_syntax::asn1::rfc3161::MessageImprint
source · [−]pub struct MessageImprint {
pub hash_algorithm: AlgorithmIdentifier,
pub hashed_message: OctetString,
}Expand description
Message imprint.
MessageImprint ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
hashedMessage OCTET STRING }Fields
hash_algorithm: AlgorithmIdentifierhashed_message: OctetStringImplementations
sourceimpl MessageImprint
impl MessageImprint
pub fn take_from<S: Source>(
cons: &mut Constructed<'_, S>
) -> Result<Self, DecodeError<S::Error>>
pub fn encode_ref(&self) -> impl Values + '_
Trait Implementations
sourceimpl Clone for MessageImprint
impl Clone for MessageImprint
sourcefn clone(&self) -> MessageImprint
fn clone(&self) -> MessageImprint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for MessageImprint
impl Debug for MessageImprint
sourceimpl PartialEq<MessageImprint> for MessageImprint
impl PartialEq<MessageImprint> for MessageImprint
sourcefn eq(&self, other: &MessageImprint) -> bool
fn eq(&self, other: &MessageImprint) -> bool
impl Eq for MessageImprint
impl StructuralEq for MessageImprint
impl StructuralPartialEq for MessageImprint
Auto Trait Implementations
impl RefUnwindSafe for MessageImprint
impl Send for MessageImprint
impl Sync for MessageImprint
impl Unpin for MessageImprint
impl UnwindSafe for MessageImprint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.