public static class OpenSSLCipher.EVP_CIPHER.AES extends OpenSSLCipher.EVP_CIPHER.AES_BASE
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenSSLCipher.EVP_CIPHER.AES.CBC |
static class |
OpenSSLCipher.EVP_CIPHER.AES.CTR |
static class |
OpenSSLCipher.EVP_CIPHER.AES.ECB |
OpenSSLCipher.EVP_CIPHER.AES, OpenSSLCipher.EVP_CIPHER.AES_128, OpenSSLCipher.EVP_CIPHER.AES_256, OpenSSLCipher.EVP_CIPHER.AES_BASE, OpenSSLCipher.EVP_CIPHER.ARC4, OpenSSLCipher.EVP_CIPHER.DESEDEOpenSSLCipher.EVP_AEAD, OpenSSLCipher.EVP_CIPHER, OpenSSLCipher.Mode, OpenSSLCipher.PaddingcalledUpdateencodedKey, iv, mode| Modifier | Constructor and Description |
|---|---|
protected |
AES(OpenSSLCipher.Mode mode,
OpenSSLCipher.Padding padding) |
| 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. |
checkSupportedMode, checkSupportedPadding, getBaseCipherName, getCipherBlockSize, getCipherNamedoFinalInternal, engineInitInternal, getOutputSizeForFinal, getOutputSizeForUpdate, updateInternalengineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetOutputSize, engineGetParameters, engineInit, engineInit, engineInit, engineSetMode, engineSetPadding, engineUnwrap, engineUpdate, engineUpdate, engineWrap, getPadding, isEncrypting, supportsVariableSizeIv, supportsVariableSizeKeyengineDoFinal, engineGetKeySize, engineUpdate, engineUpdateAAD, engineUpdateAADprotected AES(OpenSSLCipher.Mode mode, OpenSSLCipher.Padding padding)
protected void checkSupportedKeySize(int keyLength)
throws InvalidKeyException
OpenSSLCipherkeySize (in
bytes) and throws InvalidKeyException if it doesn't.checkSupportedKeySize in class OpenSSLCipherInvalidKeyException