X509ServiceCertificateAuthentication Class

 

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

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.Security.X509ServiceCertificateAuthentication

public sealed class X509ServiceCertificateAuthentication

NameDescription
System_CAPS_pubmethodX509ServiceCertificateAuthentication()

Initializes a new instance of the X509ServiceCertificateAuthentication class.

NameDescription
System_CAPS_pubpropertyCertificateValidationMode

Gets or sets the certificate validation mode.

System_CAPS_pubpropertyCustomCertificateValidator

Gets or sets a custom client certificate validator.

System_CAPS_pubpropertyRevocationMode

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

System_CAPS_pubpropertyTrustedStoreLocation

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The following example shows how to use this class.

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

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: