title: Best approch to decode the PKCS12 file and get the encrypted private key from it using JavaScript
body: <p>Please suggest any idea to decode the PKCS12 file and get the encrypted private key from it using JavaScript. I know that it can be done very easily using Java Keytool command and Java Security package. But I want it to be done by Java Script. Bellow is my actual requirement.</p>
  
  <p>I have a ".p12" extention file which is one of the formats of pkcs12.
  It should be decoded first and need to trace out the decoded file where exactly the encrypted Private key is placed.
  Need to get that encrypted Private key and Decrypt it and send it to the receiver.
  And all this Should be done only in JAVASCRIPT.</p>