Discuss this help topic in SecureBlackbox Forum
This event is fired when encrypted data is to be processed.
Declaration
Parameters
Description
This event is fired by TElPGPReader when it has to process encrypted data.
Use
KeyIDs parameter to find the key which is needed for decryption.
Set decrypting key(s) as
DecryptingKeys property inside this event handler.
If message is encrypted using both passphrase and public key,
the developer is allowed either to set an appropriate secret key in this event handler,
or return a passphrase in
OnPassphrase event handler.
If an appropriate secret key is set in this event handler, the
OnPassphrase event will not be fired.