Discuss this help topic in SecureBlackbox Forum

TElMessagePartHandlerPGPMime.OnEncryptingKeyNotFound

TElMessagePartHandlerPGPMime     See also     


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


This event is fired when an encrypting key is missing.

Declaration

[C#]
    event TSBPGPKeyNotFoundEvent OnEncryptingKeyNotFound;
    delegate void TSBPGPKeyNotFoundEvent(Object Sender, TElMailAddress Address, ref bool ExcludeFromList);

[VB.NET]
    Event OnEncryptingKeyNotFound As TSBPGPKeyNotFoundEvent
    Delegate Sub TSBPGPKeyNotFoundEvent(ByVal Sender As Object, ByVal Address As TElMailAddress, ByRef ExcludeFromList As Boolean)

[Pascal]
    property OnEncryptingKeyNotFound: TSBPGPKeyNotFoundEvent;
    TSBPGPKeyNotFoundEvent = procedure(Sender: TObject; Address: TElMailAddress; var ExcludeFromList: boolean) of object;

[C++]
    void get_OnEncryptingKeyNotFound(TSBPGPKeyNotFoundEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnEncryptingKeyNotFound(TSBPGPKeyNotFoundEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPKeyNotFoundEvent)(void * _ObjectData, TObjectHandle Sender, TElMailAddressHandle Address, int8_t &ExcludeFromList);

[PHP]
    TSBPGPKeyNotFoundEvent|callable|NULL get_OnEncryptingKeyNotFound()
    void set_OnEncryptingKeyNotFound(TSBPGPKeyNotFoundEvent|callable|NULL $Value)
    callable TSBPGPKeyNotFoundEvent(TObject $Sender, TElMailAddress $Address, bool &$ExcludeFromList)

[Java]
    TSBPGPKeyNotFoundEvent getOnEncryptingKeyNotFound();
    void setOnEncryptingKeyNotFound(TSBPGPKeyNotFoundEvent Value);
    TSBPGPKeyNotFoundEvent.Callback OnEncryptingKeyNotFound = new TSBPGPKeyNotFoundEvent.Callback() {
        public void TSBPGPKeyNotFoundEventCallback(TObject Sender, TElMailAddress Address, TSBBoolean ExcludeFromList) {
            //...
        }
    }

Parameters

  • Address - address of the recepient for which a PGP-key is not available
  • ExcludeFromList - specifies whether to exclude a recepient for which a key is missing from the list or not

Description

    This event is fired before message encryption if the public key is not found for one or more recipients. It is fired once for each recipient.

See also:     OnSigningKeyNotFound    

Discuss this help topic in SecureBlackbox Forum