Discuss this help topic in SecureBlackbox Forum


TElCMSSignature     See also     

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

This event is fired during the signature validation.


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

    Event OnCertificateNeeded As TSBCMSCertificateNeededEvent
    Delegate Sub TSBCMSCertificateNeededEvent(ByVal Sender As Object, ByVal Lookup As TElCertificateLookup, ByRef Cert As TElX509Certificate)

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

    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);

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


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


    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