Discuss this help topic in SecureBlackbox Forum

TElX509CertificateValidator.OnAfterOCSPResponseUse

TElX509CertificateValidator     See also     


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


This event is fired each time the validator has processed an OCSP response.

Declaration

[C#]
    event TSBAfterOCSPResponseUseEvent OnAfterOCSPResponseUse;
    delegate void TSBAfterOCSPResponseUseEvent(Object Sender, TElX509Certificate Certificate, TElX509Certificate CACertificate, TElOCSPResponse Response);

[VB.NET]
    Event OnAfterOCSPResponseUse As TSBAfterOCSPResponseUseEvent
    Delegate Sub TSBAfterOCSPResponseUseEvent(ByVal Sender As Object, ByVal Certificate As TElX509Certificate, ByVal CACertificate As TElX509Certificate, ByVal Response As TElOCSPResponse)

[Pascal]
    property OnAfterOCSPResponseUse : TSBAfterOCSPResponseUseEvent;
    TSBAfterOCSPResponseUseEvent = procedure(Sender : TObject; Certificate, CACertificate : TElX509Certificate; Response : TElOCSPResponse) of object;

[C++]
    void get_OnAfterOCSPResponseUse(TSBAfterOCSPResponseUseEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAfterOCSPResponseUse(TSBAfterOCSPResponseUseEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBAfterOCSPResponseUseEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Certificate, TElX509CertificateHandle CACertificate, TElOCSPResponseHandle Response);

[PHP]
    TSBAfterOCSPResponseUseEvent|callable|NULL get_OnAfterOCSPResponseUse()
    void set_OnAfterOCSPResponseUse(TSBAfterOCSPResponseUseEvent|callable|NULL $Value)
    callable TSBAfterOCSPResponseUseEvent(TObject $Sender, TElX509Certificate $Certificate, TElX509Certificate $CACertificate, TElOCSPResponse $Response)

[Java]
    TSBAfterOCSPResponseUseEvent getOnAfterOCSPResponseUse();
    void setOnAfterOCSPResponseUse(TSBAfterOCSPResponseUseEvent Value);
    TSBAfterOCSPResponseUseEvent.Callback OnAfterOCSPResponseUse = new TSBAfterOCSPResponseUseEvent.Callback() {
        public void TSBAfterOCSPResponseUseEventCallback(TObject Sender, TElX509Certificate Certificate, TElX509Certificate CACertificate, TElOCSPResponse Response) {
            //...
        }
    }

Parameters

  • Certificate - specifies the certificate being validated.
  • CACertificate - specifies the certificate which signed the Certificate.
    Can be nil / null / Nothing, if the Certificate is self-signed.
  • Response - contains the response that has been processed.

Description

    This event is fired by TElX509CertificateValidator when it has processed an OCSP response during revocation check.

See also:     OnAfterCRLUse    

Discuss this help topic in SecureBlackbox Forum