All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dyadicsec.cryptoki.CK_TOKEN_INFO Maven / Gradle / Ivy

Go to download

This is a collection of JAVA libraries that implement Unbound cryptographic classes for JAVA provider, PKCS11 wrapper, cryptoki, and advapi

There is a newer version: 42761
Show newest version
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy