Share via


EncryptionReference Class

Specifies how to encrypt an XML element pointed to by a reference identifier.

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

Usage

'Usage
Dim reference As String
Dim encryptionReference1 As New EncryptionReference(reference)

Syntax

'Declaration
Public Class EncryptionReference
public class EncryptionReference
public ref class EncryptionReference
public class EncryptionReference
public class EncryptionReference

Remarks

To encrypt, an EncryptedData object needs to be added to the Elements collection. By default the body of the Soap message is encrypted if no target element is specified. Instead of creating a separate EncryptedData object for each new target XML element, you could encrypt multiple XML elements by adding a EncryptionReference object for each XML element to a single EncryptedData object.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Services3.Security.EncryptionReference

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

EncryptionReference Members
Microsoft.Web.Services3.Security Namespace