Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x509 Certificate Parser is helpful #10

Open
kvnn opened this issue Oct 31, 2017 · 1 comment
Open

x509 Certificate Parser is helpful #10

kvnn opened this issue Oct 31, 2017 · 1 comment

Comments

@kvnn
Copy link

kvnn commented Oct 31, 2017

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.

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

@kvnn
Copy link
Author

kvnn commented Oct 31, 2017

Also - it'd be nice to make convertCertToPEM public for this usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant