If you are interested in verifying an XML Digital Signature, then you should consider using the xmlsec command line tool.