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