PrepAway - Latest Free Exam Questions & Answers

What should you use to configure the service?

You have a self-hosted Windows Communication Foundation (WCF) service.
You need to configure the service to provide an X509 certificate during authentication. What should you use to configure the service?

PrepAway - Latest Free Exam Questions & Answers

A.
the Certificate property of the X509CertificatelnitiatorServiceCredential class

B.
the SetCertificate method of the X509CertificateInitiatorServiceCredential class

C.
the SetCertificate method of the X509CertificateRecipientServiceCredential class

D.
the TrustedStoreLocation property of the X509CertificateRecipientServiceCredential class

Explanation:
X509CertificateRecipientServiceCredential Defines a certificate used by a service to identify itself.
X509CertificateInitiatorServiceCredential Represents the settings used by the service to validate the certificate
presented by the clients. It also contains a certificate for the service to use for encrypting
responses or callbacks for clients when MutualCertificateDuplex message security authentication mode is used.
X509CertificateInitiatorClientCredential Defines a certificate used by a client to identify itself.

X509CertificateRecipientServiceCredential.SetCertificate(String)
Specifies the certificate to use for representing the service by specifying the subject distinguished name.

One Comment on “What should you use to configure the service?


Leave a Reply