Object PKCS#11 C++ Wrapper
|
PKCS#11 Sessions
More...
#include <Session.h>
Public Member Functions | |
Session () | |
Session (Session &&other) | |
virtual | ~Session () |
Session & | operator= (const Session &other)=delete |
Session & | operator= (Session &&other) |
SessionInfo | getSessionInfo () |
void | getOperationState () |
void | setOperationState () |
void | closeSession () |
void | initPin (std::string &pin) |
void | login (std::string &soPin) |
CK_SESSION_HANDLE | getSessionHandle () |
void | logout () |
Public Member Functions inherited from objck::Stateful | |
Stateful (Stateful::state st=Stateful::DISABLED) | |
virtual | ~Stateful () throw () |
Stateful::state | getState () |
bool | isEnabled () |
bool | isDisabled () |
Protected Attributes | |
CK_SESSION_HANDLE | _session |
CK_FUNCTION_LIST_PTR | _functionList |
Protected Attributes inherited from objck::Stateful | |
Stateful::state | _currentState |
Friends | |
class | Cryptoki |
Additional Inherited Members | |
Protected Types inherited from objck::Stateful | |
enum | state { DISABLED = 0, ENABLED = 1 } |
Protected Member Functions inherited from objck::Stateful | |
void | disable () |
void | enable () |
PKCS#11 Sessions
This class is a CK_SESSION_HANDLE wrapper, it holds the session handle, enumerated flags and all PKCS#11 session functions related to session. Session should be created through P11::openSession.
|
inline |
|
inline |
|
inlinevirtual |
|
friend |
|
protected |
|
protected |