System.ServiceModel 4.0.0.0 System.Object

Instances of this class are used to specify the credentials needed for the particular security mode of a peer mesh. An instance of this type can be accessed using or .

Contains the credentials used when authenticating a peer node within a peer mesh.

- Property
  4.0.0.0
  System.Security.Cryptography.X509Certificates.X509Certificate2 To be added.

  This property contains a instance used when authenticating neighbors in the peer mesh. An instance must be specified if the credential type chosen is PeerTransportCredentialType.. If PeerTransportCredentialType. is chosen, this property is optional.

  Gets or sets an X509 certificate for the peer.

- Property
  4.0.0.0
  System.String To be added. To be added.

  Gets or sets the password used by the peer to authenticate with the peer mesh.

- Property
  4.0.0.0
  System.ServiceModel.Security.X509PeerCertificateAuthentication To be added.

  This property must be populated if message authentication is chosen. This property specifies a validator, which will be invoked during message security verification. The credential specified in the message is passed to the validator specified in this property. The validator can either accept or reject the credential.

  Gets or sets the message sender authentication validator.

- Property
  4.0.0.0
  System.ServiceModel.Security.X509PeerCertificateAuthentication To be added.

  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.

  Gets or sets the peer authentication object.

- Method
  4.0.0.0
  System.Void `` `` ``

  This overload is used to specify a certificate credential of the peer. It is provided as a shortcut to load the certificate from one of the available certificate stores that the user has access to.

  Sets the certificate.

  The subject name of the certificate. The location of the certificate store. The certificate store name.
- Method
  4.0.0.0
  System.Void `` `` `` `` To be added.

  Sets the certificate with the specified search criteria.

  The location of the certificate store. The certificate store name. The search criteria. The value to search on.