HIRS/tools/xml_dsig_tool

The xml_dsig_tool is a Windows command line application that provides the ability to perform basic cryptographic functions per the W3C XML Signature Syntax and Processing Version 1.1. The functions include:

sign : append an enveloped signature to an unsigned XML document validate : validate a signed base rim's signature (NOTE: cryptographic validation only, this tool does not validate the RIM structure)

Build and package

Running xml_dsig_tool

Navigate to the .exe directory and run the following commands

help

sign --file unsigned.xml --private-key privateKey.pem

validate --file signed_unsigned.xml --certificate RimSignCert.pem