Discuss this help topic in SecureBlackbox Forum

TElXAdESProcessor.OnCertificateNeeded

TElXAdESProcessor     See also     


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


This event is fired when a signing certificate is needed.

Declaration

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

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

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

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

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

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

Parameters

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

Description

    This event is fired by TElXAdESProcessor when a required signing certificate is missing. User should find a required certificate and provide it via the Cert parameter. This event is fired once for each missing certificate.

See also:     GetSignerCertificate    

Discuss this help topic in SecureBlackbox Forum