Discuss this help topic in SecureBlackbox Forum

TElCMSSignature.OnBeforeSign

TElCMSSignature     See also     


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


This event is fired before signing.

Declaration

[C#]
    event TSBCMSBeforeSignEvent OnBeforeSign;
    delegate void TSBCMSBeforeSignEvent(Object Sender, TElPublicKeyCrypto Crypto);

[VB.NET]
    Event OnBeforeSign As TSBCMSBeforeSignEvent
    Delegate Sub TSBCMSBeforeSignEvent(ByVal Sender As Object, ByVal Crypto As TElPublicKeyCrypto)

[Pascal]
    property OnBeforeSign: TSBCMSBeforeSignEvent;
    TSBCMSBeforeSignEvent = procedure(Sender : TObject; Crypto : TElPublicKeyCrypto) of object;

[C++]
    void get_OnBeforeSign(TSBCMSBeforeSignEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeSign(TSBCMSBeforeSignEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCMSBeforeSignEvent)(void * _ObjectData, TObjectHandle Sender, TElPublicKeyCryptoHandle Crypto);

[PHP]
    TSBCMSBeforeSignEvent|callable|NULL get_OnBeforeSign()
    void set_OnBeforeSign(TSBCMSBeforeSignEvent|callable|NULL $Value)
    callable TSBCMSBeforeSignEvent(TObject $Sender, TElPublicKeyCrypto $Crypto)

[Java]
    TSBCMSBeforeSignEvent getOnBeforeSign();
    void setOnBeforeSign(TSBCMSBeforeSignEvent Value);
    TSBCMSBeforeSignEvent.Callback OnBeforeSign = new TSBCMSBeforeSignEvent.Callback() {
        public void TSBCMSBeforeSignEventCallback(TObject Sender, TElPublicKeyCrypto Crypto) {
            //...
        }
    }

Parameters

  • Crypto - this parameter allows user to set signing parameters

Description

    This event is fired by TElCMSSignature before signing. It allows user to tune various signing parameters via the Crypto parameter. This event is fired once for each signing certificate.

See also:     Sign     OnBeforeVerify    

Discuss this help topic in SecureBlackbox Forum