Top Constructors Methods
org.conscrypt

public Class OpenSSLEvpCipherARC4

extends OpenSSLEvpCipher
Class Inheritance
Annotations
@Internal
Imports
java.security.InvalidKeyException, .NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv void
checkSupportedKeySize(int keySize)

Implements abstract org.conscrypt.OpenSSLCipher.checkSupportedKeySize.

Checks whether the cipher supports this particular keySize (in bytes) and throws InvalidKeyException if it doesn't.
pack-priv void
checkSupportedMode(OpenSSLCipher.Mode mode)

Implements abstract org.conscrypt.OpenSSLCipher.checkSupportedMode.

Checks whether the cipher supports this particular cipher mode and throws NoSuchAlgorithmException if it doesn't.
pack-priv void
checkSupportedPadding(OpenSSLCipher.Padding padding)

Implements abstract org.conscrypt.OpenSSLCipher.checkSupportedPadding.

Checks whether the cipher supports this particular cipher padding and throws NoSuchPaddingException if it doesn't.
pack-priv String
getBaseCipherName()

Implements abstract org.conscrypt.OpenSSLCipher.getBaseCipherName.

Returns the standard name for the particular algorithm.
pack-priv int
pack-priv String
getCipherName(int keySize, OpenSSLCipher.Mode mode)

Implements abstract org.conscrypt.OpenSSLEvpCipher.getCipherName.

Returns the OpenSSL cipher name for the particular keySize and cipher mode.
pack-priv boolean
Inherited from org.conscrypt.OpenSSLEvpCipher:
doFinalInternalengineInitInternalgetOutputSizeForFinalgetOutputSizeForUpdateupdateInternal

Constructor Detail

OpenSSLEvpCipherARC4back to summary
public OpenSSLEvpCipherARC4()

Method Detail

checkSupportedKeySizeback to summary
pack-priv void checkSupportedKeySize(int keySize) throws InvalidKeyException

Implements abstract org.conscrypt.OpenSSLCipher.checkSupportedKeySize.

Doc from org.conscrypt.OpenSSLCipher.checkSupportedKeySize.

Checks whether the cipher supports this particular keySize (in bytes) and throws InvalidKeyException if it doesn't.

Annotations
@Override
checkSupportedModeback to summary
pack-priv void checkSupportedMode(OpenSSLCipher.Mode mode) throws NoSuchAlgorithmException

Implements abstract org.conscrypt.OpenSSLCipher.checkSupportedMode.

Doc from org.conscrypt.OpenSSLCipher.checkSupportedMode.

Checks whether the cipher supports this particular cipher mode and throws NoSuchAlgorithmException if it doesn't.

Annotations
@Override
checkSupportedPaddingback to summary
pack-priv void checkSupportedPadding(OpenSSLCipher.Padding padding) throws NoSuchPaddingException

Implements abstract org.conscrypt.OpenSSLCipher.checkSupportedPadding.

Doc from org.conscrypt.OpenSSLCipher.checkSupportedPadding.

Checks whether the cipher supports this particular cipher padding and throws NoSuchPaddingException if it doesn't.

Annotations
@Override
getBaseCipherNameback to summary
pack-priv String getBaseCipherName()

Implements abstract org.conscrypt.OpenSSLCipher.getBaseCipherName.

Doc from org.conscrypt.OpenSSLCipher.getBaseCipherName.

Returns the standard name for the particular algorithm.

Annotations
@Override
getCipherBlockSizeback to summary
pack-priv int getCipherBlockSize()

Implements abstract org.conscrypt.OpenSSLCipher.getCipherBlockSize.

Annotations
@Override
getCipherNameback to summary
pack-priv String getCipherName(int keySize, OpenSSLCipher.Mode mode)

Implements abstract org.conscrypt.OpenSSLEvpCipher.getCipherName.

Doc from org.conscrypt.OpenSSLEvpCipher.getCipherName.

Returns the OpenSSL cipher name for the particular keySize and cipher mode.

Annotations
@Override
supportsVariableSizeKeyback to summary
pack-priv boolean supportsVariableSizeKey()

Overrides org.conscrypt.OpenSSLCipher.supportsVariableSizeKey.

Annotations
@Override