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