Open kvnn opened 6 years ago
Using node-x509 [1] and your convertCertToPEM function I'm able to get data from the result.certificate buffer, which I was having some trouble with.
convertCertToPEM
result.certificate
Here is an example: if (result.successful) { console.log('certificate', x509.getIssuer(convertCertToPEM(result.certificate)));
if (result.successful) {
console.log('certificate', x509.getIssuer(convertCertToPEM(result.certificate)));
Would you like me to add this to the README?
[1] https://github.com/Southern/node-x509
Also - it'd be nice to make convertCertToPEM public for this usage.
Using node-x509 [1] and your
convertCertToPEM
function I'm able to get data from theresult.certificate
buffer, which I was having some trouble with.Here is an example:
if (result.successful) {
console.log('certificate', x509.getIssuer(convertCertToPEM(result.certificate)));
Would you like me to add this to the README?
[1] https://github.com/Southern/node-x509