Discuss this help topic in SecureBlackbox Forum

TElSSHPKCS11KeyStorage.OnNotification

TElSSHPKCS11KeyStorage     


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


This event is fired when the PKCS#11 DLL notifies about the progress of lengthy operation.

Declaration

[C#]
    event TElPKCSNotifyEvent OnNotification;
    delegate void TElPKCSNotifyEvent(Object Sender, TElPKCS11SessionInfo SessionInfo, TElPKCS11NotificationFlag NotificationFlag, ref bool AbortOperation);

[VB.NET]
    Event OnNotification As TElPKCSNotifyEvent
    Delegate Sub TElPKCSNotifyEvent(ByVal Sender As Object, ByVal SessionInfo As TElPKCS11SessionInfo, ByVal NotificationFlag As UInt32, ByRef AbortOperation As Boolean)

[Pascal]
    property OnNotification: TElPKCSNotifyEvent
    TElPKCSNotifyEvent = procedure(Sender: TObject; SessionInfo: TElPKCS11SessionInfo; NotificationFlag: TElPKCS11NotificationFlag; var AbortOperation: boolean) of object;

[C++]
    void get_OnNotification(TElPKCSNotifyEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnNotification(TElPKCSNotifyEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TElPKCSNotifyEvent)(void * _ObjectData, TObjectHandle Sender, TElPKCS11SessionInfoHandle SessionInfo, TElPKCS11NotificationFlagRaw NotificationFlag, int8_t &AbortOperation);

[PHP]
    TElPKCSNotifyEvent|callable|NULL get_OnNotification()
    void set_OnNotification(TElPKCSNotifyEvent|callable|NULL $Value)
    callable TElPKCSNotifyEvent(TObject $Sender, TElPKCS11SessionInfo $SessionInfo, integer $NotificationFlag, bool &$AbortOperation)

[Java]
    not available

Parameters

  • SessionInfo - Reference to the session, whose operation triggered the notification
  • NotificationFlag - currently only contains Surrender
  • AbortOperation - Set this parameter to True to stop the operation

TElPKCS11NotificationFlagRaw values

Description

    This event is fired when the PKCS#11 DLL notifies about the progress of lengthy operation.

Discuss this help topic in SecureBlackbox Forum