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;
| Modifier and Type | Field and Description |
|---|---|
| public CK_VERSION | |
| public long | |
| public CK_VERSION | |
| public char[] | |
| public char[] | manufacturerID
must be blank padded and only the first 32 chars will be used PKCS#11: CK_UTF8CHAR manufacturerID[32]; |
| public char[] | |
| public char[] | serialNumber
must be blank padded and only the first 16 chars will be used PKCS#11: CK_CHAR serialNumber[16]; |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public char[] |
| Access | Constructor and Description |
|---|---|
| public | CK_TOKEN_INFO(char[] label, char[] vendor, char[] model, char[] serialNo, long flags, long sessionMax, long session, long rwSessionMax, long rwSession, long pinLenMax, long pinLenMin, long totalPubMem, long freePubMem, long totalPrivMem, long freePrivMem, CK_VERSION hwVer, CK_VERSION fwVer, char[] utcTime)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the string representation of CK_TOKEN_INFOOverrides java. Returns the string representation of CK_TOKEN_INFO. |
| firmwareVersion | back to summary |
|---|---|
| public CK_VERSION firmwareVersion PKCS#11: CK_VERSION firmwareVersion; | |
| flags | back to summary |
|---|---|
| public long flags PKCS#11: CK_FLAGS flags; | |
| hardwareVersion | back to summary |
|---|---|
| public CK_VERSION hardwareVersion PKCS#11: CK_VERSION hardwareVersion; | |
| label | back to summary |
|---|---|
| public char[] label must be blank padded and only the first 32 chars will be used PKCS#11: CK_UTF8CHAR label[32]; | |
| manufacturerID | back to summary |
|---|---|
| public char[] manufacturerID must be blank padded and only the first 32 chars will be used PKCS#11: CK_UTF8CHAR manufacturerID[32]; | |
| model | back to summary |
|---|---|
| public char[] model must be blank padded and only the first 16 chars will be used PKCS#11: CK_UTF8CHAR model[16]; | |
| serialNumber | back to summary |
|---|---|
| public char[] serialNumber must be blank padded and only the first 16 chars will be used PKCS#11: CK_CHAR serialNumber[16]; | |
| ulFreePrivateMemory | back to summary |
|---|---|
| public long ulFreePrivateMemory PKCS#11: CK_ULONG ulFreePrivateMemory; | |
| ulFreePublicMemory | back to summary |
|---|---|
| public long ulFreePublicMemory PKCS#11: CK_ULONG ulFreePublicMemory; | |
| ulMaxPinLen | back to summary |
|---|---|
| public long ulMaxPinLen PKCS#11: CK_ULONG ulMaxPinLen; | |
| ulMaxRwSessionCount | back to summary |
|---|---|
| public long ulMaxRwSessionCount PKCS#11: CK_ULONG ulMaxRwSessionCount; | |
| ulMaxSessionCount | back to summary |
|---|---|
| public long ulMaxSessionCount PKCS#11: CK_ULONG ulMaxSessionCount; | |
| ulMinPinLen | back to summary |
|---|---|
| public long ulMinPinLen PKCS#11: CK_ULONG ulMinPinLen; | |
| ulRwSessionCount | back to summary |
|---|---|
| public long ulRwSessionCount PKCS#11: CK_ULONG ulRwSessionCount; | |
| ulSessionCount | back to summary |
|---|---|
| public long ulSessionCount PKCS#11: CK_ULONG ulSessionCount; | |
| ulTotalPrivateMemory | back to summary |
|---|---|
| public long ulTotalPrivateMemory PKCS#11: CK_ULONG ulTotalPrivateMemory; | |
| ulTotalPublicMemory | back to summary |
|---|---|
| public long ulTotalPublicMemory PKCS#11: CK_ULONG ulTotalPublicMemory; | |
| utcTime | back to summary |
|---|---|
| public char[] utcTime only the first 16 chars will be used PKCS#11: CK_CHAR utcTime[16]; | |
| CK_TOKEN_INFO | back to summary |
|---|---|
| public CK_TOKEN_INFO(char[] label, char[] vendor, char[] model, char[] serialNo, long flags, long sessionMax, long session, long rwSessionMax, long rwSession, long pinLenMax, long pinLenMin, long totalPubMem, long freePubMem, long totalPrivMem, long freePrivMem, CK_VERSION hwVer, CK_VERSION fwVer, char[] utcTime) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns the string representation of CK_TOKEN_INFO.
| |