In all algorithms, the digital signature can be NIST standard DSA, which uses DSA and SHA- 1. The DSA algorithm using SHA- 1 message digest algorithm can be designated as SHA 1withDSA. If RSA is used, there are many options for message digest algorithm, so the signature algorithm can be specified as MD2withRSA, MD5withRSA or SHA 1withRSA. Because there is no default algorithm name, you must specify a name for it.
The Signature object can be used to generate and verify digital signatures.