public abstract static class OpenSSLCipher.EVP_AEAD.AES extends OpenSSLCipher.EVP_AEAD
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenSSLCipher.EVP_AEAD.AES.GCM |
OpenSSLCipher.EVP_AEAD.AESOpenSSLCipher.EVP_AEAD, OpenSSLCipher.EVP_CIPHER, OpenSSLCipher.Mode, OpenSSLCipher.Paddingbuf, bufCount, evpAeadencodedKey, iv, mode| Modifier | Constructor and Description |
|---|---|
protected |
AES(OpenSSLCipher.Mode mode) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkSupportedKeySize(int keyLength)
Checks whether the cipher supports this particular
keySize (in
bytes) and throws InvalidKeyException if it doesn't. |
protected String |
getBaseCipherName()
Returns the standard name for the particular algorithm.
|
protected int |
getCipherBlockSize() |
protected int |
getOutputSizeForUpdate(int inputLen)
AEAD buffers everything until a final output.
|
checkSupportedPadding, doFinalInternal, engineGetParameters, engineInitInternal, engineUpdateAAD, getEVP_AEAD, getOutputSizeForFinal, updateInternalcheckSupportedMode, engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetOutputSize, engineInit, engineInit, engineInit, engineSetMode, engineSetPadding, engineUnwrap, engineUpdate, engineUpdate, engineWrap, getPadding, isEncrypting, supportsVariableSizeIv, supportsVariableSizeKeyengineDoFinal, engineGetKeySize, engineUpdate, engineUpdateAADprotected AES(OpenSSLCipher.Mode mode)
protected void checkSupportedKeySize(int keyLength)
throws InvalidKeyException
OpenSSLCipherkeySize (in
bytes) and throws InvalidKeyException if it doesn't.checkSupportedKeySize in class OpenSSLCipherInvalidKeyExceptionprotected String getBaseCipherName()
OpenSSLCiphergetBaseCipherName in class OpenSSLCipherprotected int getCipherBlockSize()
getCipherBlockSize in class OpenSSLCipherprotected int getOutputSizeForUpdate(int inputLen)
getOutputSizeForUpdate in class OpenSSLCipher