xml.Signature.createReference

Creates a new reference that will be signed with the compute() method

Syntax

createReference(
   uri STRING,
   digest STRING )
  RETURNING ind INTEGER
  1. uri represents the data to be signed.
  2. digest is a URL as identifier for the hash algorithm.

Usage

The returned value represents the index for any further manipulation of this reference.

The uri can be:

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).