Namespace: Microsoft.IdentityModel
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Usage
Visual Basic |
---|
Dim requestorEntropy As Byte() Dim issuerEntropy As Byte() Dim keySizeInBits As Integer Dim returnValue As Byte() returnValue = KeyGenerator.ComputeCombinedKey(requestorEntropy, issuerEntropy, keySizeInBits) |
Syntax
Visual Basic |
---|
Public Shared Function ComputeCombinedKey ( _ requestorEntropy As Byte(), _ issuerEntropy As Byte(), _ keySizeInBits As Integer _ ) As Byte() |
C# |
---|
public static byte[] ComputeCombinedKey ( byte[] requestorEntropy, byte[] issuerEntropy, int keySizeInBits ) |
C++ |
---|
public: static array<unsigned char>^ ComputeCombinedKey ( array<unsigned char>^ requestorEntropy, array<unsigned char>^ issuerEntropy, int keySizeInBits ) |
J# |
---|
public static byte[] ComputeCombinedKey ( byte[] requestorEntropy, byte[] issuerEntropy, int keySizeInBits ) |
JScript |
---|
public static function ComputeCombinedKey ( requestorEntropy : byte[], issuerEntropy : byte[], keySizeInBits : int ) : byte[] |
Parameters
- requestorEntropy
-
The entropy from the requestor side.
- issuerEntropy
-
The entropy from the token issuer side.
- keySizeInBits
-
The desired key size in bits.
Return Value
The computed session key.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.