public abstract class OpenSSLMac extends MacSpi
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenSSLMac.HmacMD5 |
static class |
OpenSSLMac.HmacSHA1 |
static class |
OpenSSLMac.HmacSHA224 |
static class |
OpenSSLMac.HmacSHA256 |
static class |
OpenSSLMac.HmacSHA384 |
static class |
OpenSSLMac.HmacSHA512 |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineDoFinal() |
protected int |
engineGetMacLength() |
protected void |
engineInit(Key key,
AlgorithmParameterSpec params) |
protected void |
engineReset() |
protected void |
engineUpdate(byte input) |
protected void |
engineUpdate(byte[] input,
int offset,
int len) |
protected void |
engineUpdate(ByteBuffer input) |
protected int engineGetMacLength()
engineGetMacLength in class MacSpiprotected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit in class MacSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineUpdate(byte input)
engineUpdate in class MacSpiprotected void engineUpdate(byte[] input,
int offset,
int len)
engineUpdate in class MacSpiprotected void engineUpdate(ByteBuffer input)
engineUpdate in class MacSpiprotected byte[] engineDoFinal()
engineDoFinal in class MacSpiprotected void engineReset()
engineReset in class MacSpi