Struct picky_asn1_x509::algorithm_identifier::DigestInfo
source · pub struct DigestInfo {
pub oid: AlgorithmIdentifier,
pub digest: OctetStringAsn1,
}
Expand description
PKCS #1: RSA Cryptography Specifications Version 2.2
Section 9.2
The type DigestInfo has the syntax:
DigestInfo ::= SEQUENCE {
digestAlgorithm AlgorithmIdentifier,
digest OCTET STRING
}
Fields§
§oid: AlgorithmIdentifier
§digest: OctetStringAsn1
Trait Implementations§
source§impl Clone for DigestInfo
impl Clone for DigestInfo
source§fn clone(&self) -> DigestInfo
fn clone(&self) -> DigestInfo
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 DigestInfo
impl Debug for DigestInfo
source§impl<'de> Deserialize<'de> for DigestInfo
impl<'de> Deserialize<'de> for DigestInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<DigestInfo> for DigestInfo
impl PartialEq<DigestInfo> for DigestInfo
source§fn eq(&self, other: &DigestInfo) -> bool
fn eq(&self, other: &DigestInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DigestInfo
impl Serialize for DigestInfo
impl Eq for DigestInfo
impl StructuralEq for DigestInfo
impl StructuralPartialEq for DigestInfo
Auto Trait Implementations§
impl RefUnwindSafe for DigestInfo
impl Send for DigestInfo
impl Sync for DigestInfo
impl Unpin for DigestInfo
impl UnwindSafe for DigestInfo
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