Pkcs11Interop  4.0.0
Public Attributes | List of all members
Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO Struct Reference

Provides information about a token More...

Public Attributes

byte[] Label
 Application-defined label, assigned during token initialization. Must be padded with the blank character (‘ ‘). Should not be null-terminated. More...
 
byte[] ManufacturerId
 ID of the device manufacturer. Must be padded with the blank character (‘ ‘). Should not be nullterminated. More...
 
byte[] Model
 Model of the device. Must be padded with the blank character (‘ ‘). Should not be null-terminated. More...
 
byte[] SerialNumber
 Character-string serial number of the device. Must be padded with the blank character (‘ ‘). Should not be null-terminated. More...
 
uint Flags
 Bit flags indicating capabilities and status of the device More...
 
uint MaxSessionCount
 Maximum number of sessions that can be opened with the token at one time by a single application More...
 
uint SessionCount
 Number of sessions that this application currently has open with the token More...
 
uint MaxRwSessionCount
 Maximum number of read/write sessions that can be opened with the token at one time by a single application More...
 
uint RwSessionCount
 Number of read/write sessions that this application currently has open with the token More...
 
uint MaxPinLen
 Maximum length in bytes of the PIN More...
 
uint MinPinLen
 Minimum length in bytes of the PIN More...
 
uint TotalPublicMemory
 The total amount of memory on the token in bytes in which public objects may be stored More...
 
uint FreePublicMemory
 The amount of free (unused) memory on the token in bytes for public objects More...
 
uint TotalPrivateMemory
 The total amount of memory on the token in bytes in which private objects may be stored More...
 
uint FreePrivateMemory
 The amount of free (unused) memory on the token in bytes for private objects More...
 
CK_VERSION HardwareVersion
 Version number of hardware More...
 
CK_VERSION FirmwareVersion
 Version number of firmware More...
 
byte[] UtcTime
 Current time as a character-string of length 16, represented in the format YYYYMMDDhhmmssxx (4 characters for the year; 2 characters each for the month, the day, the hour, the minute, and the second; and 2 additional reserved ‘0' characters). The value of this field only makes sense for tokens equipped with a clock, as indicated in the token information flags. More...
 

Detailed Description

Provides information about a token

Member Data Documentation

CK_VERSION Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.FirmwareVersion

Version number of firmware

uint Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.Flags

Bit flags indicating capabilities and status of the device

uint Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.FreePrivateMemory

The amount of free (unused) memory on the token in bytes for private objects

uint Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.FreePublicMemory

The amount of free (unused) memory on the token in bytes for public objects

CK_VERSION Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.HardwareVersion

Version number of hardware

byte [] Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.Label

Application-defined label, assigned during token initialization. Must be padded with the blank character (‘ ‘). Should not be null-terminated.

byte [] Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.ManufacturerId

ID of the device manufacturer. Must be padded with the blank character (‘ ‘). Should not be nullterminated.

uint Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.MaxPinLen

Maximum length in bytes of the PIN

uint Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.MaxRwSessionCount

Maximum number of read/write sessions that can be opened with the token at one time by a single application

uint Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.MaxSessionCount

Maximum number of sessions that can be opened with the token at one time by a single application

uint Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.MinPinLen

Minimum length in bytes of the PIN

byte [] Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.Model

Model of the device. Must be padded with the blank character (‘ ‘). Should not be null-terminated.

uint Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.RwSessionCount

Number of read/write sessions that this application currently has open with the token

byte [] Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.SerialNumber

Character-string serial number of the device. Must be padded with the blank character (‘ ‘). Should not be null-terminated.

uint Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.SessionCount

Number of sessions that this application currently has open with the token

uint Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.TotalPrivateMemory

The total amount of memory on the token in bytes in which private objects may be stored

uint Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.TotalPublicMemory

The total amount of memory on the token in bytes in which public objects may be stored

byte [] Net.Pkcs11Interop.LowLevelAPI40.CK_TOKEN_INFO.UtcTime

Current time as a character-string of length 16, represented in the format YYYYMMDDhhmmssxx (4 characters for the year; 2 characters each for the month, the day, the hour, the minute, and the second; and 2 additional reserved ‘0' characters). The value of this field only makes sense for tokens equipped with a clock, as indicated in the token information flags.


The documentation for this struct was generated from the following file: