java.security
Class MessageDigest
java.lang.Object
java.security.MessageDigestSpi
java.security.MessageDigest
- public abstract class MessageDigest
- extends MessageDigestSpi
INITIAL
private static final int INITIAL
algorithm
private String algorithm
state
private int state
provider
private Provider provider
IN_PROGRESS
private static final int IN_PROGRESS
MessageDigest
protected MessageDigest(String)
getDigestLength
public final int getDigestLength()
reset
public void reset()
digest
public byte[] digest()
update
public void update(byte)
update
public void update(byte[])
digest
public byte[] digest(byte[])
digest
public int digest(byte[],
int,
int)
throws DigestException
- Throws:
DigestException
update
public void update(byte[],
int,
int)
isEqual
public static boolean isEqual(byte[],
byte[])
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class MessageDigestSpi
- Throws:
CloneNotSupportedException
getAlgorithm
public final String getAlgorithm()
toString
public String toString()
- Overrides:
toString
in class Object
getProvider
public final Provider getProvider()
getInstance
public static MessageDigest getInstance(String)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
getInstance
public static MessageDigest getInstance(String,
String)
throws NoSuchAlgorithmException,
NoSuchProviderException
- Throws:
NoSuchAlgorithmException
NoSuchProviderException
getInstance
public static MessageDigest getInstance(String,
Provider)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.