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