Trait nettle::rsa::Pkcs1Hash

source ·
pub trait Pkcs1Hash: Hash {
    // Required method
    fn oid(&self) -> &'static [u8] ;
}
Expand description

Marker trait for hash algorithms usable for PKCS#1 signatures.

Required Methods§

source

fn oid(&self) -> &'static [u8]

Internal to sign_pkcs1 and verify_pkcs1.

Implementors§