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

public Class CK_SESSION_INFO

extends Object
Class Inheritance

class CK_SESSION_INFO provides information about a session.

PKCS#11 structure:

typedef struct CK_SESSION_INFO {  
  CK_SLOT_ID slotID;  
  CK_STATE state;  
  CK_FLAGS flags;  
  CK_ULONG ulDeviceError;  
} CK_SESSION_INFO;
Authors
Karl Scheibelhofer , Martin Schlaeffer

Field Summary

Modifier and TypeField and Description
public long
flags

PKCS#11:

  CK_FLAGS flags;
public long
slotID

PKCS#11:

  CK_SLOT_ID slotID;
public long
state

PKCS#11:

  CK_STATE state;
public long
ulDeviceError

PKCS#11:

  CK_ULONG ulDeviceError;

Constructor Summary

AccessConstructor and Description
public
CK_SESSION_INFO(long slotID, long state, long flags, long ulDeviceError)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the string representation of CK_SESSION_INFO
toString
()

Overrides java.lang.Object.toString.

Returns the string representation of CK_SESSION_INFO.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

flagsback to summary
public long flags

PKCS#11:

  CK_FLAGS flags;
slotIDback to summary
public long slotID

PKCS#11:

  CK_SLOT_ID slotID;
stateback to summary
public long state

PKCS#11:

  CK_STATE state;
ulDeviceErrorback to summary
public long ulDeviceError

PKCS#11:

  CK_ULONG ulDeviceError;

Constructor Detail

CK_SESSION_INFOback to summary
public CK_SESSION_INFO(long slotID, long state, long flags, long ulDeviceError)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns the string representation of CK_SESSION_INFO.

Returns:String

the string representation of CK_SESSION_INFO