public interface

XadesSignatureFormatExtender

xades4j.production.XadesSignatureFormatExtender

Class Overview

Interface for signature enrichment. The features of the enrichment process depend on the profile configuration.

The main purpose of XadesSignatureFormatExtender is to be used in the verification process. However, it can also be used separately, but no checks are made on the correctness of the signature. It is user's responsibility to ensure that the signature has the appropriate properties (form) to be extended with other properties.

Summary

Public Methods
abstract void enrichSignature(XMLSignature sig, UnsignedProperties props)
Enriches a signature with a set of properties.

Public Methods

public abstract void enrichSignature (XMLSignature sig, UnsignedProperties props)

Enriches a signature with a set of properties. If no properties are specified, no actions are taken.

Note that, due to the library's internal design, the properties cannot have dependencies on each other. For instance, one must not add properties from XAdES-C and XAdES-X, as the last need the first's XML structure. In the library, the XML for a given set of properties is generated at the same time, after gathering all the data needed to the properties.

Parameters
sig the signature
props the properties