Редагувати

Поділитися через


PeerCredential.PeerAuthentication Property

Definition

Gets or sets the peer authentication object.

public:
 property System::ServiceModel::Security::X509PeerCertificateAuthentication ^ PeerAuthentication { System::ServiceModel::Security::X509PeerCertificateAuthentication ^ get(); void set(System::ServiceModel::Security::X509PeerCertificateAuthentication ^ value); };
public System.ServiceModel.Security.X509PeerCertificateAuthentication PeerAuthentication { get; set; }
member this.PeerAuthentication : System.ServiceModel.Security.X509PeerCertificateAuthentication with get, set
Public Property PeerAuthentication As X509PeerCertificateAuthentication

Property Value

The peer authentication object.

Remarks

This property specifies a validator, which is invoked during neighbor-to-neighbor authentication in the mesh. When a new peer tries to establish a neighbor connection, it passes its own credential to the responding peer. The validator of the responder is invoked to verify the credential of the remote party. Whenever a peer connection is established in the mesh, both peers are mutually authenticated, meaning validators on both ends are invoked.

Applies to