No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
LICENSE
README.md
p12ToPem.js
package.json

README.md

p12ToPem

This JavaScript library allows you to easily extract the private key from a PKCS12 (.p12) file in a buffer or base64 encoded string. Usage is pretty simple and straightforward:

var p12ToPem = require("../p12-to-pem.js");
var p12File = fs.readFileSync("/path/to.p12");
var privateKey = p12ToPem(p12File, "password");

This library is licensed under the BSD 2-clause license, copyright 2015 Zebrafish Labs, Inc. See LICENSE file for details.