LEADTOOLS Medical (Leadtools.Dicom assembly)

SetTlsClientCertificate Method

Show in webframe







The path to the file that contains the certificate.
The type of the certificate (textual or binary).
The path to the file containing the private key. This parameter is used if the private key is available in raw mode.
Sets a certificate for the client.
Syntax
public void SetTlsClientCertificate( 
   string pathToCertificate,
   DicomTlsCertificateType certificateType,
   string pathToKeyFile
)
'Declaration
 
Public Sub SetTlsClientCertificate( _
   ByVal pathToCertificate As String, _
   ByVal certificateType As DicomTlsCertificateType, _
   ByVal pathToKeyFile As String _
) 
'Usage
 
Dim instance As DicomNet
Dim pathToCertificate As String
Dim certificateType As DicomTlsCertificateType
Dim pathToKeyFile As String
 
instance.SetTlsClientCertificate(pathToCertificate, certificateType, pathToKeyFile)
public void SetTlsClientCertificate( 
   string pathToCertificate,
   DicomTlsCertificateType certificateType,
   string pathToKeyFile
)

            

            
 function Leadtools.Dicom.DicomNet.SetTlsClientCertificate( 
   pathToCertificate ,
   certificateType ,
   pathToKeyFile 
)
public:
void SetTlsClientCertificate( 
   String^ pathToCertificate,
   DicomTlsCertificateType certificateType,
   String^ pathToKeyFile
) 

Parameters

pathToCertificate
The path to the file that contains the certificate.
certificateType
The type of the certificate (textual or binary).
pathToKeyFile
The path to the file containing the private key. This parameter is used if the private key is available in raw mode.
Remarks
The usual sizes for an RSA key is 512 and 1024 bits. There is a limitation for import in Europe - an RSA key must be at least 768 bits long. There are no known export restrictions.
Example
For an example, refer to SetTlsCipherSuiteByIndex.
Requirements

Target Platforms

See Also

Reference

DicomNet Class
DicomNet Members
OnPrivateKeyPassword 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