Package org.conscrypt
Class OpenSSLAeadCipherAES.GCM_SIV.AES_128
- java.lang.Object
-
- javax.crypto.CipherSpi
-
- org.conscrypt.OpenSSLCipher
-
- org.conscrypt.OpenSSLAeadCipher
-
- org.conscrypt.OpenSSLAeadCipherAES
-
- org.conscrypt.OpenSSLAeadCipherAES.GCM_SIV
-
- org.conscrypt.OpenSSLAeadCipherAES.GCM_SIV.AES_128
-
- Enclosing class:
- OpenSSLAeadCipherAES.GCM_SIV
public static class OpenSSLAeadCipherAES.GCM_SIV.AES_128 extends OpenSSLAeadCipherAES.GCM_SIV
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.conscrypt.OpenSSLAeadCipherAES.GCM_SIV
OpenSSLAeadCipherAES.GCM_SIV.AES_128, OpenSSLAeadCipherAES.GCM_SIV.AES_256
-
Nested classes/interfaces inherited from class org.conscrypt.OpenSSLAeadCipherAES
OpenSSLAeadCipherAES.GCM, OpenSSLAeadCipherAES.GCM_SIV
-
Nested classes/interfaces inherited from class org.conscrypt.OpenSSLCipher
OpenSSLCipher.Mode, OpenSSLCipher.Padding
-
-
Field Summary
-
Fields inherited from class org.conscrypt.OpenSSLAeadCipher
buf, bufCount, DEFAULT_TAG_SIZE_BITS, evpAead, tagLengthInBytes
-
Fields inherited from class org.conscrypt.OpenSSLCipher
encodedKey, iv, mode
-
-
Constructor Summary
Constructors Constructor Description AES_128()
-
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.OpenSSLAeadCipherAES.GCM_SIV
allowsNonceReuse, checkSupportedMode, checkSupportedTagLength, getEVP_AEAD
-
Methods inherited from class org.conscrypt.OpenSSLAeadCipherAES
engineGetParameters, getBaseCipherName, getCipherBlockSize, getOutputSizeForFinal, getParameterSpec
-
Methods inherited from class org.conscrypt.OpenSSLAeadCipher
checkSupportedPadding, doFinalInternal, doFinalInternal, engineDoFinal, engineDoFinal, engineInitInternal, engineUpdateAAD, engineUpdateAAD, getOutputSizeForUpdate, updateInternal
-
Methods inherited from class org.conscrypt.OpenSSLCipher
engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineInit, engineInit, engineInit, engineSetMode, engineSetPadding, engineUnwrap, engineUpdate, engineUpdate, engineWrap, getPadding, isEncrypting, supportsVariableSizeIv, supportsVariableSizeKey
-
-
-
-
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.- Overrides:
checkSupportedKeySizein classOpenSSLAeadCipherAES- Throws:
java.security.InvalidKeyException
-
-