PrivateKeyNeeded Event
Asks the application for the client's private key.
Syntax
type TPrivateKeyNeededEvent = procedure ( Sender: TObject; var Skip: Boolean ) of Object;
property OnPrivateKeyNeeded: TPrivateKeyNeededEvent read FOnPrivateKeyNeeded write FOnPrivateKeyNeeded;
Remarks
The component fires this event if the public key provided in Key was accepted by the server, but no private key is available for it.
Use this event handler to attach the private key to your Key. The component will pick the key up and continue the authentication.