Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim instance As SecurityKeyElement
Dim algorithm As String
Dim keyData As Byte()
Dim returnValue As Byte()
returnValue = instance.EncryptKey(algorithm, keyData)
|
Syntax
Visual Basic |
Public Overrides Function EncryptKey ( _
algorithm As String, _
keyData As Byte() _
) As Byte()
|
C# |
public override byte[] EncryptKey (
string algorithm,
byte[] keyData
)
|
C++ |
public:
virtual array<unsigned char>^ EncryptKey (
String^ algorithm,
array<unsigned char>^ keyData
) override
|
J# |
public byte[] EncryptKey (
String algorithm,
byte[] keyData
)
|
JScript |
public override function EncryptKey (
algorithm : String,
keyData : byte[]
) : byte[]
|
Parameters
- algorithm
- keyData
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.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also