Discuss this help topic in SecureBlackbox Forum

TElPDFAdvancedPublicKeySecurityHandler.OnBeforeSign

TElPDFAdvancedPublicKeySecurityHandler     See also     


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


This event is fired just before signing.

Declaration

[C#]
    event TSBPDFSignEvent OnBeforeSign;
    delegate void TSBPDFSignEvent(Object Sender, TElSignedCMSMessage CMS);

[VB.NET]
    Event OnBeforeSign As TSBPDFSignEvent
    Delegate Sub TSBPDFSignEvent(ByVal Sender As Object, ByVal CMS As TElSignedCMSMessage)

[Pascal]
    property OnBeforeSign : TSBPDFSignEvent;
    TSBPDFSignEvent = procedure(Sender : TObject; CMS : TElSignedCMSMessage) of object;

[C++]
    void get_OnBeforeSign(TSBPDFSignEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeSign(TSBPDFSignEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPDFSignEvent)(void * _ObjectData, TObjectHandle Sender, TElSignedCMSMessageHandle CMS);

[PHP]
    TSBPDFSignEvent|callable|NULL get_OnBeforeSign()
    void set_OnBeforeSign(TSBPDFSignEvent|callable|NULL $Value)
    callable TSBPDFSignEvent(TObject $Sender, TElSignedCMSMessage $CMS)

[Java]
    TSBPDFSignEvent getOnBeforeSign();
    void setOnBeforeSign(TSBPDFSignEvent Value);
    TSBPDFSignEvent.Callback OnBeforeSign = new TSBPDFSignEvent.Callback() {
        public void TSBPDFSignEventCallback(TObject Sender, TElSignedCMSMessage CMS) {
            //...
        }
    }

Parameters

  • CMS - contains signing certificates

Description

    This event is fired by TElPDFAdvancedPublicKeySecurityHandler just before calculating the signature value.

See also:     OnAfterSign    

Discuss this help topic in SecureBlackbox Forum