public abstract class P11StorageObject
extends java.lang.Object
Using this class a software representation of an Entrust digital identity in PKCS #11 format can be defined, as required by a Card Management System (CMS). This representation is simply a collection of these storage objects.
This object specifies values for all the following object attributes:
For storage attributes that have not yet been specified (CKA_MODIFIABLE), or have been specified but have not been set in the storage object implementation, default values are to be used when the object is written to the smart card by the CMS.
This class is abstract; the following storage object implementations are used to create a software representation of an Entrust digital identity in PKCS #11 format:
Each of these storage object implementations specifies additional attributes that must also be written to the smart card. To properly create the Entrust digital identity on a smart card, each object must be written with all the attribute values specified by the implementation.
CMPForCardMS| Modifier and Type | Method and Description |
|---|---|
long |
getCkaClass()
Returns the object class (type).
|
java.lang.String |
getCkaLabel()
Returns a description of the object.
|
java.lang.Boolean |
getCkaPrivate()
Returns an indicator for whether the object is a public object or a private
object.
|
java.lang.Boolean |
getCkaToken()
Returns an indicator for whether the object is a token object or a session
object.
|
boolean |
isDataObject()
Indicate whether this PKCS #11 storage object is a data object.
|
boolean |
isPrivateKeyObject()
Indicate whether this PKCS #11 storage object is a private key object.
|
boolean |
isX509CertificateObject()
Indicate whether this PKCS #11 storage object is an X.509 certificate
object.
|
public long getCkaClass()
public java.lang.Boolean getCkaToken()
null otherwisepublic java.lang.Boolean getCkaPrivate()
null otherwisepublic java.lang.String getCkaLabel()
null otherwisepublic boolean isDataObject()
true if this object is a data object; false
otherwisepublic boolean isX509CertificateObject()
true if this object is a X.509 certificate object;
false otherwisepublic boolean isPrivateKeyObject()
true if this object is a private key object;
false otherwise