API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. MessageDigestSpi View Source
Author(s)
Benjamin Renaud
Since
Version
1.17, 03/10/06
Serial
Hierarchy
 Object
      MessageDigestSpi
Implements
Subclasses
Description
publicabstract abstract class MessageDigestSpi
  This class defines the Service Provider Interface (SPI) for the MessageDigest class, which provides the functionality of a message digest algorithm, such as MD5 or SHA.
See also:    MessageDigest
Constructors
public MessageDigestSpi ()
Methods
Hide/Show inherited methods
public Object clone () throws CloneNotSupportedException
  Returns a clone if the implementation is cloneable.
protectedabstract byte engineDigest ()
  Completes the hash computation by performing final operations such as padding.
protected int engineDigest (byte[] buf, int offset, int len) throws DigestException
  Completes the hash computation by performing final operations such as padding.
protected int engineGetDigestLength ()
  Returns the digest length in bytes.
protectedabstract void engineReset ()
Resets the digest for further use.
protectedabstract void engineUpdate (byte input)
  Updates the digest using the specified byte.
protectedabstract void engineUpdate (byte[] input, int offset, int len)
  Updates the digest using the specified array of bytes, starting at the specified offset.
protected void engineUpdate (ByteBuffer input)
  Update the digest using the specified ByteBuffer.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar