|
IAIK PKCS#11 Wrapper version 1.2.17 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiaik.pkcs.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;
Field Summary | |
CK_VERSION |
firmwareVersion
PKCS#11: CK_VERSION firmwareVersion; |
long |
flags
PKCS#11: CK_FLAGS flags; |
CK_VERSION |
hardwareVersion
PKCS#11: CK_VERSION hardwareVersion; |
char[] |
label
must be blank padded and only the first 32 chars will be used PKCS#11: CK_UTF8CHAR label[32]; |
char[] |
manufacturerID
must be blank padded and only the first 32 chars will be used PKCS#11: CK_UTF8CHAR manufacturerID[32]; |
char[] |
model
must be blank padded and only the first 16 chars will be used PKCS#11: CK_UTF8CHAR model[16]; |
char[] |
serialNumber
must be blank padded and only the first 16 chars will be used PKCS#11: CK_CHAR serialNumber[16]; |
long |
ulFreePrivateMemory
PKCS#11: CK_ULONG ulFreePrivateMemory; |
long |
ulFreePublicMemory
PKCS#11: CK_ULONG ulFreePublicMemory; |
long |
ulMaxPinLen
PKCS#11: CK_ULONG ulMaxPinLen; |
long |
ulMaxRwSessionCount
PKCS#11: CK_ULONG ulMaxRwSessionCount; |
long |
ulMaxSessionCount
PKCS#11: CK_ULONG ulMaxSessionCount; |
long |
ulMinPinLen
PKCS#11: CK_ULONG ulMinPinLen; |
long |
ulRwSessionCount
PKCS#11: CK_ULONG ulRwSessionCount; |
long |
ulSessionCount
PKCS#11: CK_ULONG ulSessionCount; |
long |
ulTotalPrivateMemory
PKCS#11: CK_ULONG ulTotalPrivateMemory; |
long |
ulTotalPublicMemory
PKCS#11: CK_ULONG ulTotalPublicMemory; |
char[] |
utcTime
only the first 16 chars will be used PKCS#11: CK_CHAR utcTime[16]; |
Constructor Summary | |
CK_TOKEN_INFO()
|
Method Summary | |
String |
toString()
Returns the string representation of CK_TOKEN_INFO. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public char[] label
PKCS#11:
CK_UTF8CHAR label[32];
public char[] manufacturerID
PKCS#11:
CK_UTF8CHAR manufacturerID[32];
public char[] model
PKCS#11:
CK_UTF8CHAR model[16];
public char[] serialNumber
PKCS#11:
CK_CHAR serialNumber[16];
public long flags
CK_FLAGS flags;
public long ulMaxSessionCount
CK_ULONG ulMaxSessionCount;
public long ulSessionCount
CK_ULONG ulSessionCount;
public long ulMaxRwSessionCount
CK_ULONG ulMaxRwSessionCount;
public long ulRwSessionCount
CK_ULONG ulRwSessionCount;
public long ulMaxPinLen
CK_ULONG ulMaxPinLen;
public long ulMinPinLen
CK_ULONG ulMinPinLen;
public long ulTotalPublicMemory
CK_ULONG ulTotalPublicMemory;
public long ulFreePublicMemory
CK_ULONG ulFreePublicMemory;
public long ulTotalPrivateMemory
CK_ULONG ulTotalPrivateMemory;
public long ulFreePrivateMemory
CK_ULONG ulFreePrivateMemory;
public CK_VERSION hardwareVersion
CK_VERSION hardwareVersion;
public CK_VERSION firmwareVersion
CK_VERSION firmwareVersion;
public char[] utcTime
CK_CHAR utcTime[16];
Constructor Detail |
public CK_TOKEN_INFO()
Method Detail |
public String toString()
|
IAIK PKCS#11 Wrapper version 1.2.17 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |