[][src]Function pgp::crypto::rsa::sign

pub fn sign(
    key: &RSAPrivateKey,
    hash: HashAlgorithm,
    digest: &[u8]
) -> Result<Vec<Vec<u8>>>

Sign using RSA, with PKCS1v15 padding.