Discuss this help topic in SecureBlackbox Forum

TElSimplePGPMIMEMessage.OnEncryptingKeyNotFound

TElSimplePGPMIMEMessage     See also     


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


This event is fired when an encrypting key is missing.

Declaration

[C#]
    not available

[VB.NET]
    not available

[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