This method is called by
SetTlsClientCertificate whenever the private key file is password-encrypted in order to obtain the password.
protected virtual string OnPrivateKeyPassword(
bool
)
'Declaration
Protected Overridable Function OnPrivateKeyPassword( _
ByVal As Boolean _
) As String
'Usage
Dim instance As DicomNet
Dim encryption As Boolean
Dim value As String
value = instance.OnPrivateKeyPassword(encryption)
protected virtual string OnPrivateKeyPassword(
bool encryption
)
function Leadtools.Dicom.DicomNet.OnPrivateKeyPassword(
encryption
)
protected:
virtual String^ OnPrivateKeyPassword(
bool
)
Parameters
- encryption
- true if the password is being used for encryption; false if the password is being used for decryption.
Return Value
The password to use for the password-encrypted private key file.