Share via


RequestedProofToken Constructor (Byte , SecurityToken)

Initializes a new instance of the RequestedProofToken class by setting the EncryptedKey property to a key that is encrypted using a security token.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim key() As Byte
Dim encryptingToken As SecurityToken
Dim requestedProofToken1 As New RequestedProofToken(key, encryptingToken)

Syntax

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

Parameters

  • key
  • encryptingToken
    A SecurityToken that is used to encrypt the key.

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

RequestedProofToken Class
Microsoft.Web.Services2.Security Namespace

Other Resources

RequestedProofToken Members