Discuss this help topic in SecureBlackbox Forum

TElCAdESSignatureProcessor.OnBeforeSign

TElCAdESSignatureProcessor     See also     


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


This event is fired before signing.

Declaration

[C#]
    event TSBCAdESBeforeSignEvent OnBeforeSign;
    delegate void TSBCAdESBeforeSignEvent(Object Sender, TElCMSSignature Signature, TElX509Certificate Cert, TElCustomCertStorage Chain);

[VB.NET]
    Event OnBeforeSign As TSBCAdESBeforeSignEvent
    Delegate Sub TSBCAdESBeforeSignEvent(ByVal Sender As Object, ByVal Signature As TElCMSSignature, ByVal Cert As TElX509Certificate, ByVal Chain As TElCustomCertStorage)

[Pascal]
    property OnBeforeSign : TSBCAdESBeforeSignEvent;
    TSBCAdESBeforeSignEvent = procedure(Sender : TObject; Signature : TElCMSSignature; Cert : TElX509Certificate; Chain : TElCustomCertStorage) of object;

[C++]
    void get_OnBeforeSign(TSBCAdESBeforeSignEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeSign(TSBCAdESBeforeSignEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCAdESBeforeSignEvent)(void * _ObjectData, TObjectHandle Sender, TElCMSSignatureHandle Signature, TElX509CertificateHandle Cert, TElCustomCertStorageHandle Chain);

[PHP]
    TSBCAdESBeforeSignEvent|callable|NULL get_OnBeforeSign()
    void set_OnBeforeSign(TSBCAdESBeforeSignEvent|callable|NULL $Value)
    callable TSBCAdESBeforeSignEvent(TObject $Sender, TElCMSSignature $Signature, TElX509Certificate $Cert, TElCustomCertStorage $Chain)

[Java]
    TSBCAdESBeforeSignEvent getOnBeforeSign();
    void setOnBeforeSign(TSBCAdESBeforeSignEvent Value);
    TSBCAdESBeforeSignEvent.Callback OnBeforeSign = new TSBCAdESBeforeSignEvent.Callback() {
        public void TSBCAdESBeforeSignEventCallback(TObject Sender, TElCMSSignature Signature, TElX509Certificate Cert, TElCustomCertStorage Chain) {
            //...
        }
    }

Parameters

  • Signature - the newly generated signature.
  • Cert - contains signing cetificate.
  • Chain - the certificates to be added to the signature.

Description

    This event is fired by TElCAdESProcessor right before the signature is created.

See also:     Signature    

Discuss this help topic in SecureBlackbox Forum