XCOMMONS-543: Add support for Cryptographic Message Syntax (CMS) signatures

 - Simplify and improve the signature verifier