편집

다음을 통해 공유


X509CertificateRecipientClientCredential Class

Definition

Represents the settings used by the client to validate the certificate presented by the service using SSL authentication. It also contains any certificate for the service that is explicitly configured on the client to use for encrypting messages to the service using message security.

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

Examples

This code shows one way to create an instance of this class.

X509CertificateRecipientClientCredential rcc =
    client.ClientCredentials.ServiceCertificate;
Dim rcc As X509CertificateRecipientClientCredential = _
client.ClientCredentials.ServiceCertificate

Remarks

This class is used by the ServiceCertificate property in the ClientCredentials class.

Properties

Authentication

Gets the settings used to validate the service certificate obtained using SSL authentication.

DefaultCertificate

Gets or sets the default certificate to use for the service.

ScopedCertificates

Gets a scoped certificate to use to represent the service that the client is communicating with.

SslCertificateAuthentication

Gets or sets the SSL certificate validator to use.

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)
SetDefaultCertificate(StoreLocation, StoreName, X509FindType, Object)

Specifies the default certificate to use for the service. For bindings that use certificate-based message security, this certificate is used to encrypt messages to the service and is expected to be used by the service for signing replies to the client.

SetDefaultCertificate(String, StoreLocation, StoreName)

Specifies the default certificate to use for the service. For bindings that use certificate-based message security, this certificate is used to encrypt messages to the service and is expected to be used by the service for signing replies to the client.

SetScopedCertificate(StoreLocation, StoreName, X509FindType, Object, Uri)

Sets a certificate by certificate store location, certificate store name, type of X.509 search, and value to search for, and stores it in a collection to be used for the URL that sets the scope.

SetScopedCertificate(String, StoreLocation, StoreName, Uri)

Sets a certificate by subject name, certificate store location, and certificate store name, and stores it in a collection to be used for the URL that sets the scope.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also