IAIK PKCS#11 Wrapper
version 1.5

iaik.pkcs.pkcs11.wrapper
Class CK_INFO

java.lang.Object
  |
  +--iaik.pkcs.pkcs11.wrapper.CK_INFO

public class CK_INFO
extends java.lang.Object

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;
 

Author:
Karl Scheibelhofer, Martin Schläffer

Field Summary
 CK_VERSION cryptokiVersion
          PKCS#11:
 long flags
          must be zero PKCS#11:
 char[] libraryDescription
          must be blank padded - only the first 32 chars will be used
 CK_VERSION libraryVersion
          PKCS#11:
 char[] manufacturerID
          must be blank padded - only the first 32 chars will be used
 
Constructor Summary
CK_INFO()
           
 
Method Summary
 java.lang.String toString()
          Returns the string representation of CK_INFO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cryptokiVersion

public CK_VERSION cryptokiVersion
PKCS#11:
 CK_VERSION cryptokiVersion;
 

manufacturerID

public char[] manufacturerID
must be blank padded - only the first 32 chars will be used

PKCS#11:

   CK_UTF8CHAR manufacturerID[32];
 

flags

public long flags
must be zero PKCS#11:
 CK_FLAGS flags;
 

libraryDescription

public char[] libraryDescription
must be blank padded - only the first 32 chars will be used

PKCS#11:

 
 

libraryVersion

public CK_VERSION libraryVersion
PKCS#11:
 CK_VERSION libraryVersion;
 
Constructor Detail

CK_INFO

public CK_INFO()
Method Detail

toString

public java.lang.String toString()
Returns the string representation of CK_INFO.
Overrides:
toString in class java.lang.Object
Returns:
the string representation of CK_INFO

IAIK PKCS#11 Wrapper
version 1.5

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/

IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2004, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.
version 1.5