DecryptionInfoNeeded Event
Asks the application to provide a decryption certificate.
Syntax
typedef struct { String IssuerRDN; DynamicArraySerialNumber; DynamicArray SubjectKeyID; } TsbxMailReaderDecryptionInfoNeededEventParams; typedef void __fastcall (__closure *TsbxMailReaderDecryptionInfoNeededEvent)(System::TObject* Sender, TsbxMailReaderDecryptionInfoNeededEventParams *e); __property TsbxMailReaderDecryptionInfoNeededEvent OnDecryptionInfoNeeded = { read=FOnDecryptionInfoNeeded, write=FOnDecryptionInfoNeeded };
Remarks
This event is fired when the component needs a decryption certificate. Use the provided values to look up the certificate, and assign it to DecryptionCertificate property.
Note that the decryption certificate must have an associated private key.