Discuss this help topic in SecureBlackbox Forum

TElPGPReader.OnSigned

TElPGPReader     See also     


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


This event is fired before signed message is processed.

Declaration

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

[VB.NET]
    Event OnSigned As TSBPGPSignedEvent
    Delegate Sub TSBPGPSignedEvent(ByVal Sender As Object, ByVal KeyIDs As Byte()(), ByVal SignatureType As TSBPGPSignatureType)

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

[C++]
    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);

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

Parameters

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

Values


Description

    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