Example usage for Java java.security DigestInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | on |
DigestInputStream(InputStream stream, MessageDigest digest) Creates a digest input stream, using the specified input stream and message digest. |
int | available() Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream. |
void | close() Closes this input stream and releases any system resources associated with the stream. |
MessageDigest | getMessageDigest() Returns the message digest associated with this stream. |
int | read() Reads a byte, and updates the message digest (if the digest function is on). |
int | read(byte[] b, int off, int len) Reads into a byte array, and updates the message digest (if the digest function is on). |
int | read(byte b[]) Reads up to b.length bytes of data from this input stream into an array of bytes. |