Top Description Fields Constructors Methods
sun.security.pkcs11.wrapper

public Class CK_SLOT_INFO

extends Object
Class Inheritance

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;
Authors
Karl Scheibelhofer , Martin Schlaeffer

Field Summary

Modifier and TypeField and Description
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];

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the string representation of CK_SLOT_INFO
toString
()

Overrides java.lang.Object.toString.

Returns the string representation of CK_SLOT_INFO.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

firmwareVersionback to summary
public CK_VERSION firmwareVersion

version of firmware

PKCS#11:

  CK_VERSION firmwareVersion;
flagsback to summary
public long flags

PKCS#11:

  CK_FLAGS flags;
hardwareVersionback to summary
public CK_VERSION hardwareVersion

version of hardware

PKCS#11:

  CK_VERSION hardwareVersion;
manufacturerIDback to summary
public char[] manufacturerID

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

PKCS#11:

  CK_UTF8CHAR manufacturerID[32];
slotDescriptionback to summary
public char[] slotDescription

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

PKCS#11:

  CK_UTF8CHAR slotDescription[64];

Constructor Detail

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

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns the string representation of CK_SLOT_INFO.

Returns:String

the string representation of CK_SLOT_INFO