compare JWK and key in PEM format

Andrej Doba andrej_d at hotmail.com
Thu Apr 18 11:24:49 UTC 2024


Dear SSL Users –



Is there a way compare JWK and key in PEM format using C++ JWT-CPP lib?



JWK sample:

{"crv":"P-256","kty":"EC","use":"sig","x":"Dpcd3iZJvK3tqZ79mCux4seWvcLWnES6ddbwKkFpKsk","y":"3BupJ8ZEuUTfsr8gP-FPE5e25C0F1ZOz3fBuNHuleBE"}



PEM sample:

-----BEGIN PUBLIC KEY-----

MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDpcd3iZJvK3tqZ79mCux4seWvcLW

nES6ddbwKkFpKsncG6knxkS5RN+yvyA/4U8Tl7bkLQXVk7Pd8G40e6V4EQ==

-----END PUBLIC KEY-----



Thanks for responses.

-ad

_____________________________ Andrej Doba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20240418/848742d5/attachment.htm>


More information about the openssl-users mailing list