←Select platform

SetTlsClientCertificate Method

Summary

Sets a certificate for the client.

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

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly