jose
jose copied to clipboard
Create public JWK from X.509 cert
It would be useful to create a RSA/EC JWK from a X.509 cert or a PKey.
https://github.com/npmccallum/jose/blob/x509/src/jwk.c#L569 https://github.com/npmccallum/jose/blob/x509/src/jwk.c#L627
That code is rather out of date, but could be resurrected.