Redigera

Dela via


X509CertificateInitiatorServiceCredential Class

Definition

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.

public ref class X509CertificateInitiatorServiceCredential sealed
public sealed class X509CertificateInitiatorServiceCredential
type X509CertificateInitiatorServiceCredential = class
Public NotInheritable Class X509CertificateInitiatorServiceCredential
Inheritance
X509CertificateInitiatorServiceCredential

Remarks

The certificate set in this class is used to encrypt messages to the client only for bindings that are configured with MutualCertificateDuplex message security authentication mode.

Properties

Authentication

Gets the settings used to validate the certificate presented by the client during authentication.

Certificate

Gets or sets the certificate to use in MutualCertificateDuplex message security authentication mode.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetCertificate(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.

SetCertificate(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.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also