<message> element of <wsFederationHttpBinding>

Defines the settings for the message-level security for the <wsFederationHttpBinding>.

<system.serviceModel>

  <bindings>

    <wsFederationHttpBinding>

      <binding>

        <security> of <wsFederationHttpBinding>

          <message> element of <wsFederationHttpBinding>

                                    
                                    <wsFederationBinding>
                                
                                    
                                        <binding >
                                
                                    
                                            <security>
                                
                                    
                                               <message negotiateServiceCredential="Boolean"
                                
                                    
                                                    algorithmSuite="Aes128/Aes192/Aes256/Rsa15Aes128/ Rsa15Aes256/TripleDes"
                                
                                    
                                                    issuedTokenType="string" 
                                
                                    
                                                    issuedKeyType="SymmetricKey/PublicKey"
                                
                                    
                                               </message>
                                
                                    
                                            </security>
                                
                                    
                                        </binding>
                                
                                    
                                    </wsFederationBinding>
                                

Attributes and Elements

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

Attributes

Attribute Description

algorithmSuite

Optional. Sets the message encryption and key-wrap algorithms. The algorithms and the key sizes are determined by the SecurityAlgorithmSuite class. These algorithms map to those specified in the Security Policy Language (WS-SecurityPolicy) specification.

See below for possible values. The default value is Basic256.

issuedKeyType

Specifies the type of key to be issued. Valid values include the following:

  • SymmetricKey

  • PublicKey

The default is SymmetricKey. This attribute is of type SecurityKeyType.

issuedTokenType

A string that contains a URI that specifies the type of token to be issued. The default is null.

negotiateServiceCredential

A Boolean value that specifies whether the service credential should be exchanged as part of negotiation or is available out of band. The default is true. which means that the service credential is negotiated.

algorithmSuite Attribute

Value Description

Basic128

Use Aes128 encryption, Sha1 for message digest, and Rsa-oaep-mgf1p for key wrap.

Basic192

Use Aes192 encryption, Sha1 for message digest, Rsa-oaep-mgf1p for key wrap.

Basic256

Use Aes256 encryption, Sha1 for message digest, Rsa-oaep-mgf1p for key wrap.

Basic256Rsa15

Use Aes256 for message encryption, Sha1 for message digest and Rsa15 for key wrap.

Basic192Rsa15

Use Aes192 for message encryption, Sha1 for message digest and Rsa15 for key wrap.

TripleDes

Use TripleDes encryption, , Sha1 for message digest, Rsa-oaep-mgf1p for key wrap.

Basic128Rsa15

Use Aes128 for message encryption, Sha1 for message digest and Rsa15 for key wrap.

TripleDesRsa15

Use TripleDes encryption, Sha1 for message digest and Rsa15 for key wrap.

Basic128Sha256

Use Aes256 for message encryption, Sha256 for message digest and Rsa-oaep-mgf1p for key wrap.

Basic192Sha256

Use Aes192 for message encryption, Sha256 for message digest and Rsa-oaep-mgf1p for key wrap.

Basic256Sha256

Use Aes256 for message encryption, Sha256 for message digest and Rsa-oaep-mgf1p for key wrap.

TripleDesSha256

Use TripleDes for message encryption, Sha256 for message digest and Rsa-oaep-mgf1p for key wrap.

Basic128Sha256Rsa15

Use Aes128 for message encryption, Sha256 for message digest and Rsa15 for key wrap.

Basic192Sha256Rsa15

Use Aes192 for message encryption, Sha256 for message digest and Rsa15 for key wrap.

Basic256Sha256Rsa15

Use Aes256 for message encryption, Sha256 for message digest and Rsa15 for key wrap.

TripleDesSha256Rsa15

Use TripleDes for message encryption, Sha256 for message digest and Rsa15 for key wrap.

Child Elements


Element Description

<claimTypeRequirements> element

Specifies a collection of claim types for this binding. Each element is of type ClaimTypeElement.

issuer

Specifies an endpoint that issues a security token. This element is of type IssuedTokenParametersEndpointAddressElement.

issuerMetadata

Specifies the endpoint address of the issuer.

tokenRequestParameters

A collection of token request parameters. Each parameter is an XML element.

Parent Elements

Element Description

<security> of <wsFederationHttpBinding>

Defines the security settings for a binding.

See Also

Reference

FederatedMessageSecurityOverHttp

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.