com.dyadicsec.cryptoki.CK_TOKEN_INFO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unbound-java-provider Show documentation
Show all versions of unbound-java-provider Show documentation
This is a collection of JAVA libraries that implement Unbound cryptographic classes for JAVA provider, PKCS11 wrapper, cryptoki, and advapi
package com.dyadicsec.cryptoki;
public class CK_TOKEN_INFO
{
public char[] label = new char[32];
public char[] manufacturerID = new char[32];
public char[] model = new char[16];
public char[] serialNumber = new char[16];
public int flags;
public int ulMaxSessionCount;
public int ulSessionCount;
public int ulMaxRwSessionCount;
public int ulRwSessionCount;
public int ulMaxPinLen;
public int ulMinPinLen;
public int ulTotalPublicMemory;
public int ulFreePublicMemory;
public int ulTotalPrivateMemory;
public int ulFreePrivateMemory;
public CK_VERSION hardwareVersion = new CK_VERSION();
public CK_VERSION firmwareVersion = new CK_VERSION();
public char[] utcTime = new char[16];
void unpad()
{
label = Library.unpad(label);
manufacturerID = Library.unpad(manufacturerID);
model = Library.unpad(model);
serialNumber = Library.unpad(serialNumber);
utcTime = Library.unpad(utcTime);
}
}