X509CertificateInitiatorServiceCredential.SetCertificate Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: