| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private NullDigest. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | doFinal(byte[]
the array the digest is to be copied into. out, int the offset into the out array the digest is to start at. outOff)Implements org. |
| public String | getAlgorithmName()
Implements org. |
| public int | getDigestSize()
Implements org. |
| public void | reset()
Implements org. |
| public void | update(byte
the input byte to be entered. in)Implements org. |
| public void | update(byte[]
the byte array containing the data. in, int the offset into the byte array where the data starts. inOff, int the length of the data. len)Implements org. |
| bOut | back to summary |
|---|---|
| private NullDigest. | |
| NullDigest | back to summary |
|---|---|
| public NullDigest() | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] out, int outOff) Implements org. Doc from org. close the digest, producing the final digest value. The doFinal call leaves the digest reset.
| |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. return the algorithm name
| |
| getDigestSize | back to summary |
|---|---|
| public int getDigestSize() Implements org. Doc from org. return the size, in bytes, of the digest produced by this message digest.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. reset the digest back to it's initial state. | |
| update | back to summary |
|---|---|
| public void update(byte in) Implements org. Doc from org. update the message digest with a single byte.
| |
| update | back to summary |
|---|---|
| public void update(byte[] in, int inOff, int len) Implements org. Doc from org. update the message digest with a block of bytes.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | reset()
Overrides java. count field of this ByteArrayOutputStream
to zero, so that all currently accumulated output in the
output stream is discarded.
|
| OpenByteArrayOutputStream | back to summary |
|---|---|
| private OpenByteArrayOutputStream() | |
| copy | back to summary |
|---|---|
| pack-priv void copy(byte[] out, int outOff) | |
| reset | back to summary |
|---|---|
| public void reset() Overrides java. Doc from java. Resets the | |