EncryptedKey Constructor (SecurityToken, Byte[])
Initializes a new instance of the EncryptedKey class using the specified asymmetric encryption key.
Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim token As SecurityToken
Dim keyData() As Byte
Dim encryptedKey1 As New EncryptedKey(token, keyData)
Syntax
'Declaration
Public Sub New( _
ByVal token As SecurityToken, _
ByVal keyData() As Byte _
)
public EncryptedKey(
SecurityToken token,
byte[] keyData
);
public: EncryptedKey(
SecurityToken^ token,
array<Byte>^ keyData
);
public EncryptedKey(
SecurityToken token,
ubyte[] keyData
);
public function EncryptedKey(
token : SecurityToken,
keyData : Byte[]
);
Parameters
- token
A SecurityToken thats associated with the key.
- keyData
An array of System.Byte that represents the key.
Remarks
A symmetric session key is generated based on the key provided.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
EncryptedKey Class
Microsoft.Web.Services2.Security Namespace