Discuss this help topic in SecureBlackbox Forum


TElPGPSecretKey     See also     

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

This event is fired just before the end of the signing process.


    event TSBPGPBeforeSignEvent OnBeforeSign;
    delegate void TSBPGPBeforeSignEvent(object Sender, TElPGPSignature Signature, object Subject);

    Event OnBeforeSign As TSBPGPBeforeSignEvent
    Public Delegate Sub TSBPGPBeforeSignEvent(ByVal Sender As Object, ByVal Signature As TElPGPSignature, ByVal Subject As Object)

    property OnBeforeSign : TSBPGPBeforeSignEvent;
    TSBPGPBeforeSignEvent = procedure(Sender: TObject; Signature : TElPGPSignature; Subject : TObject) of object;

    void get_OnBeforeSign(TSBPGPBeforeSignEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeSign(TSBPGPBeforeSignEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPBeforeSignEvent)(void * _ObjectData, TObjectHandle Sender, TElPGPSignatureHandle Signature, TObjectHandle Subject);

    TSBPGPBeforeSignEvent|callable|NULL get_OnBeforeSign()
    void set_OnBeforeSign(TSBPGPBeforeSignEvent|callable|NULL $Value)
    callable TSBPGPBeforeSignEvent(TObject $Sender, TElPGPSignature $Signature, TObject $Subject)


  • Signature - a newly generated UserID/SubKey/Signature
  • Subject - object being signed


    This event is fired just before a signature is generated inside the Generate method. Use this event handler to configure signature extensions before the signing is done. This event may be fired several times for a single Generate call (for each signature being created, such as UserID signature and subkey signature).

See also:     Generate    

Discuss this help topic in SecureBlackbox Forum