Top Inners Fields Constructors Methods
org.conscrypt

public abstract Class OpenSSLEvpCipherAES

extends OpenSSLEvpCipher
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherAES.AES, org.conscrypt.OpenSSLEvpCipherAES.AES_128, org.conscrypt.OpenSSLEvpCipherAES.AES_256
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
public static class
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
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 keyLength, 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

AES_BLOCK_SIZEback to summary
private static final int AES_BLOCK_SIZE

Constructor Detail

OpenSSLEvpCipherAESback to summary
pack-priv OpenSSLEvpCipherAES(OpenSSLCipher.Mode mode, OpenSSLCipher.Padding padding)

Method Detail

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 keyLength, 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 OpenSSLEvpCipherAES.AES

extends OpenSSLEvpCipherAES
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherAES.AES.CBC, org.conscrypt.OpenSSLEvpCipherAES.AES.CTR, org.conscrypt.OpenSSLEvpCipherAES.AES.ECB

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

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

Implements abstract org.conscrypt.OpenSSLCipher.checkSupportedKeySize.

Checks whether the cipher supports this particular keySize (in bytes) and throws InvalidKeyException if it doesn't.
Inherited from org.conscrypt.OpenSSLEvpCipherAES:
checkSupportedModecheckSupportedPaddinggetBaseCipherNamegetCipherBlockSizegetCipherName

Constructor Detail

AESback to summary
pack-priv AES(OpenSSLCipher.Mode mode, OpenSSLCipher.Padding padding)

Method Detail

checkSupportedKeySizeback to summary
pack-priv void checkSupportedKeySize(int keyLength) 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
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES.CBC

extends AES
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherAES.AES.CBC.NoPadding, org.conscrypt.OpenSSLEvpCipherAES.AES.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

Constructor Detail

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

public Class OpenSSLEvpCipherAES.AES.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 OpenSSLEvpCipherAES.AES.CBC.PKCS5Padding

extends CBC
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

PKCS5Paddingback to summary
public PKCS5Padding()
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES.CTR

extends AES
Class Inheritance

Constructor Summary

AccessConstructor and Description
public
CTR()

Constructor Detail

CTRback to summary
public CTR()
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES.ECB

extends AES
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherAES.AES.ECB.NoPadding, org.conscrypt.OpenSSLEvpCipherAES.AES.ECB.PKCS5Padding

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Constructor Summary

AccessConstructor and Description
pack-priv

Constructor Detail

ECBback to summary
pack-priv ECB(OpenSSLCipher.Padding padding)
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES.ECB.NoPadding

extends ECB
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

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

public Class OpenSSLEvpCipherAES.AES.ECB.PKCS5Padding

extends ECB
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

PKCS5Paddingback to summary
public PKCS5Padding()
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES_128

extends OpenSSLEvpCipherAES
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherAES.AES_128.CBC, org.conscrypt.OpenSSLEvpCipherAES.AES_128.CTR, org.conscrypt.OpenSSLEvpCipherAES.AES_128.ECB

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

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

Implements abstract org.conscrypt.OpenSSLCipher.checkSupportedKeySize.

Checks whether the cipher supports this particular keySize (in bytes) and throws InvalidKeyException if it doesn't.
Inherited from org.conscrypt.OpenSSLEvpCipherAES:
checkSupportedModecheckSupportedPaddinggetBaseCipherNamegetCipherBlockSizegetCipherName

Constructor Detail

AES_128back to summary
pack-priv AES_128(OpenSSLCipher.Mode mode, OpenSSLCipher.Padding padding)

Method Detail

checkSupportedKeySizeback to summary
pack-priv void checkSupportedKeySize(int keyLength) 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
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES_128.CBC

extends AES_128
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherAES.AES_128.CBC.NoPadding, org.conscrypt.OpenSSLEvpCipherAES.AES_128.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

Constructor Detail

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

public Class OpenSSLEvpCipherAES.AES_128.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 OpenSSLEvpCipherAES.AES_128.CBC.PKCS5Padding

extends CBC
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

PKCS5Paddingback to summary
public PKCS5Padding()
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES_128.CTR

extends AES_128
Class Inheritance

Constructor Summary

AccessConstructor and Description
public
CTR()

Constructor Detail

CTRback to summary
public CTR()
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES_128.ECB

extends AES_128
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherAES.AES_128.ECB.NoPadding, org.conscrypt.OpenSSLEvpCipherAES.AES_128.ECB.PKCS5Padding

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Constructor Summary

AccessConstructor and Description
pack-priv

Constructor Detail

ECBback to summary
pack-priv ECB(OpenSSLCipher.Padding padding)
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES_128.ECB.NoPadding

extends ECB
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

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

public Class OpenSSLEvpCipherAES.AES_128.ECB.PKCS5Padding

extends ECB
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

PKCS5Paddingback to summary
public PKCS5Padding()
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES_256

extends OpenSSLEvpCipherAES
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherAES.AES_256.CBC, org.conscrypt.OpenSSLEvpCipherAES.AES_256.CTR, org.conscrypt.OpenSSLEvpCipherAES.AES_256.ECB

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

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

Implements abstract org.conscrypt.OpenSSLCipher.checkSupportedKeySize.

Checks whether the cipher supports this particular keySize (in bytes) and throws InvalidKeyException if it doesn't.
Inherited from org.conscrypt.OpenSSLEvpCipherAES:
checkSupportedModecheckSupportedPaddinggetBaseCipherNamegetCipherBlockSizegetCipherName

Constructor Detail

AES_256back to summary
pack-priv AES_256(OpenSSLCipher.Mode mode, OpenSSLCipher.Padding padding)

Method Detail

checkSupportedKeySizeback to summary
pack-priv void checkSupportedKeySize(int keyLength) 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
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES_256.CBC

extends AES_256
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherAES.AES_256.CBC.NoPadding, org.conscrypt.OpenSSLEvpCipherAES.AES_256.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

Constructor Detail

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

public Class OpenSSLEvpCipherAES.AES_256.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 OpenSSLEvpCipherAES.AES_256.CBC.PKCS5Padding

extends CBC
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

PKCS5Paddingback to summary
public PKCS5Padding()
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES_256.CTR

extends AES_256
Class Inheritance

Constructor Summary

AccessConstructor and Description
public
CTR()

Constructor Detail

CTRback to summary
public CTR()
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES_256.ECB

extends AES_256
Class Inheritance
Known Direct Subclasses
org.conscrypt.OpenSSLEvpCipherAES.AES_256.ECB.NoPadding, org.conscrypt.OpenSSLEvpCipherAES.AES_256.ECB.PKCS5Padding

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Constructor Summary

AccessConstructor and Description
pack-priv

Constructor Detail

ECBback to summary
pack-priv ECB(OpenSSLCipher.Padding padding)
org.conscrypt back to summary

public Class OpenSSLEvpCipherAES.AES_256.ECB.NoPadding

extends ECB
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

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

public Class OpenSSLEvpCipherAES.AES_256.ECB.PKCS5Padding

extends ECB
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

PKCS5Paddingback to summary
public PKCS5Padding()