Skip to content

Instantly share code, notes, and snippets.

View robincher's full-sized avatar

Robin Cher robincher

View GitHub Profile
@robincher
robincher / keybase.md
Created December 21, 2018 06:45
Keybase

Keybase proof

I hereby claim:

  • I am robincher on github.
  • I am robincher (https://keybase.io/robincher) on keybase.
  • I have a public key ASAnWqIXbW8XGBZCwtZJx4tLmEmBLQpUdc5-4pMChJ1gbAo

To claim this, I am signing this object:

@robincher
robincher / index.js
Created September 8, 2018 10:38
Parsing X509 Certificate using pkijs
const atob = require('atob');
const asn1js = require('asn1js');
const fs = require('fs');
const pkijs = require('pkijs');
const pvutils = require('pvutils')
const Certificate = pkijs.Certificate
let certificateBuffer = new ArrayBuffer(0);