Discuss this help topic in SecureBlackbox Forum


TElX509CertificateValidator     See also     

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

This event is fired when the validator encounters an error during retrieving or parsing an OCSP response.


    event TSBCertificateValidatorOCSPErrorEvent OnOCSPError;
    delegate void TSBCertificateValidatorOCSPErrorEvent(Object Sender, TElX509Certificate Certificate, string Location, TElOCSPClient Client, int ErrorCode);

    Event OnOCSPError As TSBCertificateValidatorOCSPErrorEvent
    Delegate Sub TSBCertificateValidatorOCSPErrorEvent(ByVal Sender As Object, ByVal Certificate As TElX509Certificate, ByVal Location As String, ByVal Client As TElOCSPClient, ByVal ErrorCode As Integer)

    property OnOCSPError : TSBCertificateValidatorOCSPErrorEvent;
    TSBCertificateValidatorOCSPErrorEvent = procedure (Sender: TObject; Certificate : TElX509Certificate; const Location : string; Client : TElOCSPClient; ErrorCode : integer) of object;

    void get_OnOCSPError(TSBCertificateValidatorOCSPErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnOCSPError(TSBCertificateValidatorOCSPErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCertificateValidatorOCSPErrorEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Certificate, const char * pcLocation, int32_t szLocation, TElOCSPClientHandle Client, int32_t ErrorCode);

    TSBCertificateValidatorOCSPErrorEvent|callable|NULL get_OnOCSPError()
    void set_OnOCSPError(TSBCertificateValidatorOCSPErrorEvent|callable|NULL $Value)
    callable TSBCertificateValidatorOCSPErrorEvent(TObject $Sender, TElX509Certificate $Certificate, string $Location, TElOCSPClient $Client, integer $ErrorCode)

    TSBCertificateValidatorOCSPErrorEvent getOnOCSPError();
    void setOnOCSPError(TSBCertificateValidatorOCSPErrorEvent Value);
    TSBCertificateValidatorOCSPErrorEvent.Callback OnOCSPError = new TSBCertificateValidatorOCSPErrorEvent.Callback() {
        public void TSBCertificateValidatorOCSPErrorEventCallback(TObject Sender, TElX509Certificate Certificate, String Location, TElOCSPClient Client, int ErrorCode) {


  • Certificate - Specifies the certificate that is being validated.
  • Location - Location of the OCSP.
  • Client - An instance of TElOCSPClient class or its descendant.
  • ErrorCode - The error code.
  • pcLocation - Location of the OCSP.
  • szLocation - the length of pcLocation.


    This event is fired when an error occurs during retrieving or processing OCSP response information.

See also:     CheckOCSP     OnCRLError    

Discuss this help topic in SecureBlackbox Forum