SetCertificate Method
Collapse the table of content
Expand the table of content

X509CertificateInitiatorServiceCredential.SetCertificate Method

 

Sets the certificate to use to encrypt messages sent to the client by the service. This setting is used only by bindings that are configured with the MutualCertificateDuplex message security authentication mode.

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

NameDescription
System_CAPS_pubmethodSetCertificate(StoreLocation, StoreName, X509FindType, Object)

Specifies the certificate to use for encrypting messages for the client. This setting is used only by bindings that are configured with the MutualCertificateDuplex message security authentication mode.

System_CAPS_pubmethodSetCertificate(String, StoreLocation, StoreName)

Enables you to specify the certificate to use for encrypting messages for the client by specifying the subject distinguished name. This setting is used only by bindings that are configured with the MutualCertificateDuplex message security authentication mode.

Return to top
Show:
© 2016 Microsoft