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 classOpenSSLEvpCipherAES.AES_128.CBCstatic classOpenSSLEvpCipherAES.AES_128.CTRstatic classOpenSSLEvpCipherAES.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) voidcheckSupportedKeySize(int keyLength)Checks whether the cipher supports this particularkeySize(in bytes) and throwsInvalidKeyExceptionif 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.InvalidKeyExceptionDescription copied from class:OpenSSLCipherChecks whether the cipher supports this particularkeySize(in bytes) and throwsInvalidKeyExceptionif it doesn't.- Specified by:
checkSupportedKeySizein classOpenSSLCipher- Throws:
java.security.InvalidKeyException
-
-