Class sun.security.jsafe.MD5RSA
All Packages Class Hierarchy This Package Previous Next Index
Class sun.security.jsafe.MD5RSA
java.lang.Object
|
+----java.security.Signature
|
+----sun.security.jsafe.JSafeSig
|
+----sun.security.jsafe.RSASig
|
+----sun.security.jsafe.MD5RSA
- public final class MD5RSA
- extends RSASig
This class knows the signature algorithm OID of the signature
algorithm that's variously named "MD5-RSA", "MD5withRSA",
"MD5 with RSA Encryption", and so forth. It also knows how
to initialize BSAFE to do MD5-RSA signing and verifying.
-
alg
- The OID by which this signature algorithm is normally known.
-
MD5RSA()
- Default constructor.
-
initSign(long)
- Initialize the BSAFE algorithm object "algObj" to do
MD5-with-RSA signing, using private key "keyObj".
-
initVerify(long)
- Initialize the BSAFE algorithm object "algObj" to do
MD5-with-RSA signature verificateion, using public
key "keyObj".
alg
public final static AlgorithmId alg
- The OID by which this signature algorithm is normally known.
MD5RSA
public MD5RSA()
- Default constructor. Establishes the signature algorithm
to be used.
initSign
protected void initSign(long keyObj)
- Initialize the BSAFE algorithm object "algObj" to do
MD5-with-RSA signing, using private key "keyObj".
- Overrides:
- initSign in class JSafeSig
initVerify
protected void initVerify(long keyObj)
- Initialize the BSAFE algorithm object "algObj" to do
MD5-with-RSA signature verificateion, using public
key "keyObj".
- Overrides:
- initVerify in class JSafeSig
All Packages Class Hierarchy This Package Previous Next Index