←Select platform

SetTlsClientCertificate Method

Summary

Sets a certificate for the client.

Syntax

C#
VB
C++
public void SetTlsClientCertificate(  
   string pathToCertificate, 
   Leadtools.Dicom.DicomTlsCertificateType certificateType, 
   string pathToKeyFile 
) 
Public Sub SetTlsClientCertificate( _ 
   ByVal pathToCertificate As String, _ 
   ByVal certificateType As Leadtools.Dicom.DicomTlsCertificateType, _ 
   ByVal pathToKeyFile As String _ 
)  
public: 
void SetTlsClientCertificate(  
   String^ pathToCertificate, 
   Leadtools.Dicom.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize