Indy 9
OnGetPassword
Event type for password retrieval.
Description
OnGetPassword is an event that requests the password for unlocking the private key stored in a file. You can simply set the Password variable with the proper password or you can add some dialog box that prompts user for the password.

  procedure TForm1.IdConnectionInterceptOpenSSL1GetPassword(var Password: String);
  begin
     Password := 'aaaa';
  end;

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.