xml.Encryption.decryptElement

Decrypts the EncryptedData DomNode enc using the symmetric key.

Syntax

decryptElement(
   enc xml.DomNode )
  1. enc is the encrypted DomNode.

Usage

The encrypted DomNode enc is replaced at the same place in the XML document with the resulting ELEMENT DomNode and its children.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.