javacard.security
Class MessageDigest

java.lang.Object
  |
  +--javacard.security.MessageDigest

public abstract synchronized class MessageDigest
extends java.lang.Object


Field Summary
static byte ALG_MD5
           
static byte ALG_RIPEMD160
           
static byte ALG_SHA
           
 
Constructor Summary
protected MessageDigest()
           
 
Method Summary
abstract  short doFinal(byte[], short, short, byte[], short)
           
abstract  byte getAlgorithm()
           
static MessageDigest getInstance(byte, boolean)
           
abstract  byte getLength()
           
abstract  void reset()
           
abstract  void update(byte[], short, short)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALG_SHA

public static final byte ALG_SHA
See Also:
Constant Field Values

ALG_MD5

public static final byte ALG_MD5
See Also:
Constant Field Values

ALG_RIPEMD160

public static final byte ALG_RIPEMD160
See Also:
Constant Field Values
Constructor Detail

MessageDigest

protected MessageDigest()
Method Detail

getInstance

public static final MessageDigest getInstance(byte,
                                              boolean)
                                       throws CryptoException
CryptoException

getAlgorithm

public abstract byte getAlgorithm()

getLength

public abstract byte getLength()

doFinal

public abstract short doFinal(byte[],
                              short,
                              short,
                              byte[],
                              short)

update

public abstract void update(byte[],
                            short,
                            short)

reset

public abstract void reset()