Method: PKCS11::Library#C_WaitForSlotEvent
- Defined in:
- lib/pkcs11/library.rb
#C_WaitForSlotEvent(flags = 0) ⇒ Slot? Also known as: wait_for_slot_event
Waits for a slot event, such as token insertion or token removal, to occur.
104 105 106 107 |
# File 'lib/pkcs11/library.rb', line 104 def C_WaitForSlotEvent(flags=0) slot = unwrapped_C_WaitForSlotEvent(flags) slot ? Slot.new(self, slot) : nil end |