title: NodeJS digital Signature using Cryptography
body: <blockquote>
    <p>What I am trying to do:</p>
  </blockquote>
  
  <p>Trying to create an internal system where users upload <strong>PDF</strong> files and send them to other users.</p>
  
  <p>These PDF files should be <strong>signed using Digital Signature</strong>.</p>
  
  <blockquote>
    <p>What I have done and searched for:</p>
  </blockquote>
  
  <p>I have found this npm package
  <a href="https://www.npmjs.com/package/node-signpdf" rel="nofollow noreferrer">https://www.npmjs.com/package/node-signpdf</a> which I think do exactly what I want.</p>
  
  <blockquote>
    <p>Problem is:</p>
  </blockquote>
  
  <p>This package requires <strong>p12 certificate</strong> and I don't know if it possible to create this certificate for each user on the system to identify them.</p>
  
  <p>And if it is possible then how I do it?</p>
  
  <p>And if it is not, what is the best solution for that?</p>