←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#
Objective-C
C++
protected virtual string OnPrivateKeyPassword( 
   bool encryption 
) 
- (nullable NSString *)onPrivateKeyPassword:(BOOL)encryption; 
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 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly