Struct cryptographic_message_syntax::asn1::rfc5652::DigestedData
source · pub struct DigestedData {
pub version: CmsVersion,
pub digest_algorithm: DigestAlgorithmIdentifier,
pub content_type: EncapsulatedContentInfo,
pub digest: Digest,
}
Expand description
Digested data.
DigestedData ::= SEQUENCE {
version CMSVersion,
digestAlgorithm DigestAlgorithmIdentifier,
encapContentInfo EncapsulatedContentInfo,
digest Digest }
Fields§
§version: CmsVersion
§digest_algorithm: DigestAlgorithmIdentifier
§content_type: EncapsulatedContentInfo
§digest: Digest
Trait Implementations§
source§impl Clone for DigestedData
impl Clone for DigestedData
source§fn clone(&self) -> DigestedData
fn clone(&self) -> DigestedData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DigestedData
impl Debug for DigestedData
source§impl PartialEq for DigestedData
impl PartialEq for DigestedData
source§fn eq(&self, other: &DigestedData) -> bool
fn eq(&self, other: &DigestedData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DigestedData
impl StructuralEq for DigestedData
impl StructuralPartialEq for DigestedData
Auto Trait Implementations§
impl RefUnwindSafe for DigestedData
impl Send for DigestedData
impl Sync for DigestedData
impl Unpin for DigestedData
impl UnwindSafe for DigestedData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.