public static enum LunaAPI.CKES extends java.lang.Enum<LunaAPI.CKES>
Enum Constant and Description |
---|
AES_CBC |
AES_CBC_PAD |
DESede_CBC |
DESede_CBC_PAD |
XOR |
Modifier and Type | Method and Description |
---|---|
static LunaAPI.CKES |
get(long code) |
long |
getCode() |
static LunaAPI.CKES |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LunaAPI.CKES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LunaAPI.CKES XOR
public static final LunaAPI.CKES AES_CBC_PAD
public static final LunaAPI.CKES AES_CBC
public static final LunaAPI.CKES DESede_CBC_PAD
public static final LunaAPI.CKES DESede_CBC
public static LunaAPI.CKES[] values()
for (LunaAPI.CKES c : LunaAPI.CKES.values()) System.out.println(c);
public static LunaAPI.CKES 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 long getCode()
public static LunaAPI.CKES get(long code)
Copyright 2014-2018 SafeNet. All rights reserved.