Discuss this help topic in SecureBlackbox Forum


TElPGPSecretKey     See also     

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

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
    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)

    TSBPGPBeforeSignEvent getOnBeforeSign();
    void setOnBeforeSign(TSBPGPBeforeSignEvent Value);
    TSBPGPBeforeSignEvent.Callback OnBeforeSign = new TSBPGPBeforeSignEvent.Callback() {
        public void TSBPGPBeforeSignEventCallback(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