EncryptedKeyToken Constructor (SecurityToken, Byte )

Initializes a new instance of the EncryptedKeyToken class using the specified security token symmetric key.

Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim encryptingToken As SecurityToken
Dim keyData() As Byte
Dim encryptedKeyToken1 As New EncryptedKeyToken(encryptingToken, keyData)

Syntax

'Declaration
Public Sub New( _
    ByVal encryptingToken As SecurityToken, _
    ByVal keyData() As Byte _
)
public EncryptedKeyToken(
    SecurityToken encryptingToken, 
    byte[] keyData
);
public:
EncryptedKeyToken(
    SecurityToken^ encryptingToken, 
    array<unsigned char>^ keyData
);
public EncryptedKeyToken(
    SecurityToken encryptingToken, 
    ubyte[] keyData
);
public function EncryptedKeyToken(
     encryptingToken : SecurityToken, 
     keyData : Byte[]
);

Parameters

  • encryptingToken
    The SecurityToken to encrypt the key specified in the keyData parameter.
  • keyData
    An array of System.Byte that represents the symmetric key associated with this EncryptedKeyToken security token.

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

EncryptedKeyToken Class
EncryptedKeyToken Members
Microsoft.Web.Services3.Security.Tokens Namespace