Discuss this help topic in SecureBlackbox Forum

TElPKCS11CertStorage.OnSlotEvent

TElPKCS11CertStorage     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event notifies token insertion/removal.

Declaration

[C#]
    event TElPKCSSlotEventEvent OnSlotEvent;
    delegate void TElPKCSSlotEventEvent(Object Sender, TElPKCS11SlotInfo Slot);

[VB.NET]
    Event OnSlotEvent As TElPKCSSlotEventEvent
    Delegate Sub TElPKCSSlotEventEvent(ByVal Sender As Object, ByVal Slot As TElPKCS11SlotInfo)

[Pascal]
    property OnSlotEvent: TElPKCSSlotEventEvent
    TElPKCSSlotEventEvent = procedure(Sender: TObject; Slot: TElPKCS11SlotInfo) of object;

[C++]
    void get_OnSlotEvent(TElPKCSSlotEventEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSlotEvent(TElPKCSSlotEventEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TElPKCSSlotEventEvent)(void * _ObjectData, TObjectHandle Sender, TElPKCS11SlotInfoHandle Slot);

[PHP]
    TElPKCSSlotEventEvent|callable|NULL get_OnSlotEvent()
    void set_OnSlotEvent(TElPKCSSlotEventEvent|callable|NULL $Value)
    callable TElPKCSSlotEventEvent(TObject $Sender, TElPKCS11SlotInfo $Slot)

[Java]
    TElPKCSSlotEventEvent getOnSlotEvent();
    void setOnSlotEvent(TElPKCSSlotEventEvent Value);
    TElPKCSSlotEventEvent.Callback OnSlotEvent = new TElPKCSSlotEventEvent.Callback() {
        public void TElPKCSSlotEventEventCallback(TObject Sender, TElPKCS11SlotInfo Slot) {
            //...
        }
    }

Parameters

  • Slot - Reference to the slot on which the event has occured

Description

     This event is fired when the token has been inserted or removed from the slot.

Discuss this help topic in SecureBlackbox Forum