SymmetricProofDescriptor Конструктор (Byte[], EncryptingCredentials)
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
Пространство имен: Microsoft.IdentityModel.Tokens
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Dim key As Byte() Dim targetWrappingCredentials As EncryptingCredentials Dim instance As New SymmetricProofDescriptor(key, targetWrappingCredentials)
Синтаксис
'Декларация
Public Sub New ( _
key As Byte(), _
targetWrappingCredentials As EncryptingCredentials _
)
public SymmetricProofDescriptor (
byte[] key,
EncryptingCredentials targetWrappingCredentials
)
public:
SymmetricProofDescriptor (
array<unsigned char>^ key,
EncryptingCredentials^ targetWrappingCredentials
)
public SymmetricProofDescriptor (
byte[] key,
EncryptingCredentials targetWrappingCredentials
)
public function SymmetricProofDescriptor (
key : byte[],
targetWrappingCredentials : EncryptingCredentials
)
Параметры
- key
the symmetric key that are used inside the issued token
- targetWrappingCredentials
The key encrypting credentials for the relying party
Исключения
Тип исключений | Условие |
---|---|
ArgumentNullException | When the key is null |
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также
Справочник
Класс SymmetricProofDescriptor
SymmetricProofDescriptor Члены
Пространство имен Microsoft.IdentityModel.Tokens