<certificate> of <peer>
Specifies a certificate used by a peer.
Schema Hierarchy
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior> of <serviceBehaviors>
<serviceCredentials>
<peer> of <serviceCredentials>
<certificate> of <peer>
Syntax
<certificate findValue = "String"
storeLocation = "CurrentUser/LocalMachine"
storeName="AddressBook/AuthRoot/CertificateAuthority/Disallowed/My/Root/TrustedPeople/TrustedPublisher"
X509FindType="FindByThumbPrint/FindBySubjectName/FindBySubjectDistinguishedName/FindByIssuerName/FindByIssuerDistinguishedName/FindBySerialNumber/FindByTimeValid/FindByTimeNotYetValid/FindByTemplateName/FindByApplicationPolicy/FindByCertificatePolicy/FindByExtension/FindByKeyUsage/FindBySubjectKeyIdentifier"
/>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
findValue |
A string that contains the value to search for in the X.509 certificate store. The type contained in the attribute must satisfy the requirements of the specified x509FindType. The default is an empty string. |
storeLocation |
Specifies the location of the X.509 certificate store that the client uses to validate the peer's certificate against. Valid values include the following:
The default is LocalMachine. |
storeName |
Specifies the name of the X.509 certificate store to open. Valid values include the following:
The default is My. |
X509FindType |
Defines the type of X.509 search to be executed. Valid values include the following:
The type contained in the findValue attribute must satisfy the requirements of the specified X509FindType. The default value is FindBySubjectDistinguishedName. |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
Specifies the current credentials for a peer node. |
Remarks
This configuration element contains an X509Certificate2 instance used when authenticating neighbors in the peer mesh.
For more information about peer-to-peer programming, see Peer to Peer Networking.
See Also
Reference
PeerCredentialElement
Certificate
X509PeerCertificateElement
Certificate
PeerCredential
Other Resources
Working with Certificates
Peer to Peer Networking
Peer Channel Message Authentication
Peer Channel Custom Authentication
Best Practices for Securing PeerChannel Applications
Securing Services and Clients
© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05