PasswordNeeded Event
This event is fired when a decryption password is needed.
Syntax
typedef struct { String Password; bool Cancel; } TsbxCertificateManagerPasswordNeededEventParams; typedef void __fastcall (__closure *TsbxCertificateManagerPasswordNeededEvent)(System::TObject* Sender, TsbxCertificateManagerPasswordNeededEventParams *e); __property TsbxCertificateManagerPasswordNeededEvent OnPasswordNeeded = { read=FOnPasswordNeeded, write=FOnPasswordNeeded };
Remarks
The component fires this event when a password is needed to decrypt a certificate or a private key.
In the handler of this event, assign the password to the Password parameter, or set Cancel to true to abort the operation.