Discuss this help topic in SecureBlackbox Forum


TElPGPReader     See also     

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

This event is fired before signed message is processed.


    event TSBPGPSignedEvent OnSigned;
    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)

    TSBPGPSignedEvent getOnSigned();
    void setOnSigned(TSBPGPSignedEvent Value);
    TSBPGPSignedEvent.Callback OnSigned = new TSBPGPSignedEvent.Callback() {
        public void TSBPGPSignedEventCallback(TObject Sender, byte[][] KeyIDs, TSBPGPSignatureType SignatureType) {


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



    This event is fired by TElPGPReader 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:     OnArmored     OnCompressed     OnCreateOutputStream     OnEncrypted     OnKeyPassphrase     OnPassphrase     OnProgress     OnSignatures    

Discuss this help topic in SecureBlackbox Forum