Package org.conscrypt
Class OpenSSLEvpCipherAES.AES_128
- java.lang.Object
-
- javax.crypto.CipherSpi
-
- org.conscrypt.OpenSSLCipher
-
- org.conscrypt.OpenSSLEvpCipher
-
- org.conscrypt.OpenSSLEvpCipherAES
-
- org.conscrypt.OpenSSLEvpCipherAES.AES_128
-
- Direct Known Subclasses:
OpenSSLEvpCipherAES.AES_128.CBC
,OpenSSLEvpCipherAES.AES_128.CTR
,OpenSSLEvpCipherAES.AES_128.ECB
- Enclosing class:
- OpenSSLEvpCipherAES
public static class OpenSSLEvpCipherAES.AES_128 extends OpenSSLEvpCipherAES
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OpenSSLEvpCipherAES.AES_128.CBC
static class
OpenSSLEvpCipherAES.AES_128.CTR
static class
OpenSSLEvpCipherAES.AES_128.ECB
-
Nested classes/interfaces inherited from class org.conscrypt.OpenSSLEvpCipherAES
OpenSSLEvpCipherAES.AES, OpenSSLEvpCipherAES.AES_128, OpenSSLEvpCipherAES.AES_256
-
Nested classes/interfaces inherited from class org.conscrypt.OpenSSLCipher
OpenSSLCipher.Mode, OpenSSLCipher.Padding
-
-
Field Summary
-
Fields inherited from class org.conscrypt.OpenSSLCipher
encodedKey, iv, mode
-
-
Constructor Summary
Constructors Constructor Description AES_128(OpenSSLCipher.Mode mode, OpenSSLCipher.Padding padding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
checkSupportedKeySize(int keyLength)
Checks whether the cipher supports this particularkeySize
(in bytes) and throwsInvalidKeyException
if it doesn't.-
Methods inherited from class org.conscrypt.OpenSSLEvpCipherAES
checkSupportedMode, checkSupportedPadding, getBaseCipherName, getCipherBlockSize, getCipherName
-
Methods inherited from class org.conscrypt.OpenSSLEvpCipher
doFinalInternal, engineInitInternal, getOutputSizeForFinal, getOutputSizeForUpdate, updateInternal
-
Methods inherited from class org.conscrypt.OpenSSLCipher
engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineGetParameters, engineInit, engineInit, engineInit, engineSetMode, engineSetPadding, engineUnwrap, engineUpdate, engineUpdate, engineWrap, getPadding, getParameterSpec, isEncrypting, supportsVariableSizeIv, supportsVariableSizeKey
-
-
-
-
Constructor Detail
-
AES_128
AES_128(OpenSSLCipher.Mode mode, OpenSSLCipher.Padding padding)
-
-
Method Detail
-
checkSupportedKeySize
void checkSupportedKeySize(int keyLength) throws java.security.InvalidKeyException
Description copied from class:OpenSSLCipher
Checks whether the cipher supports this particularkeySize
(in bytes) and throwsInvalidKeyException
if it doesn't.- Specified by:
checkSupportedKeySize
in classOpenSSLCipher
- Throws:
java.security.InvalidKeyException
-
-