Use this constructor if you want the STS to autogenerate the key
using a random number generator and send it in the proof token as a
binary secret.
Пространство имен: Microsoft.IdentityModel.Tokens
Сборка: Microsoft.IdentityModel (в
microsoft.identitymodel.dll)
Использование
Синтаксис
Visual Basic |
Public Sub New ( _
keySizeInBits As Integer, _
targetWrappingCredentials As EncryptingCredentials _
)
|
C# |
public SymmetricProofDescriptor (
int keySizeInBits,
EncryptingCredentials targetWrappingCredentials
)
|
C++ |
public:
SymmetricProofDescriptor (
int keySizeInBits,
EncryptingCredentials^ targetWrappingCredentials
)
|
J# |
public SymmetricProofDescriptor (
int keySizeInBits,
EncryptingCredentials targetWrappingCredentials
)
|
JScript |
public function SymmetricProofDescriptor (
keySizeInBits : int,
targetWrappingCredentials : EncryptingCredentials
)
|
Параметры
- keySizeInBits
-
The size of the symmetric key.
- targetWrappingCredentials
-
The key encrypting credentials for the target of the
request.
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также