protected static enum OpenSSLCipher.Mode extends Enum<OpenSSLCipher.Mode>
Modifier and Type | Method and Description |
---|---|
static OpenSSLCipher.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenSSLCipher.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenSSLCipher.Mode CBC
public static final OpenSSLCipher.Mode CTR
public static final OpenSSLCipher.Mode ECB
public static final OpenSSLCipher.Mode GCM
public static OpenSSLCipher.Mode[] values()
for (OpenSSLCipher.Mode c : OpenSSLCipher.Mode.values()) System.out.println(c);
public static OpenSSLCipher.Mode 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 null