Public Member Functions | |
Slot (const char *desc) | |
~Slot (void) | |
bool | getTokenPresent (void) |
CK_RV | getInfo (CK_SLOT_INFO *infoOut) |
CK_FLAGS | getFlags (void) |
CK_SLOT_ID | getId () |
Session * | openSession (CK_FLAGS flags, CK_VOID_PTR data, CK_NOTIFY notifyFunc) |
void | closeSession (Session *session) |
|
Constructs this slot (the card reader, but Cryptoki calls it a Slot) given a description. The description is necessary for actually connecting |
|
Does some memory cleanup. Isn't that what desctructors do? |
|
tells you if the Token has been inserted or not. Currently this always returns true
|
|
Provides information back to cryptoki about this slot.
|
|
Getters for the vairous token fields |
|
end getters |
|
creates a session for use by Crytpoki.
|
|
closses an active session and removes it from future use
|