Partager via


EncryptedData Constructor (EncryptedKeyToken, String, Boolean)

Initializes a new instance of the EncryptedData class using the EncryptedKeyToken security token.

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

Usage

'Usage
Dim token As EncryptedKeyToken
Dim reference As String
Dim referenceListInsideToken As Boolean
Dim encryptedData1 As New EncryptedData(token, reference, referenceListInsideToken)

Syntax

'Declaration
Public Sub New( _
    ByVal token As EncryptedKeyToken, _
    ByVal reference As String, _
    ByVal referenceListInsideToken As Boolean _
)
public EncryptedData(
    EncryptedKeyToken token, 
    string reference, 
    bool referenceListInsideToken
);
public:
EncryptedData(
    EncryptedKeyToken^ token, 
    String^ reference, 
    bool referenceListInsideToken
);
public EncryptedData(
    EncryptedKeyToken token, 
    System.String reference, 
    boolean referenceListInsideToken
);
public function EncryptedData(
     token : EncryptedKeyToken, 
     reference : String, 
     referenceListInsideToken : Boolean
);

Parameters

  • reference
    A reference to another XML element within the SOAP message that is encrypted. The reference must begin with a # symbol.
  • referenceListInsideToken
    true to include the reference list inside the EncryptedKeyToken security token; otherwise, false.

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