Package org.conscrypt
Class OpenSSLAeadCipherAES.GCM
java.lang.Object
javax.crypto.CipherSpi
org.conscrypt.OpenSSLCipher
org.conscrypt.OpenSSLAeadCipher
org.conscrypt.OpenSSLAeadCipherAES
org.conscrypt.OpenSSLAeadCipherAES.GCM
- Direct Known Subclasses:
OpenSSLAeadCipherAES.GCM.AES_128
,OpenSSLAeadCipherAES.GCM.AES_256
- Enclosing class:
OpenSSLAeadCipherAES
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
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 -
Method Summary
Modifier and TypeMethodDescription(package private) void
Checks whether the cipher supports this particular ciphermode
and throwsNoSuchAlgorithmException
if it doesn't.(package private) long
getEVP_AEAD
(int keyLength) Methods inherited from class org.conscrypt.OpenSSLAeadCipherAES
checkSupportedKeySize, engineGetParameters, getBaseCipherName, getCipherBlockSize, getOutputSizeForFinal, getParameterSpec
Methods inherited from class org.conscrypt.OpenSSLAeadCipher
allowsNonceReuse, checkSupportedPadding, checkSupportedTagLength, 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
Methods inherited from class javax.crypto.CipherSpi
engineUpdate
-
Constructor Details
-
GCM
public GCM()
-
-
Method Details
-
checkSupportedMode
Description copied from class:OpenSSLCipher
Checks whether the cipher supports this particular ciphermode
and throwsNoSuchAlgorithmException
if it doesn't.- Specified by:
checkSupportedMode
in classOpenSSLCipher
- Throws:
NoSuchAlgorithmException
-
getEVP_AEAD
- Specified by:
getEVP_AEAD
in classOpenSSLAeadCipher
- Throws:
InvalidKeyException
-