Struct cryptographic_message_syntax::asn1::rfc3281::ObjectDigestInfo [−][src]
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
