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
Syntax
C++ |
public:
SymmetricProofDescriptor (
array<unsigned char>^ 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