xml.Signature.appendReferenceTransformation
Appends transformations related to the specified reference index.
Syntax
appendReferenceTransformation(
referenceIndex INTEGER,
method STRING,
args ... )
- referenceIndex defines the index in this Signature object.
- method represents an URL as identifier of the transformation algorithm.
- args defines a list of transformations.
Usage
This method appends a reference transformation that is executed before any computation.
A transformation modifies the reference URI before signing or validating it. Several transformations are executed one after another, and only once the last transformation has been 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).