public class CK_TOKEN_INFO
extends java.lang.Object
Further information is provided in the PKCS#11 standard and the SDK Reference Guide.
| Modifier and Type | Field and Description |
|---|---|
CK_VERSION |
firmwareVersion
version number of the firmware
|
long |
flags
bit flags indicating capabilites and status of the device
|
long |
freePrivateMemory
amout of free (unused) memory on the token in bytes for private
objects
|
long |
freePublicMemory
amout of free (unused) memory on the token in bytes for public
objects
|
CK_VERSION |
hardwareVersion
version number of the hardware
|
byte[] |
label
CK.TOKEN_LABEL_SIZE application defined label assigned during
initialisation. |
byte[] |
manufacturerID
CK.TOKEN_MANUFACTURER_SIZE ID of the device manufacturer |
long |
maxPinLen
maximum length in bytes of the PIN
|
long |
maxRwSessionCount
maximum number of read/write sessions that can be open with the token
at one time
|
long |
maxSessionCount
maximum number of sessions that can be open with the token at one
time
|
long |
minPinLen
minimum length in bytes of the PIN
|
byte[] |
model
CK.TOKEN_MODEL_SIZE model of the device |
long |
rwSessionCount
number of read/write sessions that this application currently has
open with the token
|
byte[] |
serialNumber
CK.TOKEN_SERIAL_NUMBER_SIZE character string serial number of
the device |
long |
sessionCount
number of sessions that this application currently has open with
the token
|
long |
totalPrivateMemory
total memory on the token in bytes in which private objects may be
stored
|
long |
totalPublicMemory
total memory on the token in bytes in which public objects may be
stored
|
byte[] |
utcTime
CK.TOKEN_TIME_SIZE current time represented as
"YYYYMMDDhhmmss00" |
| Constructor and Description |
|---|
CK_TOKEN_INFO()
Space allocated and values initialised to 0
|
public byte[] label
CK.TOKEN_LABEL_SIZE application defined label assigned during
initialisation.public byte[] manufacturerID
CK.TOKEN_MANUFACTURER_SIZE ID of the device manufacturerpublic byte[] model
CK.TOKEN_MODEL_SIZE model of the devicepublic byte[] serialNumber
CK.TOKEN_SERIAL_NUMBER_SIZE character string serial number of
the devicepublic long flags
public long maxSessionCount
public long sessionCount
public long maxRwSessionCount
public long rwSessionCount
public long maxPinLen
public long minPinLen
public long totalPublicMemory
public long freePublicMemory
public long totalPrivateMemory
public long freePrivateMemory
public CK_VERSION hardwareVersion
public CK_VERSION firmwareVersion
public byte[] utcTime
CK.TOKEN_TIME_SIZE current time represented as
"YYYYMMDDhhmmss00"Copyright (c) 2021 SafeNet. All rights reserved.