public static enum LunaAPI.CKMS extends java.lang.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(java.lang.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(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 int getDefaultSize()
public static LunaAPI.CKMS get(long code)
Copyright 2014-2018 SafeNet. All rights reserved.