frasertweedale / hs-jose

Haskell JOSE and JWT library
http://hackage.haskell.org/package/jose
Apache License 2.0
122 stars 46 forks source link

Construct JWK from X.509 certificate #62

Closed frasertweedale closed 5 years ago

frasertweedale commented 6 years ago

Add a function to convert an X.509 certificate to a JWK. The JWK should bear the certificate in its x5c field, and possibly also the fingerprint(s) of the certificate in the x5t and x5t#S256 fields.

frasertweedale commented 6 years ago

See #63 for discussion of implementation.

frasertweedale commented 5 years ago

Fixed in e9e499f8d9b459a25b641665b1a156416c31796e and subsequent commits.