This documentation is archived and is not being maintained.

SecurityToken.CreateKeyIdentifierClause<T> Method

Creates the specified key identifier clause.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public virtual T CreateKeyIdentifierClause<T>()
where T : SecurityKeyIdentifierClause

Type Parameters

T

A SecurityKeyIdentifierClause that specifies the key identifier to create.

Return Value

Type: T
A SecurityKeyIdentifierClause that is a key identifier clause for the security token.

Use the CanCreateKeyIdentifierClause<T> method to determine whether a security token can create a specific key identifier. To create the key identifier call the CreateKeyIdentifierClause<T> method.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: