Muokkaa

Jaa


<peer> of <clientCredentials> Element

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

<configuration>
  <system.serviceModel>
    <behaviors>
      <endpointBehaviors>
        <behavior>
          <clientCredentials>
            <peer>

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> Specifies an X.509 certificate to use for signing and encrypting messages for peer-to-peer clients. .
<peerAuthentication> Specifies authentication options for peer clients.
<messageSenderAuthentication> 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 Securing Peer Channel Applications.

See also