SignedXMLCerts: Display X509Certificates for SignedXML Document

SignedXMLCerts.cs is a .NET assembly CryptoAPI console utility which searches for X509Certificate tags in a specified signed XML document using XmlDocument.GetElementsByTagName("X509Certificate"), b64 decodes the certificate data (InnerXml), instantiates an X509Certificate instance, and displays some certificate properties. Also, uses Pinvoke to create a certificate context IntPtr and displays the native certificate dialog box.

Sample enveloped-signed XML document

This utility uses P/Invoke to CryptoAPI functions:

KeyInfoX509Data Class

Michel I. Gallant