public static enum Encryptor.CipherMode extends java.lang.Enum<Encryptor.CipherMode>
Enum Constant and Description |
---|
AES_CBC_CIPHER |
AES_GCM_CIPHER |
RSA_OAEP_SHA256 |
RSA_PKCS1 |
Modifier and Type | Method and Description |
---|---|
static Encryptor.CipherMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Encryptor.CipherMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Encryptor.CipherMode AES_CBC_CIPHER
public static final Encryptor.CipherMode AES_GCM_CIPHER
public static final Encryptor.CipherMode RSA_PKCS1
public static final Encryptor.CipherMode RSA_OAEP_SHA256
public static Encryptor.CipherMode[] values()
for (Encryptor.CipherMode c : Encryptor.CipherMode.values()) System.out.println(c);
public static Encryptor.CipherMode 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