Sets a certificate for the client. This function is available in the Medical Imaging Suite toolkits.
#include "ltdic.h"
L_UINT32 LDicomNet::SetClientCertificateTLS(pszPathToCertificate, certType, pszPathToKeyFile);
Character string that contains the path to the file that contains the certificate.
Flag that indicates whether the certificate is binary or text. Possible values are:
| Value | Meaning | 
|---|---|
| L_TLS_FILETYPE_PEM | Text certificate | 
| L_TLS_FILETYPE_ASN1 | Binary certificate | 
Character string that contains the path to the file containing the private key. This parameter is used if the private key is available in raw mode.
| Value | Meaning | 
|---|---|
| DICOM_SUCCESS | Success | 
| <>DICOM_SUCCESS | An error occurred. Refer to Return Codes. | 
The usual sizes for an RSA key is 512 and 1024 bits. There is a limitation for import in Europe a RSA key must be at least 768 bits long. There are no known export restrictions.
Win32, x64
For an example, refer to LDicomNet::Initialize.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
