| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private long | |
| protected final CryptoServicePurpose | |
| private final byte[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected abstract CryptoServiceProperties | |
| public void | |
| public int | getByteLength()
Implements org. Return the size in bytes of the internal buffer the digest applies it's compression function to. |
| protected void | |
| protected abstract void | |
| protected abstract void | |
| protected abstract void | |
| public void | reset()
Implements org. reset the digest back to it's initial state. |
| public void | update(byte
the input byte to be entered. in)Implements org. update the message digest with a single byte. |
| 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. update the message digest with a block of bytes. |
| BYTE_LENGTH | back to summary |
|---|---|
| private static final int BYTE_LENGTH | |
| byteCount | back to summary |
|---|---|
| private long byteCount | |
| purpose | back to summary |
|---|---|
| protected final CryptoServicePurpose purpose | |
| 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(CryptoServicePurpose purpose) | |
| 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) | |
| cryptoServiceProperties | back to summary |
|---|---|
| protected abstract CryptoServiceProperties cryptoServiceProperties() | |
| finish | back to summary |
|---|---|
| public void finish() | |
| getByteLength | back to summary |
|---|---|
| public int getByteLength() Implements org. Doc from org. 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 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.
| |