Provides a managed way to perform X.509 certificate-based authentication. This class is used to negotiate client and server certificates in secure communication protocols like TLS/SSL.
The System.Net.Security.CertificateNegotiation class is a crucial component for establishing secure network connections in applications built with the .NET Framework. It abstracts the complexities of the underlying security protocols, allowing developers to focus on authenticating parties involved in a communication. This class plays a key role in scenarios requiring mutual authentication, where both the client and server present and validate X.509 certificates.
public static class CertificateNegotiation
This is a static class, meaning all its members are accessed through the class name itself without requiring an instance of the class.
Gets the collection of client certificates that will be sent to the server.
Gets or sets the target server that the client is attempting to authenticate.
Indicates that any client certificate is acceptable for authentication.
Indicates that any RSA signature is acceptable for client authentication.
Indicates that any server certificate is acceptable for authentication.
Creates a client identity using the specified certificate.
Creates a server identity using the specified certificate.
Selects a client certificate from the specified collection that is trusted by the specified root store.
Selects a server certificate from the specified collection that is trusted by the specified root store.
Assembly: System.Net.dll
Namespace: System.Net.Security
Platform: .NET Framework 2.0 and later versions.