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

public Class CK_INFO

extends Object
Class Inheritance

class CK_INFO provides general information about Cryptoki.

PKCS#11 structure:

 typedef struct CK_INFO {  
   CK_VERSION cryptokiVersion;  
   CK_UTF8CHAR manufacturerID[32];  
   CK_FLAGS flags;  
   CK_UTF8CHAR libraryDescription[32];  
   CK_VERSION libraryVersion;  
 } CK_INFO;
Authors
Karl Scheibelhofer , Martin Schlaeffer

Field Summary

Modifier and TypeField and Description
public CK_VERSION
cryptokiVersion

Cryptoki interface version number

PKCS#11:

  CK_VERSION cryptokiVersion;
public long
flags

bit flags reserved for future versions.

public char[]
libraryDescription

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

PKCS#11:

  CK_UTF8CHAR libraryDescription[32];
public CK_VERSION
libraryVersion

Cryptoki library version number

PKCS#11:

  CK_VERSION libraryVersion;
public char[]
manufacturerID

ID of the Cryptoki library manufacturer.

Constructor Summary

AccessConstructor and Description
public
CK_INFO(CK_VERSION cryptoVer, char[] vendor, long flags, char[] libDesc, CK_VERSION libVer)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the string representation of CK_INFO
toString
()

Overrides java.lang.Object.toString.

Returns the string representation of CK_INFO.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

cryptokiVersionback to summary
public CK_VERSION cryptokiVersion

Cryptoki interface version number

PKCS#11:

  CK_VERSION cryptokiVersion;
flagsback to summary
public long flags

bit flags reserved for future versions. must be zero

PKCS#11:

  CK_FLAGS flags;
libraryDescriptionback to summary
public char[] libraryDescription

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

PKCS#11:

  CK_UTF8CHAR libraryDescription[32];
libraryVersionback to summary
public CK_VERSION libraryVersion

Cryptoki library version number

PKCS#11:

  CK_VERSION libraryVersion;
manufacturerIDback to summary
public char[] manufacturerID

ID of the Cryptoki library manufacturer. must be blank padded - only the first 32 chars will be used

PKCS#11:

  CK_UTF8CHAR manufacturerID[32];

Constructor Detail

CK_INFOback to summary
public CK_INFO(CK_VERSION cryptoVer, char[] vendor, long flags, char[] libDesc, CK_VERSION libVer)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns the string representation of CK_INFO.

Returns:String

the string representation of CK_INFO