java.security
public
abstract
class
java.security.MessageDigestSpi
This class is a Service Provider Interface (therefore the Spi suffix) for
digest algorithms to be supplied by providers. Examples of digest algorithms
are MD5 and SHA.
A digest is a secure hash function for a stream of bytes, like a fingerprint
for the stream of bytes.
Known Direct Subclasses
Summary
Public Constructors
Public Methods
Protected Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
MessageDigestSpi()
Public Methods
public
Object
clone()
Returns a new instance of the same class as the receiver, whose slots
have been filled in with the values in the slots of the receiver.
Classes which wish to support cloning must specify that they implement
the Cloneable interface, since the implementation checks for this.
Returns
- Object a shallow copy of this object.
Protected Methods
protected
abstract
byte[]
engineDigest()
protected
int
engineDigest(byte[] buf, int offset, int len)
protected
int
engineGetDigestLength()
protected
abstract
void
engineReset()
protected
abstract
void
engineUpdate(byte input)
protected
abstract
void
engineUpdate(byte[] input, int offset, int len)