[−][src]Function nettle::rsa::verify_pkcs1
pub fn verify_pkcs1<H: Hash + Pkcs1Hash>(
public: &PublicKey,
hash: &mut H,
signature: &[u8]
) -> Result<bool>
Verifies signature
of the data hashed by hash
using public
. Returns true
if the
signature is valid.
The signature is expected to be padded using EMSA-PKCS1-v1_5
.