Discuss this help topic in SecureBlackbox Forum

TElXAdESProcessor.OnStoreCertificate

TElXAdESProcessor     See also     


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


This event is fired when a certificate URI is needed.

Declaration

[C#]
    event TSBXAdESStoreCertificateEvent OnStoreCertificate;
    delegate void TSBXAdESStoreCertificateEvent(Object Sender, TElX509Certificate Cert, ref string URI);

[VB.NET]
    Event OnStoreCertificate As TSBXAdESStoreCertificateEvent
    Delegate Sub TSBXAdESStoreCertificateEvent(ByVal Sender As Object, ByVal Cert As TElX509Certificate, ByRef URI As String)

[Pascal]
    property OnStoreCertificate : TSBXAdESStoreCertificateEvent;
    TSBXAdESStoreCertificateEvent = procedure(Sender : TObject; Cert : TElX509Certificate; var URI : WideString) of object;

[C++]
    void get_OnStoreCertificate(TSBXAdESStoreCertificateEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnStoreCertificate(TSBXAdESStoreCertificateEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBXAdESStoreCertificateEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Cert, sb_char16_t * pcURI, int32_t &szURI);

[PHP]
    TSBXAdESStoreCertificateEvent|callable|NULL get_OnStoreCertificate()
    void set_OnStoreCertificate(TSBXAdESStoreCertificateEvent|callable|NULL $Value)
    callable TSBXAdESStoreCertificateEvent(TObject $Sender, TElX509Certificate $Cert, string &$URI)

[Java]
    TSBXAdESStoreCertificateEvent getOnStoreCertificate();
    void setOnStoreCertificate(TSBXAdESStoreCertificateEvent Value);
    TSBXAdESStoreCertificateEvent.Callback OnStoreCertificate = new TSBXAdESStoreCertificateEvent.Callback() {
        public String TSBXAdESStoreCertificateEventCallback(TObject Sender, TElX509Certificate Cert) {
            //...
        }
    }

Parameters

  • Cert - the certificate which reference is needed.
  • URI - specifies the URI of the certificate.
  • pcURI - specifies the URI of the certificate.
  • szURI - the length of pcURI.

Description

    This event is fired by TElXAdESProcessor when it needs to store a certificate reference. User should provide the URI of the certificate via the corresponding parameter.

See also:     OnStoreCRL     OnStoreOCSPResponse     AddAttributeCertificateRefs     AddCompleteCertificateRefs    

Discuss this help topic in SecureBlackbox Forum