xml.Signature.CreateFromNode

Constructor of a new Signature object from a XML Signature node, according to the XML-Signature specification.

Syntax

xml.Signature.CreateFromNode(
   signode xml.DomNode )
  RETURNING sign xml.Signature
  1. sign is the XML Signature node.

Usage

Returns a Signature object or NULL.

The node must be an ELEMENT node with Signature as the local name, and belonging to the XML-Signature namespace http://www.w3.org/2000/09/xmldsig#, as defined here.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).