| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private Mac | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private static Hashtable | |
| protected byte[] | engineDoFinal()
Implements abstract javax. |
| protected int | engineGetMacLength()
Implements abstract javax. |
| protected void | engineInit(Key
the (secret) key. key, final AlgorithmParameterSpec the algorithm parameters. params)Implements abstract javax. |
| protected void | engineReset()
Implements abstract javax. |
| protected void | engineUpdate(byte
the input byte to be processed. input)Implements abstract javax. |
| protected void | engineUpdate(byte[]
the input buffer. input, int the offset in offset, int input where the input starts.the number of bytes to process. len)Implements abstract javax. len bytes in input,
starting at offset inclusive.
|
| keySize | back to summary |
|---|---|
| private int keySize | |
| macEngine | back to summary |
|---|---|
| private Mac macEngine | |
| pbeHash | back to summary |
|---|---|
| private int pbeHash | |
| scheme | back to summary |
|---|---|
| private int scheme | |
| BaseMac | back to summary |
|---|---|
| protected BaseMac(Mac macEngine) | |
| BaseMac | back to summary |
|---|---|
| protected BaseMac(Mac macEngine, int scheme, int pbeHash, int keySize) | |
| copyMap | back to summary |
|---|---|
| private static Hashtable | |
| engineDoFinal | back to summary |
|---|---|
| protected byte[] engineDoFinal() Implements abstract javax. Doc from javax. Completes the MAC computation and resets the MAC for further use, maintaining the secret key that the MAC was initialized with.
| |
| engineGetMacLength | back to summary |
|---|---|
| protected int engineGetMacLength() Implements abstract javax. Doc from javax. Returns the length of the MAC in bytes.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(Key key, final AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException Implements abstract javax. Doc from javax. Initializes the MAC with the given (secret) key and algorithm parameters.
| |
| engineReset | back to summary |
|---|---|
| protected void engineReset() Implements abstract javax. Doc from javax. Resets the MAC for further use, maintaining the secret key that the MAC was initialized with. | |
| engineUpdate | back to summary |
|---|---|
| protected void engineUpdate(byte input) Implements abstract javax. Doc from javax. Processes the given byte.
| |
| engineUpdate | back to summary |
|---|---|
| protected void engineUpdate(byte[] input, int offset, int len) Implements abstract javax. Doc from javax. Processes the first
| |