Trait nettle::rsa::Pkcs1Hash[][src]

pub trait Pkcs1Hash: Hash {
    fn oid(&self) -> &'static [u8];
}

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

Required methods

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

Internal to sign_pkcs1 and verify_pkcs1.

Loading content...

Implementors

Loading content...