[][src]Function nettle::rsa::sign_pss

pub fn sign_pss<H: PssHash, R: Random>(
    public: &PublicKey,
    private: &PrivateKey,
    salt: &[u8],
    hash: &mut H,
    random: &mut R,
    signature: &mut [u8]
) -> Result<()>

Signs the message hashed by hash using salt and the key pair public/private, producing signature. Expects signature to be the size of the modulo of public.

The message is signed using PSS.