Use this constructor if you want the sts to use the given key bytes. This happens when client sends the entropy, and the sts would just use that as the key for the issued token
Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim key As Byte()
Dim targetWrappingCredentials As EncryptingCredentials

Dim instance As New SymmetricProofDescriptor(key, targetWrappingCredentials)

Syntax

Visual Basic
Public Sub New ( _
		key As Byte(), _
		targetWrappingCredentials As EncryptingCredentials _
)
C#
public SymmetricProofDescriptor (
		byte[] key,
		EncryptingCredentials targetWrappingCredentials
)
C++
public:
SymmetricProofDescriptor (
		array<unsigned char>^ key, 
		EncryptingCredentials^ targetWrappingCredentials
)
J#
public SymmetricProofDescriptor (
		byte[] key, 
		EncryptingCredentials targetWrappingCredentials
)
JScript
public function SymmetricProofDescriptor (
		key : byte[], 
		targetWrappingCredentials : EncryptingCredentials
)

Parameters

key

the symmetric key that are used inside the issued token

targetWrappingCredentials

The key encrypting credentials for the relying party

Exceptions

Exception type Condition
ArgumentNullException

When the key is null

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also