Discuss this help topic in SecureBlackbox Forum

TElFileTSPClient.OnTimestampNeeded

TElFileTSPClient     


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


This event is fired when TElFileTSPClient needs to perform timestamp operation.

Declaration

[C#]
    event TSBTimestampNeededEvent OnTimestampNeeded;
    delegate void TSBTimestampNeededEvent(Object Sender, System.IO.Stream RequestStream, System.IO.Stream ReplyStream, ref bool Succeeded);

[VB.NET]
    Event OnTimestampNeeded As TSBTimestampNeededEvent
    Delegate Sub TSBTimestampNeededEvent(ByVal Sender As Object, ByVal RequestStream As System.IO.Stream, ByVal ReplyStream As System.IO.Stream, ByRef Succeeded As Boolean)

[Pascal]
    property OnTimestampNeeded : TSBTimestampNeededEvent;
    TSBTimestampNeededEvent = procedure(Sender : TObject; RequestStream, ReplyStream: TStream; var Succeeded : boolean) of object;

[C++]
    void get_OnTimestampNeeded(TSBTimestampNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnTimestampNeeded(TSBTimestampNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBTimestampNeededEvent)(void * _ObjectData, TObjectHandle Sender, TStreamHandle RequestStream, TStreamHandle ReplyStream, int8_t &Succeeded);

[PHP]
    TSBTimestampNeededEvent|callable|NULL get_OnTimestampNeeded()
    void set_OnTimestampNeeded(TSBTimestampNeededEvent|callable|NULL $Value)
    callable TSBTimestampNeededEvent(TObject $Sender, TStream $RequestStream, TStream $ReplyStream, bool &$Succeeded)

[Java]
    TSBTimestampNeededEvent getOnTimestampNeeded();
    void setOnTimestampNeeded(TSBTimestampNeededEvent Value);
    TSBTimestampNeededEvent.Callback OnTimestampNeeded = new TSBTimestampNeededEvent.Callback() {
        public void TSBTimestampNeededEventCallback(TObject Sender, TElStream RequestStream, TElStream ReplyStream, TSBBoolean Succeeded) {
            //...
        }
    }

Parameters

  • RequestStream - stream with request
  • ReplyStream - stream for reply
  • Succeeded - specifies if the request was performed successfully

Description

    This event is fired when TElFileTSPClient has to perform timestamping operation.The application must transfer the request to timestamping server and put the reply to ReplyStream.

Discuss this help topic in SecureBlackbox Forum