Socket
Socket
Sign inDemoInstall

p12-to-pem

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    p12-to-pem

Extract the private key from a PKCS12 file.


Version published
Weekly downloads
17
decreased by-10.53%
Maintainers
1
Install size
1.03 MB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 06 Mar 2015

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc