Discuss this help topic in SecureBlackbox Forum

TElCustomTSPClient.OnTSPError

TElCustomTSPClient     See also     


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


This event is fired when timestamping has failed.

Declaration

[C#/Java]
    event TSBTSPErrorEvent OnTSPError;
    delegate void TSBTSPErrorEvent(Object Sender, int ResultCode);

[VB.NET]
    Event OnTSPError As TSBTSPErrorEvent
    Delegate Sub TSBTSPErrorEvent(ByVal Sender As Object, ByVal ResultCode As Integer)

[Pascal]
    property OnTSPError : TSBTSPErrorEvent;
    TSBTSPErrorEvent = procedure (Sender : TObject; ResultCode : integer) of object;

[C++]
    void get_OnTSPError(TSBTSPErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnTSPError(TSBTSPErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBTSPErrorEvent)(void * _ObjectData, TObjectHandle Sender, int32_t ResultCode);

[PHP]
    TSBTSPErrorEvent|callable|NULL get_OnTSPError()
    void set_OnTSPError(TSBTSPErrorEvent|callable|NULL $Value)
    callable TSBTSPErrorEvent(TObject $Sender, integer $ResultCode)

Parameters

  • ResultCode - the error code returned by Timestamp method.

TSP error codes:


Description

    This event is triggered by Timestamp method when the result is non-zero. The event can be used in situations when timestamping is performed by the signature component rather than the application code. In this situation the application can know exactly what happened on timestamping step when it failed.

See also:     Timestamp    

Discuss this help topic in SecureBlackbox Forum