| java.lang.Object | |
| ↳ | sun.security.pkcs11.wrapper.CK_TOKEN_INFO |
class CK_TOKEN_INFO provides information about a token.
PKCS#11 structure:
typedef struct CK_TOKEN_INFO {
CK_UTF8CHAR label[32];
CK_UTF8CHAR manufacturerID[32];
CK_UTF8CHAR model[16];
CK_CHAR serialNumber[16];
CK_FLAGS flags;
CK_ULONG ulMaxSessionCount;
CK_ULONG ulSessionCount;
CK_ULONG ulMaxRwSessionCount;
CK_ULONG ulRwSessionCount;
CK_ULONG ulMaxPinLen;
CK_ULONG ulMinPinLen;
CK_ULONG ulTotalPublicMemory;
CK_ULONG ulFreePublicMemory;
CK_ULONG ulTotalPrivateMemory;
CK_ULONG ulFreePrivateMemory;
CK_VERSION hardwareVersion;
CK_VERSION firmwareVersion;
CK_CHAR utcTime[16];
} CK_TOKEN_INFO;
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| firmwareVersion | PKCS#11:
CK_VERSION firmwareVersion; |
||||||||||
| flags | PKCS#11:
CK_FLAGS flags; |
||||||||||
| hardwareVersion | PKCS#11:
CK_VERSION hardwareVersion; |
||||||||||
| label | must be blank padded and only the first 32 chars will be used PKCS#11: CK_UTF8CHAR label[32]; |
||||||||||
| manufacturerID | must be blank padded and only the first 32 chars will be used PKCS#11: CK_UTF8CHAR manufacturerID[32]; |
||||||||||
| model | must be blank padded and only the first 16 chars will be used PKCS#11: CK_UTF8CHAR model[16]; |
||||||||||
| serialNumber | must be blank padded and only the first 16 chars will be used PKCS#11: CK_CHAR serialNumber[16]; |
||||||||||
| ulFreePrivateMemory | PKCS#11:
CK_ULONG ulFreePrivateMemory; |
||||||||||
| ulFreePublicMemory | PKCS#11:
CK_ULONG ulFreePublicMemory; |
||||||||||
| ulMaxPinLen | PKCS#11:
CK_ULONG ulMaxPinLen; |
||||||||||
| ulMaxRwSessionCount | PKCS#11:
CK_ULONG ulMaxRwSessionCount; |
||||||||||
| ulMaxSessionCount | PKCS#11:
CK_ULONG ulMaxSessionCount; |
||||||||||
| ulMinPinLen | PKCS#11:
CK_ULONG ulMinPinLen; |
||||||||||
| ulRwSessionCount | PKCS#11:
CK_ULONG ulRwSessionCount; |
||||||||||
| ulSessionCount | PKCS#11:
CK_ULONG ulSessionCount; |
||||||||||
| ulTotalPrivateMemory | PKCS#11:
CK_ULONG ulTotalPrivateMemory; |
||||||||||
| ulTotalPublicMemory | PKCS#11:
CK_ULONG ulTotalPublicMemory; |
||||||||||
| utcTime | only the first 16 chars will be used
PKCS#11:
CK_CHAR utcTime[16]; |
||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the string representation of CK_TOKEN_INFO.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
PKCS#11:
CK_FLAGS flags;
must be blank padded and only the first 32 chars will be used
PKCS#11:
CK_UTF8CHAR label[32];
must be blank padded and only the first 32 chars will be used
PKCS#11:
CK_UTF8CHAR manufacturerID[32];
must be blank padded and only the first 16 chars will be used
PKCS#11:
CK_UTF8CHAR model[16];
must be blank padded and only the first 16 chars will be used
PKCS#11:
CK_CHAR serialNumber[16];
PKCS#11:
CK_ULONG ulFreePrivateMemory;
PKCS#11:
CK_ULONG ulFreePublicMemory;
PKCS#11:
CK_ULONG ulMaxPinLen;
PKCS#11:
CK_ULONG ulMaxRwSessionCount;
PKCS#11:
CK_ULONG ulMaxSessionCount;
PKCS#11:
CK_ULONG ulMinPinLen;
PKCS#11:
CK_ULONG ulRwSessionCount;
PKCS#11:
CK_ULONG ulSessionCount;
PKCS#11:
CK_ULONG ulTotalPrivateMemory;
PKCS#11:
CK_ULONG ulTotalPublicMemory;
only the first 16 chars will be used PKCS#11:
CK_CHAR utcTime[16];
Returns the string representation of CK_TOKEN_INFO.