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.

Variable Index

 o alg
The OID by which this signature algorithm is normally known.

Constructor Index

 o MD2RSA()
Default constructor.

Method Index

 o initSign(long)
Initialize the BSAFE algorithm object "algObj" to do MD2-with-RSA signing, using private key "keyObj".
 o initVerify(long)
Initialize the BSAFE algorithm object "algObj" to do MD2-with-RSA signature verificateion, using public key "keyObj".

Variables

 o alg
  public final static AlgorithmId alg
The OID by which this signature algorithm is normally known.

Constructors

 o MD2RSA
  public MD2RSA()
Default constructor. Establishes the signature algorithm to be used.

Methods

 o 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
 o 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