Skip to main content

pkcs1v15_sign

Function pkcs1v15_sign 

Source
pub fn pkcs1v15_sign(
    sk: &RsaSecretKey,
    hash: &[u8],
    hash_alg: HashAlg,
) -> Vec<u8> 
Expand description

PKCS#1 v1.5 signature generation.

Signs the pre-computed hash (of hash_alg type) with sk.