xades4j.production
Interface XadesSigner


public interface XadesSigner

Interface for a producer of signatures. The features of the produced signatures depend on the profile configuration.

All the exceptions defined in the current package may be thrown during production. They are organized as a tree which means that one can go from rough to fine-grained handling by catching exceptions in the different branches/depths of the tree.

Author:
Luís
See Also:
XadesSigningProfile

Method Summary
 XadesSignatureResult sign(SignedDataObjects signedDataObjects, Node parent)
          Applies a signature over a set of data objects and appends it to the given node.
 

Method Detail

sign

XadesSignatureResult sign(SignedDataObjects signedDataObjects,
                          Node parent)
                          throws XAdES4jException
Applies a signature over a set of data objects and appends it to the given node.

Parameters:
signedDataObjects - the data objects to be signed
parent - the node to which the signature element will be appended
Returns:
the signature result
Throws:
XAdES4jException - if an error occurs
See Also:
SignedDataObjects


Copyright © 2012. All Rights Reserved.