google-p12-pem

  • Version 3.1.2
  • Published
  • 23.3 kB
  • 1 dependency
  • MIT license

Install

npm i google-p12-pem
yarn add google-p12-pem
pnpm add google-p12-pem

Overview

Convert Google .p12 keys to .pem keys.

Index

Functions

Functions

function getPem

getPem: {
(filename: string): Promise<string>;
(filename: string, callback: (err: Error, pem: string) => void): void;
};
  • Convert a .p12 file to .pem string

    Parameter filename

    The .p12 key filename.

    Parameter callback

    The callback function. A promise that resolves with the .pem private key if no callback provided.

Package Files (1)

Dependencies (1)

Dev Dependencies (9)

Peer Dependencies (0)

No peer dependencies.

Badge

To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/google-p12-pem.

  • Markdown
    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/google-p12-pem)
  • HTML
    <a href="https://www.jsdocs.io/package/google-p12-pem"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>