Object PKCS#11 C++ Wrapper
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
objck::SessionInfo Class Reference

PKCS#11 Session Info
More...

#include <SessionInfo.h>

Public Types

enum  SessionFlags { EMPTY = 0, RW_SESSION = 2, SERIAL_SESSION =4, UNKNOWN = 32 }
 

Public Member Functions

virtual ~SessionInfo ()
 
unsigned long slotId ()
 
unsigned long state ()
 
SessionInfo::SessionFlags flags ()
 
unsigned long deviceError ()
 
CK_SESSION_INFO getSessionInfo ()
 

Protected Attributes

CK_SESSION_INFO _info
 

Friends

class Session
 

Detailed Description

PKCS#11 Session Info

This class is a CK_SESSION_INFO wrapper, it holds the original struct protected and provides public functions to return its values.

See also
Session
CK_SESSION_INFO
Author
Lucas Pandolfo Perin

Member Enumeration Documentation

Enumerator
EMPTY 
RW_SESSION 
SERIAL_SESSION 
UNKNOWN 

Constructor & Destructor Documentation

virtual objck::SessionInfo::~SessionInfo ( )
inlinevirtual

Member Function Documentation

unsigned long objck::SessionInfo::deviceError ( )
SessionInfo::SessionFlags objck::SessionInfo::flags ( )
CK_SESSION_INFO objck::SessionInfo::getSessionInfo ( )
unsigned long objck::SessionInfo::slotId ( )
unsigned long objck::SessionInfo::state ( )

Friends And Related Function Documentation

friend class Session
friend

Member Data Documentation

CK_SESSION_INFO objck::SessionInfo::_info
protected

The documentation for this class was generated from the following files: