| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private boolean | |
| private byte[] | |
| private byte[] | |
| private MessageDigest |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| protected byte[] | Returns: the HMAC result.Implements abstract javax. Completes the HMAC computation and resets the HMAC for further use, maintaining the secret key that the HMAC was initialized with. |
| protected int | Returns: the HMAC length in bytes.Implements abstract javax. Returns the length of the HMAC in bytes. |
| protected void | engineInit(Key
the secret key. key, AlgorithmParameterSpec the algorithm parameters. params)Implements abstract javax. Initializes the HMAC with the given secret key and algorithm parameters. |
| protected void | engineReset()
Implements abstract javax. Resets the HMAC for further use, maintaining the secret key that the HMAC was initialized with. |
| protected void | engineUpdate(byte
the input byte to be processed. input)Implements abstract javax. Processes the given byte. |
| 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. Processes the first |
| protected void | engineUpdate(ByteBuffer
the input byte buffer. input)Overrides javax. Processes the |
| blockLen | back to summary |
|---|---|
| private final int blockLen | |
| first | back to summary |
|---|---|
| private boolean first | |
| k_ipad | back to summary |
|---|---|
| private byte[] k_ipad | |
| k_opad | back to summary |
|---|---|
| private byte[] k_opad | |
| md | back to summary |
|---|---|
| private MessageDigest md | |
| HmacCore | back to summary |
|---|---|
| pack-priv HmacCore(String digestAlgo, int bl) throws NoSuchAlgorithmException Standard constructor, creates a new HmacCore instance instantiating a MessageDigest of the specified name. | |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides javax. Doc from javax. Returns a clone if the implementation is cloneable.
| |
| engineDoFinal | back to summary |
|---|---|
| protected byte[] engineDoFinal() Implements abstract javax. Completes the HMAC computation and resets the HMAC for further use, maintaining the secret key that the HMAC was initialized with.
| |
| engineGetMacLength | back to summary |
|---|---|
| protected int engineGetMacLength() Implements abstract javax. Returns the length of the HMAC in bytes.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException Implements abstract javax. Initializes the HMAC with the given secret key and algorithm parameters.
| |
| engineReset | back to summary |
|---|---|
| protected void engineReset() Implements abstract javax. Resets the HMAC for further use, maintaining the secret key that the HMAC was initialized with. | |
| engineUpdate | back to summary |
|---|---|
| protected void engineUpdate(byte input) Implements abstract javax. Processes the given byte.
| |
| engineUpdate | back to summary |
|---|---|
| protected void engineUpdate(byte[] input, int offset, int len) Implements abstract javax. Processes the first
| |
| engineUpdate | back to summary |
|---|---|
| protected void engineUpdate(ByteBuffer input) Overrides javax. Processes the
| |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA224 | back to summary |
|---|---|
| public HmacSHA224() throws NoSuchAlgorithmException | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA256 | back to summary |
|---|---|
| public HmacSHA256() throws NoSuchAlgorithmException | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA384 | back to summary |
|---|---|
| public HmacSHA384() throws NoSuchAlgorithmException | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA3_224 | back to summary |
|---|---|
| public HmacSHA3_224() throws NoSuchAlgorithmException | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA3_256 | back to summary |
|---|---|
| public HmacSHA3_256() throws NoSuchAlgorithmException | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA3_384 | back to summary |
|---|---|
| public HmacSHA3_384() throws NoSuchAlgorithmException | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA3_512 | back to summary |
|---|---|
| public HmacSHA3_512() throws NoSuchAlgorithmException | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA512 | back to summary |
|---|---|
| public HmacSHA512() throws NoSuchAlgorithmException | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA512_224 | back to summary |
|---|---|
| public HmacSHA512_224() throws NoSuchAlgorithmException | |
| Access | Constructor and Description |
|---|---|
| public |
| HmacSHA512_256 | back to summary |
|---|---|
| public HmacSHA512_256() throws NoSuchAlgorithmException | |