pub enum DigestAlgorithm<'a> {
Identifier(&'a AlgorithmIdentifier<'a>),
Sha1,
}Expand description
The digest’s normative source, without reconstructing an identifier.
Variants§
Identifier(&'a AlgorithmIdentifier<'a>)
Hash algorithm encoded in the original CertID, including parameters.
Sha1
SHA-1 imposed by the ResponderID byKey syntax, not a signature choice.
Trait Implementations§
Source§impl<'a> Clone for DigestAlgorithm<'a>
impl<'a> Clone for DigestAlgorithm<'a>
impl<'a> Copy for DigestAlgorithm<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DigestAlgorithm<'a>
impl<'a> !Send for DigestAlgorithm<'a>
impl<'a> !Sync for DigestAlgorithm<'a>
impl<'a> !UnwindSafe for DigestAlgorithm<'a>
impl<'a> Freeze for DigestAlgorithm<'a>
impl<'a> Unpin for DigestAlgorithm<'a>
impl<'a> UnsafeUnpin for DigestAlgorithm<'a>
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