compare JWK and key in PEM format

Andrej Doba <[email protected]>
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <DB5PR10MB7724A73FAC1135910AEC7AD4E20E2@DB5PR10MB7724.EURPRD10.PROD.OUTLOOK.COM>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.