X509ServiceCertificateAuthentication Class

Definition

Represents the settings used by the client proxy to authenticate service certificates that are obtained using SSL/TLS negotiation.

C#
public sealed class X509ServiceCertificateAuthentication
C#
public class X509ServiceCertificateAuthentication
Inheritance
X509ServiceCertificateAuthentication

Examples

The following example shows how to use this class.

C#
ClientCredentials clientCreds =
    new ClientCredentials();
Console.WriteLine(
    clientCreds.ServiceCertificate.Authentication);

Constructors

Properties

CertificateValidationMode

Gets or sets the certificate validation mode.

CustomCertificateValidator

Gets or sets a custom client certificate validator.

RevocationMode

Gets or sets the certificate revocation mode for ChainTrust and PeerOrChainTrust X.509 certificate validation mode.

TrustedStoreLocation

Gets or sets the trusted store location under which context the client certificate chain is validated.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Product Versions
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)