X509CertificateRecipientClientCredential Class
TOC
Collapse the table of content
Expand the table of content

X509CertificateRecipientClientCredential Class

 

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.

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

System.Object
  System.ServiceModel.Security.X509CertificateRecipientClientCredential

public sealed class X509CertificateRecipientClientCredential

NameDescription
System_CAPS_pubpropertyAuthentication

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

System_CAPS_pubpropertyDefaultCertificate

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

System_CAPS_pubpropertyScopedCertificates

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

System_CAPS_pubpropertySslCertificateAuthentication

Gets or sets the SSL certificate validator to use.

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_pubmethodSetDefaultCertificate(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.

System_CAPS_pubmethodSetDefaultCertificate(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.

System_CAPS_pubmethodSetScopedCertificate(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.

System_CAPS_pubmethodSetScopedCertificate(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.

System_CAPS_pubmethodToString()

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

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

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

X509CertificateRecipientClientCredential rcc =
    client.ClientCredentials.ServiceCertificate;

Universal Windows Platform
Available since 10
.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:
© 2016 Microsoft