Creates ocsp hashes for certificate revocation check from pem encoded certificates.
##Publications:
https://blog.appit-online.de/publications/
Table of contents:
Quickstart
Installing the library
npm install ocsp-hashes --save
Using the library
import * as ocspHashes from 'ocsp-hashes';
const ocspHashes = await ocspHashes.getOCSPHashes(certPath, issuerCertPath, hashingAlgorithm, disableFilePathValidations);
console.log('The ocsp object:');
console.log(ocspHashes);
const ocspHashes = await ocspHashes.getOCSPHashes(certPath, issuerCertPath, hashingAlgorithm);
console.log('The ocsp object:');
console.log(ocspHashes);
const ocspHashes = await ocspHashes.getOCSPHashes(certPath, issuerCertPath);
console.log('The ocsp object:');
console.log(ocspHashes);
Supported Node.js Versions
Our client libraries follow the Node.js release schedule.
Libraries are compatible with all current active and maintenance versions of
Node.js.
License
Apache Version 2.0
See LICENSE