Discuss this help topic in SecureBlackbox Forum

TElX509CertificateValidator.OnCRLError

TElX509CertificateValidator     See also     


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


This event is fired when there is a CRL error.

Declaration

[C#]
    event TSBCertificateValidatorCRLErrorEvent OnCRLError;
    delegate void TSBCertificateValidatorCRLErrorEvent(Object Sender, TElX509Certificate Certificate, string Location, TElCustomCRLRetriever Retriever, int ErrorCode);

[VB.NET]
    Event OnCRLError As TSBCertificateValidatorCRLErrorEvent
    Delegate Sub TSBCertificateValidatorCRLErrorEvent(ByVal Sender As Object, ByVal Certificate As TElX509Certificate, ByVal Location As String, ByVal Retriever As TElCustomCRLRetriever, ByVal ErrorCode As Integer)

[Pascal]
    property OnCRLError : TSBCertificateValidatorCRLErrorEvent;
    TSBCertificateValidatorCRLErrorEvent = procedure (Sender: TObject; Certificate : TElX509Certificate; const Location : string; Retriever : TElCustomCRLRetriever; ErrorCode : integer) of object;

[C++]
    void get_OnCRLError(TSBCertificateValidatorCRLErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCRLError(TSBCertificateValidatorCRLErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCertificateValidatorCRLErrorEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Certificate, const char * pcLocation, int32_t szLocation, TElCustomCRLRetrieverHandle Retriever, int32_t ErrorCode);

[PHP]
    TSBCertificateValidatorCRLErrorEvent|callable|NULL get_OnCRLError()
    void set_OnCRLError(TSBCertificateValidatorCRLErrorEvent|callable|NULL $Value)
    callable TSBCertificateValidatorCRLErrorEvent(TObject $Sender, TElX509Certificate $Certificate, string $Location, TElCustomCRLRetriever $Retriever, integer $ErrorCode)

[Java]
    TSBCertificateValidatorCRLErrorEvent getOnCRLError();
    void setOnCRLError(TSBCertificateValidatorCRLErrorEvent Value);
    TSBCertificateValidatorCRLErrorEvent.Callback OnCRLError = new TSBCertificateValidatorCRLErrorEvent.Callback() {
        public void TSBCertificateValidatorCRLErrorEventCallback(TObject Sender, TElX509Certificate Certificate, String Location, TElCustomCRLRetriever Retriever, int ErrorCode) {
            //...
        }
    }

Parameters

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

Description

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

See also:     CheckCRL     OnCRLNeeded     OnCRLRetrieved     OnOCSPError    

Discuss this help topic in SecureBlackbox Forum