Discuss this help topic in SecureBlackbox Forum

TElCAdESSignatureProcessor.OnBeforeSign

TElCAdESSignatureProcessor     See also     


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


This event is fired before signing.

Declaration

[C#/Java]
    property 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)

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