Package iaik.pkcs.pkcs11.wrapper
Class CK_TOKEN_INFO
- java.lang.Object
-
- iaik.pkcs.pkcs11.wrapper.CK_TOKEN_INFO
-
public class CK_TOKEN_INFO extends Object
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;- Author:
- Karl Scheibelhofer (SIC), Martin Schläffer (SIC)
-
-
Field Summary
Fields Modifier and Type Field Description CK_VERSIONfirmwareVersionPKCS#11:longflagsPKCS#11:CK_VERSIONhardwareVersionPKCS#11:char[]labelmust be blank padded and only the first 32 chars will be usedchar[]manufacturerIDmust be blank padded and only the first 32 chars will be usedchar[]modelmust be blank padded and only the first 16 chars will be usedchar[]serialNumbermust be blank padded and only the first 16 chars will be usedlongulFreePrivateMemoryPKCS#11:longulFreePublicMemoryPKCS#11:longulMaxPinLenPKCS#11:longulMaxRwSessionCountPKCS#11:longulMaxSessionCountPKCS#11:longulMinPinLenPKCS#11:longulRwSessionCountPKCS#11:longulSessionCountPKCS#11:longulTotalPrivateMemoryPKCS#11:longulTotalPublicMemoryPKCS#11:char[]utcTimeonly the first 16 chars will be used PKCS#11:
-
Constructor Summary
Constructors Constructor Description CK_TOKEN_INFO()
-
-
-
Field Detail
-
label
public char[] label
must be blank padded and only the first 32 chars will be usedPKCS#11:
CK_UTF8CHAR label[32];
-
manufacturerID
public char[] manufacturerID
must be blank padded and only the first 32 chars will be usedPKCS#11:
CK_UTF8CHAR manufacturerID[32];
-
model
public char[] model
must be blank padded and only the first 16 chars will be usedPKCS#11:
CK_UTF8CHAR model[16];
-
serialNumber
public char[] serialNumber
must be blank padded and only the first 16 chars will be usedPKCS#11:
CK_CHAR serialNumber[16];
-
flags
public long flags
PKCS#11:CK_FLAGS flags;
-
ulMaxSessionCount
public long ulMaxSessionCount
PKCS#11:CK_ULONG ulMaxSessionCount;
-
ulSessionCount
public long ulSessionCount
PKCS#11:CK_ULONG ulSessionCount;
-
ulMaxRwSessionCount
public long ulMaxRwSessionCount
PKCS#11:CK_ULONG ulMaxRwSessionCount;
-
ulRwSessionCount
public long ulRwSessionCount
PKCS#11:CK_ULONG ulRwSessionCount;
-
ulMaxPinLen
public long ulMaxPinLen
PKCS#11:CK_ULONG ulMaxPinLen;
-
ulMinPinLen
public long ulMinPinLen
PKCS#11:CK_ULONG ulMinPinLen;
-
ulTotalPublicMemory
public long ulTotalPublicMemory
PKCS#11:CK_ULONG ulTotalPublicMemory;
-
ulFreePublicMemory
public long ulFreePublicMemory
PKCS#11:CK_ULONG ulFreePublicMemory;
-
ulTotalPrivateMemory
public long ulTotalPrivateMemory
PKCS#11:CK_ULONG ulTotalPrivateMemory;
-
ulFreePrivateMemory
public long ulFreePrivateMemory
PKCS#11:CK_ULONG ulFreePrivateMemory;
-
hardwareVersion
public CK_VERSION hardwareVersion
PKCS#11:CK_VERSION hardwareVersion;
-
firmwareVersion
public CK_VERSION firmwareVersion
PKCS#11:CK_VERSION firmwareVersion;
-
utcTime
public char[] utcTime
only the first 16 chars will be used PKCS#11:CK_CHAR utcTime[16];
-
-