Discuss this help topic in SecureBlackbox Forum

TElX509CertificateValidator.OnCRLNeeded

TElX509CertificateValidator     See also     


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


This event is fired when no CRLs could be retrieved.

Declaration

[C#/Java]
    event TSBCRLNeededEvent OnCRLNeeded;
    delegate void TSBCRLNeededEvent(Object Sender, TElX509Certificate Certificate, TElX509Certificate CACertificate, ref TElCustomCRLStorage CRLs);

[VB.NET]
    Event OnCRLNeeded As TSBCRLNeededEvent
    Delegate Sub TSBCRLNeededEvent(ByVal Sender As Object, ByVal Certificate As TElX509Certificate, ByVal CACertificate As TElX509Certificate, ByRef CRLs As TElCustomCRLStorage)

[Pascal]
    property OnCRLNeeded : TSBCRLNeededEvent;
    TSBCRLNeededEvent = procedure (Sender: TObject; Certificate, CACertificate : TElX509Certificate; var CRLs : TElCustomCRLStorage) of object;

[C++]
    void get_OnCRLNeeded(TSBCRLNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCRLNeeded(TSBCRLNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCRLNeededEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Certificate, TElX509CertificateHandle CACertificate, TElCustomCRLStorageHandle &CRLs);

[PHP]
    TSBCRLNeededEvent|callable|NULL get_OnCRLNeeded()
    void set_OnCRLNeeded(TSBCRLNeededEvent|callable|NULL $Value)
    callable TSBCRLNeededEvent(TObject $Sender, TElX509Certificate $Certificate, TElX509Certificate $CACertificate, TElCustomCRLStorage &$CRLs)

Parameters

  • Certificate - Specifies the certificate that is being validated.
  • CACertificate - Specifies the certificate, which signed Certificate.
    Can be nil / null / Nothing, if Certificate is self-signed.
  • CRLs - The storage with retrieved CRLs

Description

    This event is fired when the certificate includes CRL Distribution Point extension, yet no CRLs could be retrieved. Your application should locate the CRLs and provide them by passing an instance of TElCustomCRLStorage (filled with one or more CRLs) via CRLs property back to Certificate Validator.

See also:     CheckCRL     OnCRLError     OnCRLRetrieved    

Discuss this help topic in SecureBlackbox Forum