Object PKCS#11 C++ Wrapper
|
#include <Info.h>
Public Types | |
enum | InfoFlags { EMPTY = 0, TOKEN_IS_PRESENT = 1, REMOVABLE_DEVICE = 2, HARDWARE_SLOT = 4, TKN_PST_N_RMV_DVC = TOKEN_IS_PRESENT | REMOVABLE_DEVICE, TKN_PST_N_HW_SLOT = TOKEN_IS_PRESENT | HARDWARE_SLOT, RMV_DVC_N_HW_SLOT = REMOVABLE_DEVICE | HARDWARE_SLOT, TKN_PST_N_RMV_DVC_N_HW_SLOT = TKN_PST_N_RMV_DVC | HARDWARE_SLOT, UNKNOWN = 32 } |
Public Member Functions | |
Info () | |
virtual | ~Info () |
std::string | version () |
int | majorVersion () |
int | minorVersion () |
std::string | manufacturerId () |
Info::InfoFlags | flags () |
std::string | libraryDescription () |
std::string | libraryVersion () |
int | libraryMajorVersion () |
int | libraryMinorVersion () |
CK_INFO | getInfo () |
Protected Attributes | |
CK_INFO | _info |
Friends | |
class | Cryptoki |
PKCS#11 Info
This class is a CK_INFO wrapper, it holds the original struct protected and provides public functions to return its values.
|
inline |
|
inlinevirtual |
Info::InfoFlags objck::Info::flags | ( | ) |
CK_INFO objck::Info::getInfo | ( | ) |
std::string objck::Info::libraryDescription | ( | ) |
int objck::Info::libraryMajorVersion | ( | ) |
int objck::Info::libraryMinorVersion | ( | ) |
std::string objck::Info::libraryVersion | ( | ) |
int objck::Info::majorVersion | ( | ) |
std::string objck::Info::manufacturerId | ( | ) |
int objck::Info::minorVersion | ( | ) |
std::string objck::Info::version | ( | ) |
|
friend |
|
protected |