logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

xmlsec-checksig - Check a signature embedded in an XML file

Author

       This manual page was written by Russ Allbery for Debian.

Description

xmlsec-checksig checks a digital signature embedded in an XML file using the Apache XML Security for C++
       library.  It reads the XML document to check from the provided input file and expects the signature to
       follow the XML Digital Signature and Encryption specifications.

Manual License

       The authors hereby relinquish any claim to any copyright that they may have in this work, whether granted
       under contract or by operation of law or international treaty, and hereby commit to the public, at large,
       that they shall not, at any time in the future, seek to enforce any copyright in this  work  against  any
       person  or  entity,  or  prevent  any person or entity from copying, publishing, distributing or creating
       derivative works of this work.

3.0.0                                              2025-01-11                               xsec-checksig.pod(1)

Name

       xmlsec-checksig - Check a signature embedded in an XML file

Options

       Note that each option must be given as a separate argument.

       --hmackeystring, -hstring
           Use the HMAC key specified by string.

       --idname
           Use the attribute id with name name.  To also specify the namespace, use --idns instead.

       --idnsns-uriname, -dns-uriname
           Use the attribute id specified by the namespace URI ns-uri and the name name.

       --interop, -i
           Use the interop resolver for the Baltimore interop examples.

       --skiprefs, -s
           Skip checking references and only check the signature.

       --xsecresolver, -x
           Use the Apache XML Security for C++ test XMLDSig URI resolver.

Return Status

xmlsec-checksig  exits  with status 0 if the signature is valid and with status 1 if the signature is not
       valid.  If it cannot process the input file for some reason, it exits with status 2.

Synopsis

xmlsec-checksig [-s] [-hstring] [-x] [-dns-uriname]
           [-i] [--idname] input

See Also