I need a simple software, package or library that signs an XML with standard XADES-BES using an p12 file, This p12 file contains the certificates for signature.
The library should be capable to be executed in a linux terminal and should receive 3 parameters: 1) the p12 file, 2) the XML, 3) the output XML signed file. So for example in a terminal I will do something like this:
[login to view URL] --p12 path/to/[login to view URL] --xml path/to/xml --xmlsigned path/to/xml/signed
It doesn't matter the language that you use (Python, Ruby, Java, Php, etc), the important thing is that I can run the software in a linux terminal.