public class Key extends Storage
Modifier and Type | Field and Description |
---|---|
static int |
CKK_ACTI |
static int |
CKK_AES |
static int |
CKK_ARIA |
static int |
CKK_BATON |
static int |
CKK_CAMELLIA |
static int |
CKK_CAST |
static int |
CKK_CAST128 |
static int |
CKK_CAST3 |
static int |
CKK_CDMF |
static int |
CKK_DES |
static int |
CKK_DES2 |
static int |
CKK_DES3 |
static int |
CKK_DH |
static int |
CKK_DSA |
static int |
CKK_EC |
static int |
CKK_GENERIC_SECRET |
static int |
CKK_HOTP |
static int |
CKK_IDEA |
static int |
CKK_JUNIPER |
static int |
CKK_KEA |
static int |
CKK_RC2 |
static int |
CKK_RC4 |
static int |
CKK_RC5 |
static int |
CKK_RSA |
static int |
CKK_SECURID |
static int |
CKK_SKIPJACK |
static int |
CKK_X9_42_DH |
static int |
ERACOM_PTK_DSA_DISCRETE |
static int |
ERACOM_PTK_RSA_DISCRETE |
static int |
ERACOM_PTK_SEED |
CKO_CERTIFICATE, CKO_DATA, CKO_DOMAIN_PARAMETERS, CKO_HW_FEATURE, CKO_MECHANISM, CKO_OTP_KEY, CKO_PRIVATE_KEY, CKO_PUBLIC_KEY, CKO_SECRET_KEY, ERACOM_PTK_ADAPTER, ERACOM_PTK_CERTIFICATE_REQUEST, ERACOM_PTK_CRL, ERACOM_PTK_FM, ERACOM_PTK_SLOT
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEndDate()
Value of this CKA_END_DATE attribute
|
byte[] |
getID()
Value of this CKA_ID attribute
|
long |
getKeyGenMechanismType()
Value of this CKA_KEY_GEN_MECHANISM attribute
|
long |
getKeyType()
Value of this CKA_KEY_TYPE attribute
|
java.lang.String |
getKeyTypeName()
Gets the name of the key type.
|
java.lang.String |
getStartDate()
Value of this CKA_START_DATE attribute
|
boolean |
isDerive()
Value of this CKA_DERIVE attribute
|
boolean |
isLocal()
Value of this CKA_LOCAL attribute
|
java.lang.String |
toString()
Returns a String that represents this instance.
|
static java.lang.String |
typeToString(long ckk)
Convert Key Type value to name.
|
getLabel, isModifiable, isPrivate, isToken
classToString, Copy, getAttributes, getClassName, getHandle, getObjectClass, getSize
public static final int CKK_RSA
public static final int CKK_DSA
public static final int CKK_DH
public static final int CKK_EC
public static final int CKK_X9_42_DH
public static final int CKK_KEA
public static final int CKK_GENERIC_SECRET
public static final int CKK_RC2
public static final int CKK_RC4
public static final int CKK_DES
public static final int CKK_DES2
public static final int CKK_DES3
public static final int CKK_CAST
public static final int CKK_CAST3
public static final int CKK_CAST128
public static final int CKK_RC5
public static final int CKK_IDEA
public static final int CKK_SKIPJACK
public static final int CKK_BATON
public static final int CKK_JUNIPER
public static final int CKK_CDMF
public static final int CKK_AES
public static final int CKK_SECURID
public static final int CKK_HOTP
public static final int CKK_ACTI
public static final int CKK_CAMELLIA
public static final int CKK_ARIA
public static final int ERACOM_PTK_RSA_DISCRETE
public static final int ERACOM_PTK_DSA_DISCRETE
public static final int ERACOM_PTK_SEED
public static final java.lang.String typeToString(long ckk)
ckk
- valuepublic long getKeyType()
public java.lang.String getKeyTypeName()
public long getKeyGenMechanismType()
public byte[] getID()
public java.lang.String getStartDate()
public java.lang.String getEndDate()
public boolean isDerive()
public boolean isLocal()
public java.lang.String toString()
toString
in class java.lang.Object