Discuss this help topic in SecureBlackbox Forum


TElMessagePartHandlerPGPMime     See also     

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

This event is fired before signed message is processed.


    event TSBPGPSignedEvent OnSigned;
    public delegate void TSBPGPSignedEvent(object Sender, byte[][] KeyIDs, TSBPGPSignatureType SignatureType)

    Event OnSigned As TSBPGPSignedEvent
    Delegate Sub TSBPGPSignedEvent(ByVal Sender As Object, ByVal KeyIDs As Byte()(), ByVal SignatureType As TSBPGPSignatureType)

    property OnSigned : TSBPGPSignedEvent;
    TSBPGPSignedEvent = procedure(Sender : TObject; const KeyIDs : TSBKeyIDs; SignatureType : TSBPGPSignatureType) of object;
    TSBKeyIDs = array of TSBKeyID;
    TSBKeyID = array[0..7] of byte;

    void get_OnSigned(TSBPGPSignedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSigned(TSBPGPSignedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPSignedEvent)(void * _ObjectData, TObjectHandle Sender, const uint8_t pKeyIDs[][8], int32_t szKeyIDs, TSBPGPSignatureTypeRaw SignatureType);

    TSBPGPSignedEvent|callable|NULL get_OnSigned()
    void set_OnSigned(TSBPGPSignedEvent|callable|NULL $Value)
    callable TSBPGPSignedEvent(TObject $Sender, $KeyIDs, integer $SignatureType)


  • KeyIDs - array containing identifiers of the keys used for message signing.
  • SignatureType - type of the signature.
  • pKeyIDs -
  • szKeyIDs - the length of pcKeyIDs.



    This event is fired by TElMessagePartHandlerPGPMime when it has to process signed data.
    Use KeyIDs parameter to find keys used for message signing, combine them into keyring and set it as VerifyingKeys property inside this event handler.

See also:     OnEncrypted     OnKeyPassphrase     OnPassphrase     OnSignatures    

Discuss this help topic in SecureBlackbox Forum