| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private long | |
| private final byte[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public void | |
| public int | getByteLength()
Implements com. |
| protected void | |
| protected abstract void | |
| protected abstract void | |
| protected abstract void | |
| public void | reset()
Implements com. |
| public void | update(byte
the input byte to be entered. in)Implements com. |
| 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 com. |
| BYTE_LENGTH | back to summary |
|---|---|
| private static final int BYTE_LENGTH | |
| byteCount | back to summary |
|---|---|
| private long byteCount | |
| xBuf | back to summary |
|---|---|
| private final byte[] xBuf | |
| xBufOff | back to summary |
|---|---|
| private int xBufOff | |
| GeneralDigest | back to summary |
|---|---|
| protected GeneralDigest() Standard constructor | |
| GeneralDigest | back to summary |
|---|---|
| protected GeneralDigest(GeneralDigest t) Copy constructor. We are using copy constructors in place of the Object.clone() interface as this interface is not supported by J2ME. | |
| GeneralDigest | back to summary |
|---|---|
| protected GeneralDigest(byte[] encodedState) | |
| copyIn | back to summary |
|---|---|
| protected void copyIn(GeneralDigest t) | |
| finish | back to summary |
|---|---|
| public void finish() | |
| getByteLength | back to summary |
|---|---|
| public int getByteLength() Implements com. Doc from com. Return the size in bytes of the internal buffer the digest applies it's compression function to.
| |
| populateState | back to summary |
|---|---|
| protected void populateState(byte[] state) | |
| processBlock | back to summary |
|---|---|
| protected abstract void processBlock() | |
| processLength | back to summary |
|---|---|
| protected abstract void processLength(long bitLength) | |
| processWord | back to summary |
|---|---|
| protected abstract void processWord(byte[] in, int inOff) | |
| reset | back to summary |
|---|---|
| public void reset() Implements com. Doc from com. reset the digest back to it's initial state. | |
| update | back to summary |
|---|---|
| public void update(byte in) Implements com. Doc from com. update the message digest with a single byte.
| |
| update | back to summary |
|---|---|
| public void update(byte[] in, int inOff, int len) Implements com. Doc from com. update the message digest with a block of bytes.
| |