SHA1withRSA

This Signature class implements the algorithm “RSASSA-PKCS1-v1_5”, as defined in PKCS#1. This algorithm will perform a message digest of the data to be signed, encode that information in a X.509 DigestInfo block and then finally RSA encrypt the DER-encoded block.

Initialization requires a SafeNet ProtectToolkit-J RSA key, either a private key for signing or a public key for signature verification.  See the RSA Cipher (RSA) for information on RSA keys.

See MD2withRSA for a simple example on using this algorithm; modify the algorithm name used to “SHA1withRSA”.