Discuss this help topic in SecureBlackbox Forum

TElFileOCSPClient.OnOCSPValidationNeeded

TElFileOCSPClient     


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


This event is fired when TElFileOCSPClient needs to perform validation operation.

Declaration

[C#/Java]
    event TSBOCSPValidationNeededEvent OnOCSPValidationNeeded;
    delegate void TSBOCSPValidationNeededEvent(Object Sender, string URL, System.IO.Stream RequestStream, System.IO.Stream ReplyStream, ref bool Succeeded);

[VB.NET]
    Event OnOCSPValidationNeeded As TSBOCSPValidationNeededEvent
    Delegate Sub TSBOCSPValidationNeededEvent(ByVal Sender As Object, ByVal URL As String, ByVal RequestStream As System.IO.Stream, ByVal ReplyStream As System.IO.Stream, ByRef Succeeded As Boolean)

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

[C++]
    void get_OnOCSPValidationNeeded(TSBOCSPValidationNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnOCSPValidationNeeded(TSBOCSPValidationNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBOCSPValidationNeededEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcURL, int32_t szURL, TStreamHandle RequestStream, TStreamHandle ReplyStream, int8_t &Succeeded);

[PHP]
    TSBOCSPValidationNeededEvent|callable|NULL get_OnOCSPValidationNeeded()
    void set_OnOCSPValidationNeeded(TSBOCSPValidationNeededEvent|callable|NULL $Value)
    callable TSBOCSPValidationNeededEvent(TObject $Sender, string $URL, TStream $RequestStream, TStream $ReplyStream, bool &$Succeeded)

Parameters

  • RequestStream - stream with request
  • ReplyStream - stream for reply
  • Succeeded - specifies if request was performed successfully
  • URL - ...
  • pcURL - ...
  • szURL - the length of pcURL.

Description

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

Discuss this help topic in SecureBlackbox Forum