Mac implementations based on the JCE provider.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| private final int | |
| private final boolean | |
| private Mac | |
| private String | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public String | |
| public int | |
| public int | |
| public void | |
| public boolean | |
| public String | |
| public void | |
| public void |
| algorithm | back to summary |
|---|---|
| private final String algorithm | |
| bsize | back to summary |
|---|---|
| private final int bsize | |
| defbsize | back to summary |
|---|---|
| private final int defbsize | |
| etmMode | back to summary |
|---|---|
| private final boolean etmMode | |
| mac | back to summary |
|---|---|
| private Mac mac | |
| s | back to summary |
|---|---|
| private String s | |
| tmp | back to summary |
|---|---|
| private final byte[] tmp | |
| BaseMac | back to summary |
|---|---|
| public BaseMac(String algorithm, int bsize, int defbsize, boolean etmMode) | |
| doFinal | back to summary |
|---|---|
| public void doFinal(byte[] buf, int offset) throws Exception Implements org.
| |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements org.
| |
| getBlockSize | back to summary |
|---|---|
| public int getBlockSize() Implements org.
| |
| getDefaultBlockSize | back to summary |
|---|---|
| public int getDefaultBlockSize() Implements org.
| |
| init | back to summary |
|---|---|
| public void init(byte[] key) throws Exception Implements org.
| |
| isEncryptThenMac | back to summary |
|---|---|
| public boolean isEncryptThenMac() Overrides default org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| update | back to summary |
|---|---|
| public void update(byte[] buf, int offset, int len) Implements org.
| |
| updateUInt | back to summary |
|---|---|
| public void updateUInt(long i) Implements org.
| |