| java.lang.Object java.io.OutputStream java.io.FilterOutputStream java.security.DigestOutputStream
Method Summary | |
public MessageDigest | getMessageDigest() Answers the MessageDigest which the receiver uses when computing the
hash. | public void | on(boolean on) Enables or disables the digest function (default is on). | public void | setMessageDigest(MessageDigest digest) Sets the MessageDigest which the receiver will use when computing the
hash. | public String | toString() Answers a string containing a concise, human-readable description of the
receiver. | public void | write(int b) | public void | write(byte[] b, int off, int len) |
getMessageDigest | public MessageDigest getMessageDigest()(Code) | | Answers the MessageDigest which the receiver uses when computing the
hash.
MessageDigest the digest the receiver uses when computing thehash. |
on | public void on(boolean on)(Code) | | Enables or disables the digest function (default is on).
Parameters: on - boolean true if the digest should be computed, and falseotherwise. See Also: MessageDigest |
setMessageDigest | public void setMessageDigest(MessageDigest digest)(Code) | | Sets the MessageDigest which the receiver will use when computing the
hash.
Parameters: digest - MessageDigest the digest to use when computing the hash. See Also: MessageDigest See Also: DigestOutputStream.on |
toString | public String toString()(Code) | | Answers a string containing a concise, human-readable description of the
receiver.
String a printable representation for the receiver. |
|
|