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.

Variable Index

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

Constructor Index

 o MD5RSA()
Default constructor.

Method Index

 o initSign(long)
Initialize the BSAFE algorithm object "algObj" to do MD5-with-RSA signing, using private key "keyObj".
 o initVerify(long)
Initialize the BSAFE algorithm object "algObj" to do MD5-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 MD5RSA
  public MD5RSA()
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 MD5-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 MD5-with-RSA signature verificateion, using public key "keyObj".
Overrides:
initVerify in class JSafeSig

All Packages  Class Hierarchy  This Package  Previous  Next  Index