RecipientInfo Event
Fired for each recipient key of the encrypted message.
Syntax
class PIMAPRecipientInfoEventParams { public: const QString &KeyId(); const QString &PublicKeyAlgorithm(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void RecipientInfo(PIMAPRecipientInfoEventParams *e);
// Or, subclass PIMAP and override this emitter function. virtual int FireRecipientInfo(PIMAPRecipientInfoEventParams *e) {...}
Remarks
This event fires when the Decrypt or DecryptAndVerifySignature method is called.
KeyId is the Id of the key used to encrypt the message. If a subkey was used to encrypt the message this
will be the Id of that subkey. It is the hex-encoded, 4- or 8-byte Id of the key. It is the same as the last 4 or 8 bytes of the fingerprint.
For instance:
BF52A0ABThis can be used to identify the correct key to specify in Keys. Keys can be set from within this event as this event fires directly before the decryption process begins.