com.ibm.crypto.pkcs11impl.provider
Class GeneralHashing

java.lang.Object
  extended by java.security.MessageDigestSpi
      extended by com.ibm.crypto.pkcs11impl.provider.GeneralHashing
All Implemented Interfaces:
java.lang.Cloneable

public final class GeneralHashing
extends java.security.MessageDigestSpi
implements java.lang.Cloneable

The class is used to compute message digests from multiple algorithms over a given buffer of bytes. It uses the Hash class to access the hardware to do the actual computations.


Constructor Summary
GeneralHashing(java.security.Provider provider, java.lang.String algorithm)
          Standard constructor, creates a new GeneralHashing instance, allocates its buffers from the heap.
 
Method Summary
 java.lang.Object clone()
          Clones this object.
 void init(java.security.Provider provider)
          Initialize the Hashing information
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralHashing

public GeneralHashing(java.security.Provider provider,
                      java.lang.String algorithm)
Standard constructor, creates a new GeneralHashing instance, allocates its buffers from the heap.

Method Detail

init

public void init(java.security.Provider provider)
Initialize the Hashing information


clone

public java.lang.Object clone()
Clones this object.

Overrides:
clone in class java.security.MessageDigestSpi