Udostępnij za pośrednictwem


<peer> of <clientCredentials> Element

Specifies credentials used when authenticating peer-to-peer clients.

Schema Hierarchy

<system.serviceModel>
  <behaviors>
    <endpointBehaviors>
      <behavior> of <endpointBehaviors>
        <clientCredentials>
          <peer> of <clientCredentials> Element

Syntax

<peer>
  <certificate/>
  <peerAuthentication/>
  <messageSenderAuthentication/>
</peer>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description

<certificate> Element

Specifies an X.509 certificate to use for signing and encrypting messages for peer-to-peer clients. .

<peerAuthentication> Element

Specifies authentication options for peer clients.

<messageSenderAuthentication> element

Specifies authentication options for message senders.

Parent Elements

Element Description

<clientCredentials>

Specifies the credentials used to authenticate a client to a service.

Remarks

This configuration element specifies the credentials that a peer node uses to authenticate itself to other nodes in the mesh, as well as authentication settings that a peer node uses to authenticate other peer nodes. For more information, see Peer Channel Message Authentication and Best Practices for Securing PeerChannel Applications.

See Also

Reference

ClientCredentialsElement
ClientCredentials
PeerCredentialElement
Peer
ClientCredentials
Peer
PeerCredential

Other Resources

Peer to Peer Networking
Securing Clients
Peer Channel Message Authentication
Peer Channel Custom Authentication
Best Practices for Securing PeerChannel Applications
Securing Services and Clients