Discuss this help topic in SecureBlackbox Forum



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

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


    event TSBOCSPValidationNeededEvent OnOCSPValidationNeeded;
    delegate void TSBOCSPValidationNeededEvent(Object Sender, string URL, System.IO.Stream RequestStream, System.IO.Stream ReplyStream, ref bool Succeeded);

    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)

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

    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);

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


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


    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