A pseudo-token which handles encryption for a token which does not natively support it.
Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As EncryptedSecurityToken

Syntax

Visual Basic
Public Class EncryptedSecurityToken
		Inherits SecurityToken
C#
public class EncryptedSecurityToken : SecurityToken
C++
public ref class EncryptedSecurityToken : public SecurityToken
J#
public class EncryptedSecurityToken extends SecurityToken
JScript
public class EncryptedSecurityToken extends SecurityToken

Remarks

For example, a SamlSecurityToken has no notion of how to encrypt itself, so to issue an encrypted SAML11 assertion, wrap a SamlSecurityToken with an EncryptedSecurityToken and provide appropriate EncryptingCredentials.


Inheritance Hierarchy

System.Object
   System.IdentityModel.Tokens.SecurityToken
    Microsoft.IdentityModel.Tokens.EncryptedSecurityToken

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also