public class Certificate extends Storage
Modifier and Type | Field and Description |
---|---|
static int |
CKC_VENDOR_DEFINED |
static int |
CKC_WTLS |
static int |
CKC_X_509 |
static int |
CKC_X_509_ATTR_CERT |
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 |
getCertificateTypeName()
Gets the name of the certificate type.
|
byte[] |
getSerialNumber()
Serial number of this certificate
|
long |
getType()
Type of this certificate
|
byte[] |
getValue()
Value of this certificate
|
java.lang.String |
toString()
Returns a String that represents this instance.
|
static java.lang.String |
typeToString(long cks)
Convert int constant value to name.
|
getLabel, isModifiable, isPrivate, isToken
classToString, Copy, getAttributes, getClassName, getHandle, getObjectClass, getSize
public static final int CKC_X_509
public static final int CKC_X_509_ATTR_CERT
public static final int CKC_WTLS
public static final int CKC_VENDOR_DEFINED
public static final java.lang.String typeToString(long cks)
cks
- valuepublic long getType()
public byte[] getSerialNumber()
public byte[] getValue()
public java.lang.String getCertificateTypeName()
public java.lang.String toString()
toString
in class java.lang.Object