Socket
Book a DemoInstallSign in
Socket

p12-to-pem

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p12-to-pem

Extract the private key from a PKCS12 file.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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.

Keywords

pkcs

FAQs

Package last updated on 06 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts