L_UINT32 LDicomNet::SetServerCertificateTLS(pszPathToCertificate, certType, pszPathToKeyFile);
Sets a certificate for the server. This function is available in the Medical Imaging Suite toolkits.
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:
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.
|<>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.
The server is authenticated always. A server may be authenticated with a chain of certificates, all in the same file.
Required DLLs and Libraries
For an example, refer to LDicomNet::Initialize.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries