Partager via


EncryptedData.Decrypt Method ()

Decrypts the EncryptedData element.

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

Usage

'Usage
Dim encryptedData1 As EncryptedData
encryptedData1.Decrypt()

Syntax

'Declaration
Overloads Public Sub Decrypt()
public void Decrypt();
public:
void Decrypt();
public void Decrypt();
public function Decrypt() : Void;

Return Value

A System.Xml.XmlElement containing the data.

Remarks

The Decrypt method assumes that the element has been loaded from existing XML. The method decrypts the element and puts the decrypted form back into the document, and returns the decrypted element to the caller.

In regards to the returned element, XML Encryption allows for either full element or content encryption. The returned node is therefore either the parent of the original node or the replacement node.

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

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