System.ServiceModel 4.0.0.0 System.Object

This class is used by the property in the 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.

- Property
  4.0.0.0
  System.ServiceModel.Security.X509ServiceCertificateAuthentication To be added.

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

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

- Property
  4.0.0.0
  System.Security.Cryptography.X509Certificates.X509Certificate2 To be added.

  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.

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

- Property
  4.0.0.0
  System.Collections.Generic.Dictionary<System.Uri,System.Security.Cryptography.X509Certificates.X509Certificate2> To be added.

  This property enables the client to configure the service certificate to use based on the URL of the service it communicates with. This is especially useful in issued token scenarios where a client can be communicating to multiple services (the end service as well as intermediary security token services). 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.

  If a binding requires a certificate for the service and no specific certificate for the service URL is found in the ScopedCertificates, the default certificate is used.

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

- Method
  4.0.0.0
  System.Void `` `` ``

  This method gets a certificate from the store in the specified location that matches the parameter.

  Values for are included in the enumeration:

  : the certificate store assigned to the local machine.

  : the certificate store used by the current user (default).

  If the application is running under a system account, then the certificate is typically in . If the application is running under a user account, then the certificate is typically in .

  Values for are included in the enumeration.

  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.

  The subject distinguished name. The location of the certificate store that the service uses to obtain the service certificate. The name of the X.509 certificate store to open.
- Method
  4.0.0.0
  System.Void `` `` `` ``

  This method gets a certificate from the store in the specified location that matches the and parameters.

  Values for are included in the enumeration:

  : the certificate store assigned to the local machine.

  : the certificate store used by the current user (default).

  If the application is running under a system account, then the certificate is typically in . If the application is running under a user account, then the certificate is typically in .

  Values for are included in the enumeration.

  Values for are included in the enumeration.

  The most commonly used enumeration is , which does a case-insensitive search on the subject name of certificates in the specified store. This can be an imprecise search. If no certificates or multiple certificates that match the criteria are found, an is thrown.

  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.

  The location of the certificate store the service uses to obtain the service certificate. The name of the X.509 certificate store to open. The type of X.509 search to be executed. The value to search for in the X.509 certificate store.
- Method
  4.0.0.0
  System.Void `` `` `` ``

  Values for are included in the enumeration:

  : the certificate store assigned to the local machine.

  : the certificate store used by the current user (default).

  If the application is running under a system account, then the certificate is typically in . If the application is running under a user account, then the certificate is typically in .

  Values for are included in the enumeration.

  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.

  The fully qualified subject name. The location of the certificate store that the service uses to obtain the service certificate. The name of the X.509 certificate store to open. The URL that sets the scope.
- Method
  4.0.0.0
  System.Void `` `` `` `` ``

  Values for are included in the enumeration:

  : the certificate store assigned to the local machine.

  : the certificate store used by the current user (default).

  If the application is running under a system account, then the certificate is typically in . If the application is running under a user account, then the certificate is typically in .

  Values for are included in the enumeration.

  Values for are included in the enumeration.

  The most commonly used enumeration is , which does a case-insensitive search on the subject name of certificates in the specified store. This can be an imprecise search. If no certificates or multiple certificates that match the criteria are found, an will be thrown.

  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.

  The location of the certificate store that the service uses to obtain the service certificate. The name of the X.509 certificate store to open. The type of X.509 search to be executed. The value to search for in the X.509 certificate store. The URL that sets the scope.