Trait nettle::rsa::Pkcs1Hash [−][src]
pub trait Pkcs1Hash: Hash { fn oid(&self) -> &'static [u8]; }
Expand description
Marker trait for hash algorithms usable for PKCS#1 signatures.
Required methods
fn oid(&self) -> &'static [u8]
[src]
fn oid(&self) -> &'static [u8]
[src]Internal to sign_pkcs1
and verify_pkcs1
.