Partager via


EncryptedData Constructor (SecurityToken, String)

Initializes a new instance of the EncryptedData class with the specified security token and reference to an XML element.

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

Usage

'Usage
Dim token As SecurityToken
Dim reference As String
Dim encryptedData1 As New EncryptedData(token, reference)

Syntax

'Declaration
Public Sub New( _
    ByVal token As SecurityToken, _
    ByVal reference As String _
)
public EncryptedData(
    SecurityToken token, 
    string reference
);
public:
EncryptedData(
    SecurityToken^ token, 
    String^ reference
);
public EncryptedData(
    SecurityToken token, 
    System.String reference
);
public function EncryptedData(
     token : SecurityToken, 
     reference : String
);

Parameters

  • token
    The security token used to encrypt the referenced element.
  • reference
    A hash string containing the id of the XML element to be encrypted. The target element has to have an ID attribute adhering to the wsu:Id syntax.

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

EncryptedData Class
EncryptedData Members
Microsoft.Web.Services3.Security Namespace