Creates an instance of SessionObject
Creates an instance of SessionObject
ID of session object
PKCS#11 session
PKCS#11 module
Object class (type)
CK_TRUE
if key supports key derivation
(i.e., if other keys can be derived from this one (default CK_FALSE
)
C_SetAttributeValue
call,
or in the process of copying object with a C_CopyObject
call.
However, it is possible that a particular token may not permit modification
of the attribute during the course of a C_CopyObject
call.true
if key supports encryption
C_SetAttributeValue
call,
or in the process of copying object with a C_CopyObject
call.
However, it is possible that a particular token may not permit modification of the attribute
during the course of a C_CopyObject
call.End date for the key (default empty)
C_SetAttributeValue
call,
or in the process of copying object with a C_CopyObject
call.
However, it is possible that a particular token may not permit modification
of the attribute during the course of a C_CopyObject
call.ID of PKCS#11 object
Key identifier for key (default empty)
C_SetAttributeValue
call,
or in the process of copying object with a C_CopyObject
call.
However, it is possible that a particular token may not permit modification
of the attribute during the course of a C_CopyObject
call.Description of the object (default empty)
PKCS#11 module
CK_TRUE
only if key was either * generated locally (i.e., on the token)
with a C_GenerateKey
or C_GenerateKeyPair
call * created with a C_CopyObject
call
as a copy of a key which had its CKA_LOCAL
attribute set to CK_TRUE
C_CreateObject
.C_GenerateKey
or C_GenerateKeyPair
.C_UnwrapKey
.Identifier of the mechanism used to generate the key material.
C_CreateObject
.C_GenerateKey
or C_GenerateKeyPair
.C_UnwrapKey
.true
if object can be modified. Default is false
true
if object is a private object and
false
if object is a public object.
Default value is token-specific, and may depend on the values of other attributes of the object.
PKCS#11 session
Start date for the key (default empty)
C_SetAttributeValue
call,
or in the process of copying object with a C_CopyObject
call.
However, it is possible that a particular token may not permit modification
of the attribute during the course of a C_CopyObject
call.DER-encoding of the key subject name (default empty)
C_SetAttributeValue
call,
or in the process of copying object with a C_CopyObject
call.
However, it is possible that a particular token may not permit modification of the attribute
during the course of a C_CopyObject
call.true
if object is a token object and
false
if object is a session object.
Default is false
.
The key can be trusted for the application that it was created.
CKA_WRAP_WITH_TRUSTED
set to true
.Type of key
C_CreateObject
C_UnwrapKey
true
if key supports verification where the signature is an appendix to the data
C_SetAttributeValue
call,
or in the process of copying object with a C_CopyObject
call.
However, it is possible that a particular token may not permit modification of the attribute
during the course of a C_CopyObject
call.true
if key supports verification where the data is recovered from the signature
C_SetAttributeValue
call,
or in the process of copying object with a C_CopyObject
call.
However, it is possible that a particular token may not permit modification of the attribute
during the course of a C_CopyObject
call.true
if key supports wrapping (i.e., can be used to wrap other keys)
C_SetAttributeValue
call,
or in the process of copying object with a C_CopyObject
call.
However, it is possible that a particular token may not permit modification of the attribute
during the course of a C_CopyObject
call.Gets the size of an object in bytes
For wrapping keys. The attribute template to match against any keys wrapped using this wrapping key. Keys that do not match cannot be wrapped.
Copies an object, creating a new object for the copy
Template for the new object
The new instance of SessionObject
Alias for getAttribute
Returns attribute value
Attribute type
Attribute value in Buffer format
Returns attribute value
Attribute name. See ITemplate
Attribute value. Depends on the attribute name
Returns a list of attributes
The list of attributes for receiving
The list of attributes
Protected
getAlias for setAttribute
Sets attribute value
Attribute type
Attribute value
Sets attribute value
Attribute name. See ITemplate
Attribute value. Depends on attribute name
Sets attributes from the list of attributes
The list of attributes
Public key objects (object class CKO_PUBLIC_KEY) hold public keys