Top Inners Fields Constructors Methods
org.conscrypt

public abstract Class OpenSSLEvpCipherDESEDE

extends OpenSSLEvpCipher
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherDESEDE.CBC
Annotations
@Internal
Imports
java.security.InvalidKeyException, .NoSuchAlgorithmException, java.util.Locale, javax.crypto.NoSuchPaddingException

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private static final int

Constructor Summary

AccessConstructor and Description
pack-priv

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.
Inherited from org.conscrypt.OpenSSLEvpCipher:
doFinalInternalengineInitInternalgetOutputSizeForFinalgetOutputSizeForUpdateupdateInternal

Field Detail

DES_BLOCK_SIZEback to summary
private static final int DES_BLOCK_SIZE

Constructor Detail

OpenSSLEvpCipherDESEDEback to summary
pack-priv OpenSSLEvpCipherDESEDE(OpenSSLCipher.Mode mode, OpenSSLCipher.Padding padding)

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
org.conscrypt back to summary

public Class OpenSSLEvpCipherDESEDE.CBC

extends OpenSSLEvpCipherDESEDE
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherDESEDE.CBC.NoPadding, org.conscrypt.OpenSSLEvpCipherDESEDE.CBC.PKCS5Padding

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from org.conscrypt.OpenSSLEvpCipherDESEDE:
checkSupportedKeySizecheckSupportedModecheckSupportedPaddinggetBaseCipherNamegetCipherBlockSizegetCipherName

Constructor Detail

CBCback to summary
pack-priv CBC(OpenSSLCipher.Padding padding)
org.conscrypt back to summary

public Class OpenSSLEvpCipherDESEDE.CBC.NoPadding

extends CBC
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

NoPaddingback to summary
public NoPadding()
org.conscrypt back to summary

public Class OpenSSLEvpCipherDESEDE.CBC.PKCS5Padding

extends CBC
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

PKCS5Paddingback to summary
public PKCS5Padding()