|
|
@ -64,7 +64,7 @@ int main(int argc, char** argv) try { |
|
|
|
cryptoki::SlotInfo si(s->slotinfo()); |
|
|
|
cryptoki::SlotInfo si(s->slotinfo()); |
|
|
|
if (slot.size()&&slot!=si.slotDescription) continue; |
|
|
|
if (slot.size()&&slot!=si.slotDescription) continue; |
|
|
|
std::cout<<"Found Slot: "<<si.slotDescription<<std::endl; |
|
|
|
std::cout<<"Found Slot: "<<si.slotDescription<<std::endl; |
|
|
|
cryptoki::TokenInfo ti(a->tokeninfo()); |
|
|
|
cryptoki::TokenInfo ti(s->tokeninfo()); |
|
|
|
std::cout<<"Found token: "<<ti.label<<std::endl; |
|
|
|
std::cout<<"Found token: "<<ti.label<<std::endl; |
|
|
|
cryptoki::Session session(*s); |
|
|
|
cryptoki::Session session(*s); |
|
|
|
cryptoki::ObjectList certs |
|
|
|
cryptoki::ObjectList certs |
|
|
|