java.security
Class MessageDigestSpi
java.lang.Object
java.security.MessageDigestSpi
- Direct Known Subclasses:
- MessageDigest
public abstract class MessageDigestSpi
- extends Object
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. Message digests are
secure one-way hash functions that take arbitrary-sized data and output a
fixed-length hash value.
All the abstract methods in this class must be implemented by a
cryptographic service provider who wishes to supply the implementation
of a particular message digest algorithm.
Implementations are free to implement the Cloneable interface.
- Version:
- 1.11, 02/02/00
- Author:
- Benjamin Renaud
- See Also:
MessageDigest
Method Summary |
Object |
clone()
Returns a clone if the implementation is cloneable. |
MessageDigestSpi
public MessageDigestSpi()
clone
public Object clone()
throws CloneNotSupportedException
- Returns a clone if the implementation is cloneable.
- Returns:
- a clone if the implementation is cloneable.
- Throws:
CloneNotSupportedException
- if this is called on an
implementation that does not support Cloneable
.- See Also:
Cloneable