| Modifier and Type | Field and Description |
|---|---|
| protected Digest | |
| protected int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | engineDigest()
Implements abstract java. Completes the hash computation by performing final operations such as padding. |
| public int | engineDigest(byte[]
the output buffer in which to store the digest buf, int offset to start from in the output buffer off, int number of bytes within len)buf allotted for the digest.
Both this default implementation and the SUN provider do not
return partial digests. The presence of this parameter is solely
for consistency in our API's. If the value of this parameter is less
than the actual digest length, the method will throw a
DigestException.
This parameter is ignored if its value is greater than or equal to
the actual digest length.Overrides java. Completes the hash computation by performing final operations such as padding. |
| public int | engineGetDigestLength()
Overrides java. Returns the digest length in bytes. |
| public void | engineReset()
Implements abstract java. Resets the digest for further use. |
| public void | engineUpdate(byte
the byte to use for the update. input)Implements abstract java. Updates the digest using the specified byte. |
| public void | engineUpdate(byte[]
the array of bytes to use for the update. input, int the offset to start from in the array of bytes. offset, int the number of bytes to use, starting at
len)offset.Implements abstract java. Updates the digest using the specified array of bytes, starting at the specified offset. |
| digest | back to summary |
|---|---|
| protected Digest digest | |
| digestSize | back to summary |
|---|---|
| protected int digestSize | |
| BCMessageDigest | back to summary |
|---|---|
| protected BCMessageDigest(Digest digest) | |
| engineDigest | back to summary |
|---|---|
| public byte[] engineDigest() Implements abstract java. Doc from java. Completes the hash computation by performing final
operations such as padding. Once
| |
| engineDigest | back to summary |
|---|---|
| public int engineDigest(byte[] buf, int off, int len) throws DigestException Overrides java. Doc from java. Completes the hash computation by performing final
operations such as padding. Once
| |
| engineGetDigestLength | back to summary |
|---|---|
| public int engineGetDigestLength() Overrides java. Doc from java. Returns the digest length in bytes. This concrete method has been added to this previously-defined abstract class. (For backwards compatibility, it cannot be abstract.) The default behavior is to return 0. This method may be overridden by a provider to return the digest length.
| |
| engineReset | back to summary |
|---|---|
| public void engineReset() Implements abstract java. Doc from java. Resets the digest for further use. | |
| engineUpdate | back to summary |
|---|---|
| public void engineUpdate(byte input) Implements abstract java. Doc from java. Updates the digest using the specified byte.
| |
| engineUpdate | back to summary |
|---|---|
| public void engineUpdate(byte[] input, int offset, int len) Implements abstract java. Doc from java. Updates the digest using the specified array of bytes, starting at the specified offset.
| |