Visual Basic (Declaration) | |
---|---|
Public Sub SetTlsClientCertificate( _ ByVal pathToCertificate As String, _ ByVal certificateType As DicomTlsCertificateType, _ ByVal pathToKeyFile As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void SetTlsClientCertificate( string pathToCertificate, DicomTlsCertificateType certificateType, string pathToKeyFile ) |
Managed Extensions for C++ | |
---|---|
public: void SetTlsClientCertificate( string* pathToCertificate, DicomTlsCertificateType certificateType, string* pathToKeyFile ) |
C++/CLI | |
---|---|
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.
For an example, refer to SetTlsCipherSuiteByIndex.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family