<certificate> for <identity>

Specifies an X.509 certificate used to validate a server to a client.

For more information about setting the element value, see Specifying Service Identity.

Schema Hierarchy

<identity>
  <certificate> for <identity>

Syntax

<certificate encodedValue = "Sring" />

Attributes and Elements

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

Attributes

Attribute Description

encodedValue

A Base64 encoding of the certificate.

Child Elements

None.

Parent Elements

Element Description

<identity>

Specifies the identity of the service to be authenticated by the client.

Example

The following code specifies the encoded representation of a certificate used to validate a server to a client.

<identity>
  <certificate encodedValue = " MIIBxjCCAXSgAwIBAgIQmXJgyu9tro1M98GifjtuoDAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTA2MDUxNzIxNDQyNVoXDTM5MTIzMTIzNTk1OVowKTEQMA4GA1UEChMHQ29udG9zbzEVMBMGA1UEAxMMaWRlbnRpdHkuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBmivcb8hYbh11hqVoDuB7zmJ2y230f" />
</identity>

See Also

Reference

<identity>
IdentityElement
EndpointAddress
Identity
EndpointIdentity

Other Resources

Specifying Service Identity