MD5withRSA

This Signature class implements the algorithm “MD5withRSA”, 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 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 “MD5withRSA”.