public enum Encryption extends Enum<Encryption>
| Enum Constant and Description | 
|---|
| _3DESTriple-DES encryption. | 
| AES128AES encryption with 128-bit keys. | 
| AES128GCMAES encryption with 128-bit keys in Galois counter mode (GCM). | 
| AES256AES encryption with 256-bit keys. | 
| AES256GCMAES encryption with 256-bit keys in Galois counter mode (GCM). | 
| CAMELLIA128Camellia encryption with 128-bit keys. | 
| CAMELLIA256Camellia encryption with 256-bit keys. | 
| DESSimple DES encryption. | 
| FZAFortezza encryption. | 
| GOST2814789CNTGOST 28147-89 encryption as defined in RFC 5830. | 
| IDEAIDEA encryption. | 
| NULLNo encryption. | 
| RC2RC2 encryption. | 
| RC4RC4 encryption. | 
| SEEDSEED encryption. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | in(Encryption... values)Determine whether this instance is equal to one of the given instances. | 
| boolean | in(Encryption value1,
  Encryption value2)Determine whether this instance is equal to one of the given instances. | 
| boolean | in(Encryption value1,
  Encryption value2,
  Encryption value3)Determine whether this instance is equal to one of the given instances. | 
| static boolean | isFull(EnumSet<Encryption> encryptions)Determine whether the given set is "full" (meaning it contains all possible values). | 
| static Encryption | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Encryption[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Encryption NULL
public static final Encryption AES256GCM
public static final Encryption AES256
public static final Encryption AES128GCM
public static final Encryption AES128
public static final Encryption CAMELLIA256
public static final Encryption CAMELLIA128
public static final Encryption _3DES
public static final Encryption DES
public static final Encryption IDEA
public static final Encryption GOST2814789CNT
public static final Encryption SEED
public static final Encryption FZA
public static final Encryption RC4
public static final Encryption RC2
public static Encryption[] values()
for (Encryption c : Encryption.values()) System.out.println(c);
public static Encryption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static boolean isFull(EnumSet<Encryption> encryptions)
encryptions - the settrue if the set is full, false otherwisepublic boolean in(Encryption value1, Encryption value2)
value1 - the first instancevalue2 - the second instancetrue if one of the instances matches this one, false otherwisepublic boolean in(Encryption value1, Encryption value2, Encryption value3)
value1 - the first instancevalue2 - the second instancevalue3 - the third instancetrue if one of the instances matches this one, false otherwisepublic boolean in(Encryption... values)
values - the values to match againsttrue if one of the instances matches this one, false otherwiseCopyright © 2018 JBoss by Red Hat. All rights reserved.