Sets a certificate for the client.
public void SetTlsClientCertificate(
string pathToCertificate,
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
)
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.
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.
For an example, refer to SetTlsCipherSuiteByIndex.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET