public static enum LunaAPI.CKMS extends Enum<LunaAPI.CKMS>
Enum Constant and Description |
---|
RIPEMD160_HMAC |
SHA1_HMAC |
SHA224_HMAC |
SHA256_HMAC |
SHA384_HMAC |
SHA512_HMAC |
Modifier and Type | Method and Description |
---|---|
static LunaAPI.CKMS |
get(long code) |
long |
getCode() |
int |
getDefaultSize() |
static LunaAPI.CKMS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LunaAPI.CKMS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LunaAPI.CKMS SHA1_HMAC
public static final LunaAPI.CKMS SHA224_HMAC
public static final LunaAPI.CKMS SHA256_HMAC
public static final LunaAPI.CKMS SHA384_HMAC
public static final LunaAPI.CKMS SHA512_HMAC
public static final LunaAPI.CKMS RIPEMD160_HMAC
public static LunaAPI.CKMS[] values()
for (LunaAPI.CKMS c : LunaAPI.CKMS.values()) System.out.println(c);
public static LunaAPI.CKMS 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 long getCode()
public int getDefaultSize()
public static LunaAPI.CKMS get(long code)
Copyright 2014-2016 SafeNet Inc