This documentation is archived and is not being maintained.

SecurityBindingElement.CreateIssuedTokenForCertificateBindingElement Method

Creates a symmetric security binding element that is configured to require client authentication based on an issued token and server authentication based on the server certificate.

Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in system.servicemodel.dll)

public static SymmetricSecurityBindingElement CreateIssuedTokenForCertificateBindingElement (
	IssuedSecurityTokenParameters issuedTokenParameters
)
public static SymmetricSecurityBindingElement CreateIssuedTokenForCertificateBindingElement (
	IssuedSecurityTokenParameters issuedTokenParameters
)
public static function CreateIssuedTokenForCertificateBindingElement (
	issuedTokenParameters : IssuedSecurityTokenParameters
) : SymmetricSecurityBindingElement
Not applicable.

Parameters

issuedTokenParameters

An IssuedSecurityTokenParameters.

Return Value

A SymmetricSecurityBindingElement.

Exception typeCondition

ArgumentNullException

issuedTokenParameters is a null reference (Nothing in Visual Basic).

The issued token can have a symmetric or an asymmetric key. The client and server need to be provisioned with the server's certificate.

The created binding has RequireSignatureConfirmation set to true, and MessageSecurityVersion set to WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: