←Select platform

OnPrivateKeyPassword Method

Summary

This method is called by SetTlsClientCertificate whenever the private key file is password-encrypted in order to obtain the password.

Syntax
C#
VB
C++
protected virtual string OnPrivateKeyPassword( 
   bool encryption 
) 
Protected Overridable Function OnPrivateKeyPassword( _ 
   ByVal encryption As Boolean _ 
) As String 
protected: 
virtual String^ OnPrivateKeyPassword(  
   bool encryption 
)  

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.

Remarks

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.

Example

For an example, refer to SetTlsCipherSuiteByIndex.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly