This abstract class defines the
service-provider interface for MessageDigest. A
security provider must implement a concrete subclass of this class
for each message-digest algorithm it supports. Applications never
need to use or subclass this class.
public abstract class MessageDigestSpi {
// Public Constructors
public MessageDigestSpi( );
// Public Methods Overriding Object
public Object clone( ) throws CloneNotSupportedException;
// Protected Instance Methods
protected abstract byte[ ] engineDigest( );
protected int engineDigest(byte[ ] buf, int offset, int len)
throws DigestException;
protected int engineGetDigestLength( ); constant
protected abstract void engineReset( );
protected abstract void engineUpdate(byte input);
5.0 protected void engineUpdate(java.nio.ByteBuffer input);
protected abstract void engineUpdate(byte[ ] input, int offset, int len);
}