Receive RSA certificate information (distinguishedName, commonName, validFrom, validTo,...) from a pem or der encoded file.
##Publications:
https://blog.appit-online.de/publications/
##Table of contents:
Quickstart
Installing the library
npm install cert-infos --save
Using the library
import * as certInfo from 'cert-infos';
const {certificate, certificateOriginal} = certInfo.getRSACertInfoPem(pemCertPath);
console.log('The short certificate information:');
console.log(certificate);
console.log('The unconverted certificate data:');
console.log(certificateOriginal)
import * as certInfo from 'cert-infos';
const {certificate, certificateOriginal} = certInfo.getRSACertInfoDER(derCertPath);
console.log('The short certificate information:');
console.log(certificate);
console.log('The unconverted certificate data:');
console.log(certificateOriginal)
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