[][src]Function nettle::rsa::sign_digest_pkcs1

pub fn sign_digest_pkcs1<R: Random>(
    public: &PublicKey,
    private: &PrivateKey,
    digest: &[u8],
    digest_info: &[u8],
    random: &mut R,
    signature: &mut [u8]
) -> Result<()>

Creates a PKCS#1.5 padded RSA signature for digest_info || digest.