Package org.wildfly.security.ssl
Enum Class Encryption
- All Implemented Interfaces:
Serializable,Comparable<Encryption>,Constable
The encryption type for SSL/TLS cipher suite selection.
- Author:
- David M. Lloyd
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTriple-DES encryption.AES encryption with 128-bit keys.AES encryption with 128-bit keys in CBC-MAC Mode (CCM).AES encryption with 128-bit keys in CBC-MAC Mode (CCM) with an 8-Octet Integrity Check Value.AES encryption with 128-bit keys in Galois counter mode (GCM).AES encryption with 256-bit keys.AES encryption with 256-bit keys in CBC-MAC Mode (CCM).AES encryption with 256-bit keys in CBC-MAC Mode (CCM) with an 8-Octet Integrity Check Value.AES encryption with 256-bit keys in Galois counter mode (GCM).ARIA encryption with 128-bit.ARIA encryption with 128-bit keys in Galois counter mode (GCM).ARIA encryption with 256-bit keys.ARIA encryption with 256-bit keys in Galois counter mode (GCM).Camellia encryption with 128-bit keys.Camellia encryption with 256-bit keys.ChaCha20 encryption.Simple DES encryption.Fortezza encryption.GOST 28147-89 encryption as defined in RFC 5830.IDEA encryption.No encryption.RC2 encryption.RC4 encryption.SEED encryption. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanin(Encryption... values) Determine whether this instance is equal to one of the given instances.booleanin(Encryption value1, Encryption value2) Determine whether this instance is equal to one of the given instances.booleanin(Encryption value1, Encryption value2, Encryption value3) Determine whether this instance is equal to one of the given instances.static booleanisFull(EnumSet<Encryption> encryptions) Determine whether the given set is "full" (meaning it contains all possible values).static EncryptionReturns the enum constant of this class with the specified name.static Encryption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NULL
No encryption. -
AES256GCM
AES encryption with 256-bit keys in Galois counter mode (GCM). -
AES256CCM
AES encryption with 256-bit keys in CBC-MAC Mode (CCM). -
AES256CCM8
AES encryption with 256-bit keys in CBC-MAC Mode (CCM) with an 8-Octet Integrity Check Value. -
AES256
AES encryption with 256-bit keys. -
AES128GCM
AES encryption with 128-bit keys in Galois counter mode (GCM). -
AES128CCM
AES encryption with 128-bit keys in CBC-MAC Mode (CCM). -
AES128CCM8
AES encryption with 128-bit keys in CBC-MAC Mode (CCM) with an 8-Octet Integrity Check Value. -
AES128
AES encryption with 128-bit keys. -
CAMELLIA256
Camellia encryption with 256-bit keys. -
CAMELLIA128
Camellia encryption with 128-bit keys. -
_3DES
Triple-DES encryption. -
DES
Simple DES encryption. -
IDEA
IDEA encryption. -
GOST2814789CNT
GOST 28147-89 encryption as defined in RFC 5830. -
SEED
SEED encryption. -
FZA
Fortezza encryption. -
RC4
RC4 encryption. -
RC2
RC2 encryption. -
CHACHA20
ChaCha20 encryption. -
ARIA256GCM
ARIA encryption with 256-bit keys in Galois counter mode (GCM). -
ARIA256
ARIA encryption with 256-bit keys. -
ARIA128GCM
ARIA encryption with 128-bit keys in Galois counter mode (GCM). -
ARIA128
ARIA encryption with 128-bit.
-
-
Field Details
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isFull
Determine whether the given set is "full" (meaning it contains all possible values).- Parameters:
encryptions- the set- Returns:
trueif the set is full,falseotherwise
-
in
Determine whether this instance is equal to one of the given instances.- Parameters:
value1- the first instancevalue2- the second instance- Returns:
trueif one of the instances matches this one,falseotherwise
-
in
Determine whether this instance is equal to one of the given instances.- Parameters:
value1- the first instancevalue2- the second instancevalue3- the third instance- Returns:
trueif one of the instances matches this one,falseotherwise
-
in
Determine whether this instance is equal to one of the given instances.- Parameters:
values- the values to match against- Returns:
trueif one of the instances matches this one,falseotherwise
-
CHACHA20instead.