編輯

共用方式為


X509ServiceCertificateAuthentication Class

Definition

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

public ref class X509ServiceCertificateAuthentication sealed
public ref class X509ServiceCertificateAuthentication
public sealed class X509ServiceCertificateAuthentication
public class X509ServiceCertificateAuthentication
type X509ServiceCertificateAuthentication = class
Public NotInheritable Class X509ServiceCertificateAuthentication
Public Class X509ServiceCertificateAuthentication
Inheritance
X509ServiceCertificateAuthentication

Examples

The following example shows how to use this class.

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

Constructors

X509ServiceCertificateAuthentication()

Initializes a new instance of the X509ServiceCertificateAuthentication class.

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