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 STRING
Fields§
§digested_object_type: DigestedObjectType
§other_object_type_id: Oid
§digest_algorithm: AlgorithmIdentifier
§object_digest: BitString
Trait Implementations§
source§impl Clone for ObjectDigestInfo
impl Clone for ObjectDigestInfo
source§fn clone(&self) -> ObjectDigestInfo
fn clone(&self) -> ObjectDigestInfo
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 ObjectDigestInfo
impl Debug for ObjectDigestInfo
source§impl PartialEq for ObjectDigestInfo
impl PartialEq for ObjectDigestInfo
source§fn eq(&self, other: &ObjectDigestInfo) -> bool
fn eq(&self, other: &ObjectDigestInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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.