←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly