Discuss this help topic in SecureBlackbox Forum

TElPGPDecryptingStream.OnKeyIDs

TElPGPDecryptingStream     See also     


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


This event is fired to notify the user which keys were used for file encryption.

Declaration

[C#]
    event TSBPGPKeyIDsEvent OnKeyIDs;
    delegate void TSBPGPKeyIDsEvent(Object Sender, Byte[][] KeyIDs);

[VB.NET]
    Event OnKeyIDs As TSBPGPKeyIDsEvent
    Delegate Sub TSBPGPKeyIDsEvent(ByVal Sender As Object, ByVal KeyIDs As Byte[][])

[Pascal]
    property OnKeyIDs : TSBPGPKeyIDsEvent;
    TSBPGPKeyIDsEvent = procedure(Sender: TObject; const KeyIDs: TSBKeyIDs) of object;
    TSBKeyIDs = array of TSBKeyID;
    TSBKeyID = array[0..7] of byte;

[C++]
    void get_OnKeyIDs(TSBPGPKeyIDsEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnKeyIDs(TSBPGPKeyIDsEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPKeyIDsEvent)(void * _ObjectData, TObjectHandle Sender, const uint8_t pKeyIDs[][8], int32_t szKeyIDs);

[PHP]
    TSBPGPKeyIDsEvent|callable|NULL get_OnKeyIDs()
    void set_OnKeyIDs(TSBPGPKeyIDsEvent|callable|NULL $Value)
    callable TSBPGPKeyIDsEvent(TObject $Sender, $KeyIDs)

[Java]
    TSBPGPKeyIDsEvent getOnKeyIDs();
    void setOnKeyIDs(TSBPGPKeyIDsEvent Value);
    TSBPGPKeyIDsEvent.Callback OnKeyIDs = new TSBPGPKeyIDsEvent.Callback() {
        public void TSBPGPKeyIDsEventCallback(TObject Sender, byte[][] KeyIDs) {
            //...
        }
    }

Parameters

  • KeyIDs - list of KeyIDs
  • pKeyIDs -
  • szKeyIDs - the length of pcKeyIDs.

Description

    This event is fired by TElPGPDecryptingStream to notify the user about the keys that were used for file encryption.
    This event is fired in order to allow the user initialize Keyring property with the keys required for decryption.

See also:     OnPassphrase    

Discuss this help topic in SecureBlackbox Forum