Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
helper for creating crypto credentials based on cert files.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
README.md
index.js
package.json

README.md

node-crypto-reader

helper for creating crypto credentials based on cert files.

Installation

npm install crypto-reader

Usage

var cryptoReader = require('crypto-reader');

var options = { crt: certPath, key: keyPath, ca: caPath };

cryptoReader( options, function ( err, cred ) {
    //use cred here.
});

For more samples of usage, checkout ./test/index.js file.

Running tests

mocha
Something went wrong with that request. Please try again.