public enum EncryptionAlgorithm extends java.lang.Enum<EncryptionAlgorithm>
Enum Constant and Description |
---|
AES_CTR
Counter mode (CTR) allows fast encryption with high throughput.
|
AES_GCM
Galois/Counter mode (GCM) combines CTR with the new Galois mode of authentication.
|
AES_GCM_CTR
A combination of GCM and CTR that can be used for file types like Parquet, so that all modules
except pages are encrypted by GCM to ensure integrity, and CTR is used for efficient encryption
of bulk data.
|
Modifier and Type | Method and Description |
---|---|
static EncryptionAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionAlgorithm AES_CTR
public static final EncryptionAlgorithm AES_GCM
public static final EncryptionAlgorithm AES_GCM_CTR
public static EncryptionAlgorithm[] values()
for (EncryptionAlgorithm c : EncryptionAlgorithm.values()) System.out.println(c);
public static EncryptionAlgorithm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null