Discuss this help topic in SecureBlackbox Forum

TElCMSSignature.OnCRLNeeded

TElCMSSignature     See also     


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


This event is fired during the signature validation.

Declaration

[C#]
    event TSBCMSCRLNeededEvent OnCRLNeeded;
    delegate void TSBCMSCRLNeededEvent(Object Sender, TElCMSCRLValidatedID ID, TElX509Certificate Cert, ref TElCertificateRevocationList Crl);

[VB.NET]
    Event OnCRLNeeded As TSBCMSCRLNeededEvent
    Delegate Sub TSBCMSCRLNeededEvent(ByVal Sender As Object, ByVal ID As TElCMSCRLValidatedID, ByVal Cert As TElX509Certificate, ByRef Crl As TElCertificateRevocationList)

[Pascal]
    property OnCRLNeeded: TSBCMSCRLNeededEvent;
    TSBCMSCRLNeededEvent = procedure(Sender : TObject; ID : TElCMSCRLValidatedID; Cert : TElX509Certificate; var CRL : TElCertificateRevocationList) of object;

[C++]
    void get_OnCRLNeeded(TSBCMSCRLNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCRLNeeded(TSBCMSCRLNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCMSCRLNeededEvent)(void * _ObjectData, TObjectHandle Sender, TElCMSCRLValidatedIDHandle ID, TElX509CertificateHandle Cert, TElCertificateRevocationListHandle &Crl);

[PHP]
    TSBCMSCRLNeededEvent|callable|NULL get_OnCRLNeeded()
    void set_OnCRLNeeded(TSBCMSCRLNeededEvent|callable|NULL $Value)
    callable TSBCMSCRLNeededEvent(TObject $Sender, TElCMSCRLValidatedID $ID, TElX509Certificate $Cert, TElCertificateRevocationList &$Crl)

[Java]
    TSBCMSCRLNeededEvent getOnCRLNeeded();
    void setOnCRLNeeded(TSBCMSCRLNeededEvent Value);
    TSBCMSCRLNeededEvent.Callback OnCRLNeeded = new TSBCMSCRLNeededEvent.Callback() {
        public TElCertificateRevocationList TSBCMSCRLNeededEventCallback(TObject Sender, TElCMSCRLValidatedID ID, TElX509Certificate Cert) {
            //...
        }
    }

Parameters

  • ID - identifier of the missing CRL
  • Cert - certificate, for which the CRL is missing
  • CRL - required CRL should be put here

Description

    This event is fired by TElCMSSignature during signature validation if a required certificate revocation list (CRL) is missing. User should find and provide it via the CRL parameter. This event is fired once for each missing CRL.

See also:     OnOCSPResponseNeeded     OnCertificateNeeded    

Discuss this help topic in SecureBlackbox Forum