[][src]Function nettle::rsa::verify_pss

pub fn verify_pss<H: PssHash>(
    public: &PublicKey,
    salt_len: usize,
    hash: &mut H,
    signature: &[u8]
) -> Result<bool>

Verifies signature of the data hashed by hash using a salt of salt_len bytes and the key public. Returns true if the signature is valid.

Expects the message to be PSS encoded.