public class

CK_SLOT_INFO

extends Object
java.lang.Object
   ↳ sun.security.pkcs11.wrapper.CK_SLOT_INFO

Class Overview

class CK_SLOT_INFO provides information about a slot.

PKCS#11 structure:

  typedef struct CK_SLOT_INFO {  
    CK_UTF8CHAR slotDescription[64];  
    CK_UTF8CHAR manufacturerID[32];  
    CK_FLAGS flags;  
    CK_VERSION hardwareVersion;  
    CK_VERSION firmwareVersion;  
  } CK_SLOT_INFO;
 

Summary

Fields
public CK_VERSION firmwareVersion version of firmware

PKCS#11:

   CK_VERSION firmwareVersion;
 
public long flags PKCS#11:
   CK_FLAGS flags;
 
public CK_VERSION hardwareVersion version of hardware

PKCS#11:

   CK_VERSION hardwareVersion;
 
public char[] manufacturerID must be blank padded and only the first 32 chars will be used

PKCS#11:

   CK_UTF8CHAR manufacturerID[32];
 
public char[] slotDescription must be blank padded and only the first 64 chars will be used

PKCS#11:

   CK_UTF8CHAR slotDescription[64];
 
Public Constructors
CK_SLOT_INFO(char[] slotDesc, char[] vendor, long flags, CK_VERSION hwVer, CK_VERSION fwVer)
Public Methods
String toString()
Returns the string representation of CK_SLOT_INFO.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public CK_VERSION firmwareVersion

version of firmware

PKCS#11:

   CK_VERSION firmwareVersion;
 

public long flags

PKCS#11:

   CK_FLAGS flags;
 

public CK_VERSION hardwareVersion

version of hardware

PKCS#11:

   CK_VERSION hardwareVersion;
 

public char[] manufacturerID

must be blank padded and only the first 32 chars will be used

PKCS#11:

   CK_UTF8CHAR manufacturerID[32];
 

public char[] slotDescription

must be blank padded and only the first 64 chars will be used

PKCS#11:

   CK_UTF8CHAR slotDescription[64];
 

Public Constructors

public CK_SLOT_INFO (char[] slotDesc, char[] vendor, long flags, CK_VERSION hwVer, CK_VERSION fwVer)

Public Methods

public String toString ()

Returns the string representation of CK_SLOT_INFO.

Returns
  • the string representation of CK_SLOT_INFO