xml.Signature.appendReferenceTransformation

Appends a transformation related to the reference of index ind, and is executed before any computation

Syntax

appendReferenceTransformation(
   ind INTEGER,
   trans STRING,
   ... )
  1. ind is the index in this Signature object.
  2. trans represents an URL as identifier of the transformation algorithm.

Usage

A transformation modifies the reference URI before signing or validating it. Several transformations are executed one after another, and only once the last transformation was applied, is the reference really signed or verified.

Depending on the transformation identifier, additional parameters are necessary.

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