Skip to main content

AsnDigest

Trait AsnDigest 

Source
pub trait AsnDigest<'a>: Digest<'a> {
    // Required method
    fn identity(&self, algorithm: Algorithm) -> Option<Self::Identity>;
}
Expand description

A Digest provider’s identities for standard ASN.1 digest algorithms.

Required Methods§

Source

fn identity(&self, algorithm: Algorithm) -> Option<Self::Identity>

This provider’s identity for algorithm, or None when it does not implement it or its policy refuses it. O(1); no work is spent.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§