public enum AesEncryptionMethod extends Enum<AesEncryptionMethod>
Enum Constant and Description |
---|
AES_128
Detailed encryption method
|
SAMPLE_AES
Detailed encryption method
|
Modifier and Type | Method and Description |
---|---|
static AesEncryptionMethod |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static AesEncryptionMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AesEncryptionMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AesEncryptionMethod SAMPLE_AES
public static final AesEncryptionMethod AES_128
public static AesEncryptionMethod[] values()
for (AesEncryptionMethod c : AesEncryptionMethod.values()) System.out.println(c);
public static AesEncryptionMethod 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 String getValue()
public String toString()
toString
in class Enum<AesEncryptionMethod>
public static AesEncryptionMethod fromValue(String text)
Copyright © 2021. All rights reserved.