EncryptedKey Constructor (SecurityToken, Byte )
Initializes a new instance of the EncryptedKey class using the specified asymmetric encryption key.
Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.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<unsigned char>^ keyData
);
public EncryptedKey(
SecurityToken token,
ubyte[] keyData
);
public function EncryptedKey(
token : SecurityToken,
keyData : Byte[]
);
Parameters
- token
A SecurityToken that is associated with the key.
- keyData
An array of 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 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
EncryptedKey Class
EncryptedKey Members
Microsoft.Web.Services3.Security Namespace