Constructs a new SslProperties with a single client certificate and specified enabled SSL protocols.

Namespace:  IBM.CTG
Assembly:  IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 1.0.0.0

Syntax

C#
public SslProperties(
	X509Certificate clientCertificate,
	SslProtocols enabledSslProtocols
)
Visual Basic
Public Sub New ( _
	clientCertificate As X509Certificate, _
	enabledSslProtocols As SslProtocols _
)
Visual C++
public:
SslProperties(
	X509Certificate^ clientCertificate, 
	SslProtocols enabledSslProtocols
)

Parameters

clientCertificate
Type: System.Security.Cryptography.X509Certificates..::..X509Certificate
An X509Certificate that is used for client authentication.
enabledSslProtocols
Type: System.Security.Authentication..::..SslProtocols
The SSL protocols that can be used for authentication.

Remarks

This constructor sets the ClientCertificates property to a new X509CertificateCollection containing the specified certificate.

See Also