PassphraseNeeded Event
Requests a data protection password from the application.
Syntax
typedef struct { String Passphrase; bool Skip; } TsbxPGPReaderPassphraseNeededEventParams; typedef void __fastcall (__closure *TsbxPGPReaderPassphraseNeededEvent)(System::TObject* Sender, TsbxPGPReaderPassphraseNeededEventParams *e); __property TsbxPGPReaderPassphraseNeededEvent OnPassphraseNeeded = { read=FOnPassphraseNeeded, write=FOnPassphraseNeeded };
Remarks
The component fires this event to request a decryption password. It is only fired if the data can be decrypted without a key.
The event is fired in a loop until the correct password is passed or the number of password attempts is exceeded.