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 classstatic classNested classes/interfaces inherited from class OpenSSLAeadCipherAES
OpenSSLAeadCipherAES.GCM, OpenSSLAeadCipherAES.GCM_SIVNested classes/interfaces inherited from class OpenSSLCipher
OpenSSLCipher.Mode, OpenSSLCipher.Padding -
Field Summary
Fields inherited from class OpenSSLAeadCipher
buf, bufCount, DEFAULT_TAG_SIZE_BITS, evpAead, tagLengthInBytesFields inherited from class OpenSSLCipher
encodedKey, iv, mode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidChecks whether the cipher supports this particular ciphermodeand throwsNoSuchAlgorithmExceptionif it doesn't.(package private) longgetEVP_AEAD(int keyLength) Methods inherited from class OpenSSLAeadCipherAES
checkSupportedKeySize, engineGetParameters, getBaseCipherName, getCipherBlockSize, getOutputSizeForFinal, getParameterSpecMethods inherited from class OpenSSLAeadCipher
allowsNonceReuse, checkSupportedPadding, checkSupportedTagLength, doFinalInternal, doFinalInternal, engineDoFinal, engineDoFinal, engineInitInternal, engineUpdateAAD, engineUpdateAAD, getOutputSizeForUpdate, updateInternalMethods inherited from class OpenSSLCipher
engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineInit, engineInit, engineInit, engineSetMode, engineSetPadding, engineUnwrap, engineUpdate, engineUpdate, engineWrap, getPadding, isEncrypting, supportsVariableSizeIv, supportsVariableSizeKeyMethods inherited from class CipherSpi
engineUpdate
-
Constructor Details
-
GCM
public GCM()
-
-
Method Details
-
checkSupportedMode
Description copied from class:OpenSSLCipherChecks whether the cipher supports this particular ciphermodeand throwsNoSuchAlgorithmExceptionif it doesn't.- Specified by:
checkSupportedModein classOpenSSLCipher- Throws:
NoSuchAlgorithmException
-
getEVP_AEAD
- Specified by:
getEVP_AEADin classOpenSSLAeadCipher- Throws:
InvalidKeyException
-