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 for DigestInfo
impl PartialEq for DigestInfo
Source§impl Serialize for DigestInfo
impl Serialize for DigestInfo
impl Eq for DigestInfo
impl StructuralPartialEq for DigestInfo
Auto Trait Implementations§
impl Freeze for DigestInfo
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