xmlsectool

Validate XML schema and verify digital signatures on XML documents

brewmacoslinux
Try with needOr install directly
Source

About

Check schema validity and signature of an XML document

Commands

xmlsectool

Examples

Validate an XML file against a schema$ xmlsectool --validateSchema --schemaRepository /path/to/schemas document.xml
Verify the digital signature of an XML document$ xmlsectool --verifySignature --certificateFile cert.pem signed-document.xml
Sign an XML document with a private key$ xmlsectool --sign --keyFile private.key --certificateFile cert.pem document.xml