Package org.conscrypt
Class OpenSSLCipher.EVP_AEAD.AES.GCM
- java.lang.Object
-
- javax.crypto.CipherSpi
-
- org.conscrypt.OpenSSLCipher
-
- org.conscrypt.OpenSSLCipher.EVP_AEAD
-
- org.conscrypt.OpenSSLCipher.EVP_AEAD.AES
-
- org.conscrypt.OpenSSLCipher.EVP_AEAD.AES.GCM
-
- Enclosing class:
- OpenSSLCipher.EVP_AEAD.AES
public static class OpenSSLCipher.EVP_AEAD.AES.GCM extends OpenSSLCipher.EVP_AEAD.AES
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.conscrypt.OpenSSLCipher.EVP_AEAD.AES
OpenSSLCipher.EVP_AEAD.AES.GCM
-
Nested classes/interfaces inherited from class org.conscrypt.OpenSSLCipher.EVP_AEAD
OpenSSLCipher.EVP_AEAD.AES
-
Nested classes/interfaces inherited from class org.conscrypt.OpenSSLCipher
OpenSSLCipher.EVP_AEAD, OpenSSLCipher.EVP_CIPHER, OpenSSLCipher.Mode, OpenSSLCipher.Padding
-
-
Field Summary
-
Fields inherited from class org.conscrypt.OpenSSLCipher.EVP_AEAD
buf, bufCount, evpAead
-
Fields inherited from class org.conscrypt.OpenSSLCipher
encodedKey, iv, mode
-
-
Constructor Summary
Constructors Constructor Description GCM()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckSupportedMode(OpenSSLCipher.Mode mode)Checks whether the cipher supports this particular ciphermodeand throwsNoSuchAlgorithmExceptionif it doesn't.protected longgetEVP_AEAD(int keyLength)-
Methods inherited from class org.conscrypt.OpenSSLCipher.EVP_AEAD.AES
checkSupportedKeySize, getBaseCipherName, getCipherBlockSize, getOutputSizeForUpdate
-
Methods inherited from class org.conscrypt.OpenSSLCipher.EVP_AEAD
checkSupportedPadding, doFinalInternal, engineGetParameters, engineInitInternal, engineUpdateAAD, getOutputSizeForFinal, updateInternal
-
Methods inherited from class org.conscrypt.OpenSSLCipher
engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetOutputSize, engineInit, engineInit, engineInit, engineSetMode, engineSetPadding, engineUnwrap, engineUpdate, engineUpdate, engineWrap, getPadding, isEncrypting, supportsVariableSizeIv, supportsVariableSizeKey
-
Methods inherited from class javax.crypto.CipherSpi
engineDoFinal, engineGetKeySize, engineUpdate, engineUpdateAAD
-
-
-
-
Method Detail
-
checkSupportedMode
protected void checkSupportedMode(OpenSSLCipher.Mode mode) throws NoSuchAlgorithmException
Description copied from class:OpenSSLCipherChecks whether the cipher supports this particular ciphermodeand throwsNoSuchAlgorithmExceptionif it doesn't.- Specified by:
checkSupportedModein classOpenSSLCipher- Throws:
NoSuchAlgorithmException
-
getEVP_AEAD
protected long getEVP_AEAD(int keyLength) throws InvalidKeyException- Specified by:
getEVP_AEADin classOpenSSLCipher.EVP_AEAD- Throws:
InvalidKeyException
-
-