This method is called by SetTlsClientCertificate whenever the private key file is password-encrypted in order to obtain the password.
protected virtual string OnPrivateKeyPassword(
Protected Overridable Function OnPrivateKeyPassword( _
ByVal encryption As Boolean _
) As String
virtual String^ OnPrivateKeyPassword(
true if the password is being used for encryption; false if the password is being used for decryption.
The password to use for the password-encrypted private key file.
A call to this method may be generated after a call to SetTlsClientCertificate with a private key file that is password-encrypted, in order to obtain the password.
For an example, refer to SetTlsCipherSuiteByIndex.