Discuss this help topic in SecureBlackbox Forum

TElCMSSignature.OnCertificateNeeded

TElCMSSignature     See also     


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


This event is fired during the signature validation.

Declaration

[C#]
    event TSBCMSCertificateNeededEvent OnCertificateNeeded;
    delegate void TSBCMSCertificateNeededEvent(Object Sender, TElCertificateLookup Lookup, ref TElX509Certificate Cert);

[VB.NET]
    Event OnCertificateNeeded As TSBCMSCertificateNeededEvent
    Delegate Sub TSBCMSCertificateNeededEvent(ByVal Sender As Object, ByVal Lookup As TElCertificateLookup, ByRef Cert As TElX509Certificate)

[Pascal]
    property OnCertificateNeeded: TSBCMSCertificateNeededEvent;
    TSBCMSCertificateNeededEvent = procedure(Sender : TObject; Lookup : TElCertificateLookup; var Cert : TElX509Certificate) of object;

[C++]
    void get_OnCertificateNeeded(TSBCMSCertificateNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCertificateNeeded(TSBCMSCertificateNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCMSCertificateNeededEvent)(void * _ObjectData, TObjectHandle Sender, TElCertificateLookupHandle Lookup, TElX509CertificateHandle &Cert);

[PHP]
    TSBCMSCertificateNeededEvent|callable|NULL get_OnCertificateNeeded()
    void set_OnCertificateNeeded(TSBCMSCertificateNeededEvent|callable|NULL $Value)
    callable TSBCMSCertificateNeededEvent(TObject $Sender, TElCertificateLookup $Lookup, TElX509Certificate &$Cert)

[Java]
    TSBCMSCertificateNeededEvent getOnCertificateNeeded();
    void setOnCertificateNeeded(TSBCMSCertificateNeededEvent Value);
    TSBCMSCertificateNeededEvent.Callback OnCertificateNeeded = new TSBCMSCertificateNeededEvent.Callback() {
        public TElX509Certificate TSBCMSCertificateNeededEventCallback(TObject Sender, TElCertificateLookup Lookup) {
            //...
        }
    }

Parameters

  • Lookup - contains parameters of the required certificate
  • Cert - required certificate should be put here

Description

    This event is fired by TElCMSSignature during validation, if a required certificate is missing. User should find a required certificate and provide it via Cert parameter. This event is fired once for each missing certificate.

See also:     Validate     OnCRLNeeded    

Discuss this help topic in SecureBlackbox Forum