public static enum LunaAPI.CKD extends java.lang.Enum<LunaAPI.CKD>
Enum Constant and Description |
---|
NULL |
RIPEMD160 |
RIPEMD160_NIST |
SHA1 |
SHA1_NIST |
SHA224 |
SHA224_NIST |
SHA256 |
SHA256_NIST |
SHA384 |
SHA384_NIST |
SHA512 |
SHA512_NIST |
Modifier and Type | Method and Description |
---|---|
static LunaAPI.CKD |
get(long code) |
long |
getCode() |
int |
getDefaultSize() |
static LunaAPI.CKD |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LunaAPI.CKD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LunaAPI.CKD NULL
public static final LunaAPI.CKD SHA1
public static final LunaAPI.CKD SHA224
public static final LunaAPI.CKD SHA256
public static final LunaAPI.CKD SHA384
public static final LunaAPI.CKD SHA512
public static final LunaAPI.CKD RIPEMD160
public static final LunaAPI.CKD SHA1_NIST
public static final LunaAPI.CKD SHA224_NIST
public static final LunaAPI.CKD SHA256_NIST
public static final LunaAPI.CKD SHA384_NIST
public static final LunaAPI.CKD SHA512_NIST
public static final LunaAPI.CKD RIPEMD160_NIST
public static LunaAPI.CKD[] values()
for (LunaAPI.CKD c : LunaAPI.CKD.values()) System.out.println(c);
public static LunaAPI.CKD 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.CKD get(long code)
public int getDefaultSize()
Copyright 2014-2018 SafeNet. All rights reserved.