Set the object that will be used to interact with the user.
It will be used for things like prompting the user for passwords.
The interaction
argument will normally be a derived subclass of
TlsInteraction. null can also be provided if no user interaction should occur for this connection.
this |
a connection |
interaction |
an interaction object, or null |