title: Verify PKCS#7 (PEM) signature / unpack data in node.js
body: <p>I get a PKCS#7 crypto package from a 3rd party system.
  The package is not compressed and not encrypted, PEM-encoded, signed with X.509 certificate.
  I also have a PEM cert file from the provider.</p>
  
  <p>The data inside is XML</p>
  
  <p>I need to do the following in Node.JS:</p>
  
  <ul>
  <li>extract the data</li>
  <li>verify the signature</li>
  </ul>
  
  <p>A sample package (no sensitive info, data refers to our qa system) <a href="http://pastebin.com/7ay7F99e" rel="noreferrer">http://pastebin.com/7ay7F99e</a></p>