Package org.conscrypt
Class OpenSSLEvpCipherARC4
java.lang.Object
javax.crypto.CipherSpi
org.conscrypt.OpenSSLCipher
org.conscrypt.OpenSSLEvpCipher
org.conscrypt.OpenSSLEvpCipherARC4
-
Nested Class Summary
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 -
Method Summary
Modifier and TypeMethodDescription(package private) voidcheckSupportedKeySize(int keySize) Checks whether the cipher supports this particularkeySize(in bytes) and throwsInvalidKeyExceptionif it doesn't.(package private) voidChecks whether the cipher supports this particular ciphermodeand throwsNoSuchAlgorithmExceptionif it doesn't.(package private) voidChecks whether the cipher supports this particular cipherpaddingand throwsNoSuchPaddingExceptionif it doesn't.(package private) StringReturns the standard name for the particular algorithm.(package private) int(package private) StringgetCipherName(int keySize, OpenSSLCipher.Mode mode) Returns the OpenSSL cipher name for the particularkeySizeand ciphermode.(package private) booleanMethods inherited from class org.conscrypt.OpenSSLEvpCipher
doFinalInternal, engineInitInternal, getOutputSizeForFinal, getOutputSizeForUpdate, updateInternalMethods 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, supportsVariableSizeIvMethods inherited from class javax.crypto.CipherSpi
engineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAAD
-
Constructor Details
-
OpenSSLEvpCipherARC4
public OpenSSLEvpCipherARC4()
-
-
Method Details
-
getBaseCipherName
String getBaseCipherName()Description copied from class:OpenSSLCipherReturns the standard name for the particular algorithm.- Specified by:
getBaseCipherNamein classOpenSSLCipher
-
getCipherName
Description copied from class:OpenSSLEvpCipherReturns the OpenSSL cipher name for the particularkeySizeand ciphermode.- Specified by:
getCipherNamein classOpenSSLEvpCipher
-
checkSupportedKeySize
Description copied from class:OpenSSLCipherChecks whether the cipher supports this particularkeySize(in bytes) and throwsInvalidKeyExceptionif it doesn't.- Specified by:
checkSupportedKeySizein classOpenSSLCipher- Throws:
InvalidKeyException
-
checkSupportedMode
Description copied from class:OpenSSLCipherChecks whether the cipher supports this particular ciphermodeand throwsNoSuchAlgorithmExceptionif it doesn't.- Specified by:
checkSupportedModein classOpenSSLCipher- Throws:
NoSuchAlgorithmException
-
checkSupportedPadding
Description copied from class:OpenSSLCipherChecks whether the cipher supports this particular cipherpaddingand throwsNoSuchPaddingExceptionif it doesn't.- Specified by:
checkSupportedPaddingin classOpenSSLCipher- Throws:
NoSuchPaddingException
-
getCipherBlockSize
int getCipherBlockSize()- Specified by:
getCipherBlockSizein classOpenSSLCipher
-
supportsVariableSizeKey
boolean supportsVariableSizeKey()- Overrides:
supportsVariableSizeKeyin classOpenSSLCipher
-