electric.util.crypto
Class GeneralDigest

java.lang.Object
  extended byelectric.util.crypto.GeneralDigest
Direct Known Subclasses:
MD5Digest

public abstract class GeneralDigest
extends java.lang.Object

GeneralDigest

Author:
webMethods

Constructor Summary
protected GeneralDigest()
           
protected GeneralDigest(GeneralDigest generalDigest)
          Copy constructor.
 
Method Summary
 void finish()
           
protected abstract  void processBlock()
           
protected abstract  void processLength(long bitLength)
           
protected abstract  void processWord(byte[] in, int inOff)
           
 void reset()
           
 void update(byte in)
           
 void update(byte[] in, int inOff, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralDigest

protected GeneralDigest()

GeneralDigest

protected GeneralDigest(GeneralDigest generalDigest)
Copy constructor. We are using copy constructors in place of the Object.clone() interface as this interface is not supported by J2ME.

Parameters:
generalDigest -
Method Detail

update

public void update(byte in)
Parameters:
in -

update

public void update(byte[] in,
                   int inOff,
                   int len)
Parameters:
in -
inOff -
len -

finish

public void finish()

reset

public void reset()

processWord

protected abstract void processWord(byte[] in,
                                    int inOff)
Parameters:
in -
inOff -

processLength

protected abstract void processLength(long bitLength)
Parameters:
bitLength -

processBlock

protected abstract void processBlock()


copyright© 2001-2004 by webMethods All Rights Reserved.