xades4j.production.XadesSignatureFormatExtender |
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.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Enriches a signature with a set of properties.
|
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.
sig | the signature |
---|---|
props | the properties |
XAdES4jException | if an error occurs (see sign(xades4j.production.SignedDataObjects, org.w3c.dom.Node) )
|
---|