node-x509
node-x509 copied to clipboard
serial as integer instead of hex value
Hi, some signatures need to pass the serialNumber as integer, and I can't convert hex to integer because of the limitation of javascript integer, that causes a value of like 45433534+34, would be great if we have a function like this:
x509.parseSerial(cert, { asDecimal: true });
is possible?