68 void initToken(
unsigned int slot, std::string& soPin, std::string& label);
93 CryptokiNotify* notify = 0,
void* appPtr = 0);
Info getInfo()
Definition: Cryptoki.cpp:64
virtual ~Cryptoki()
Definition: Cryptoki.cpp:12
void loadModule(const std::string &path)
Definition: Cryptoki.cpp:22
void finalize()
Definition: Cryptoki.cpp:57
void closeAllSessions(unsigned int slot)
Definition: Cryptoki.cpp:132
Session openSession(unsigned int slot, SessionInfo::SessionFlags flags=SessionInfo::SERIAL_SESSION, CryptokiNotify *notify=0, void *appPtr=0)
Definition: Cryptoki.cpp:113
CK_FUNCTION_LIST FunctionList
Definition: Cryptoki.h:16
Definition: SessionInfo.h:34
FunctionList getFunctionList()
Definition: Cryptoki.cpp:78
void initialize()
Definition: Cryptoki.cpp:45
SessionFlags
Definition: SessionInfo.h:30
void loadFunctions()
Definition: Cryptoki.cpp:33
void initToken(unsigned int slot, std::string &soPin, std::string &label)
Definition: Cryptoki.cpp:94
PKCS#11 Info
Definition: Info.h:21
PKCS#11 Sessions
Definition: Session.h:26
CK_FUNCTION_LIST_PTR _functionList
Definition: Cryptoki.h:139
CK_NOTIFY CryptokiNotify
Definition: Cryptoki.h:17
Definition: Cryptoki.h:15
Cryptoki(const std::string &path)
Definition: Cryptoki.cpp:5
Cryptoki API
Definition: Cryptoki.h:33
void * _module
Definition: Cryptoki.h:138