LEADTOOLS Medical (Leadtools.Dicom assembly)

OnPrivateKeyPassword Method

Show in webframe







true if the password is being used for encryption; false if the password is being used for decryption.
This method is called by SetTlsClientCertificate whenever the private key file is password-encrypted in order to obtain the password.
Syntax
protected virtual string OnPrivateKeyPassword( 
   bool encryption
)
'Declaration
 
Protected Overridable Function OnPrivateKeyPassword( _
   ByVal encryption 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 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

See Also

Reference

DicomNet Class
DicomNet Members
SetTlsClientCertificate Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features