Struct cryptographic_message_syntax::asn1::rfc3281::ObjectDigestInfo
source · [−]pub struct ObjectDigestInfo {
pub digested_object_type: DigestedObjectType,
pub other_object_type_id: Oid,
pub digest_algorithm: AlgorithmIdentifier,
pub object_digest: BitString,
}Expand description
Object digest info.
ObjectDigestInfo ::= SEQUENCE {
digestedObjectType ENUMERATED {
publicKey (0),
publicKeyCert (1),
otherObjectTypes (2) },
-- otherObjectTypes MUST NOT
-- be used in this profile
otherObjectTypeID OBJECT IDENTIFIER OPTIONAL,
digestAlgorithm AlgorithmIdentifier,
objectDigest BIT STRINGFields
digested_object_type: DigestedObjectTypeother_object_type_id: Oiddigest_algorithm: AlgorithmIdentifierobject_digest: BitStringTrait Implementations
sourceimpl Clone for ObjectDigestInfo
impl Clone for ObjectDigestInfo
sourcefn clone(&self) -> ObjectDigestInfo
fn clone(&self) -> ObjectDigestInfo
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 ObjectDigestInfo
impl Debug for ObjectDigestInfo
sourceimpl PartialEq<ObjectDigestInfo> for ObjectDigestInfo
impl PartialEq<ObjectDigestInfo> for ObjectDigestInfo
sourcefn eq(&self, other: &ObjectDigestInfo) -> bool
fn eq(&self, other: &ObjectDigestInfo) -> bool
impl Eq for ObjectDigestInfo
impl StructuralEq for ObjectDigestInfo
impl StructuralPartialEq for ObjectDigestInfo
Auto Trait Implementations
impl RefUnwindSafe for ObjectDigestInfo
impl Send for ObjectDigestInfo
impl Sync for ObjectDigestInfo
impl Unpin for ObjectDigestInfo
impl UnwindSafe for ObjectDigestInfo
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.