The ServiceCertificateCredential class provides a client certificate for a secure connection to a service. Use this class instead of the ClientCredentialService class when message-level security is enabled for the service.
ServiceCertificateCredential property | Type | Description |
---|---|---|
SubjectName | String | Specifies the full path file name or the distinguished subject name of the certificate to use. If you use a full path file name, the StoreLocation and StoreName properties are ignored. |
StoreLocation | CertStoreLocation (enumeration) | Specifies the location of the X.509 certificate store where the certificate resides. |
StoreName | CertStoreName (enumeration) | Specifies the name of the X.509 certificate store where the certificate resides. |