DpapiProtectedConfigurationProvider.Decrypt(XmlNode) DpapiProtectedConfigurationProvider.Decrypt(XmlNode) DpapiProtectedConfigurationProvider.Decrypt(XmlNode) DpapiProtectedConfigurationProvider.Decrypt(XmlNode) Method

Definition

Decrypts the passed XmlNode object.

public:
 override System::Xml::XmlNode ^ Decrypt(System::Xml::XmlNode ^ encrypted_node);
public override System.Xml.XmlNode Decrypt (System.Xml.XmlNode encrypted_node);
override this.Decrypt : System.Xml.XmlNode -> System.Xml.XmlNode
Public Overrides Function Decrypt (encrypted_node As XmlNode) As XmlNode

Parameters

encryptedNode
XmlNode XmlNode XmlNode XmlNode

The XmlNode object to decrypt.

Returns

A decrypted XmlNode object.

Exceptions

encryptedNode does not have Name set to "EncryptedData" and XmlNodeType set to Element.

-or-

encryptedNode does not have a child node named "CipherData" with a child node named "CipherValue".

-or-

The child node named "CipherData" is an empty node.

Applies to