LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

SetTlsClientCertificate Method








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. .NET support
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
)
ObjectiveC Syntax
 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomNet Class
DicomNet Members
OnPrivateKeyPassword Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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