pmill / aws-cognito

A PHP library for AWS Cognito user pools
MIT License
74 stars 62 forks source link

Convert JWK to public key string PEM/RSAKey #7

Closed engharb closed 6 years ago

engharb commented 6 years ago

Hello, Is there a possibility to create public key string .PEM from JWK. I used before Jose\KeyConverter\RSAKey but I deleted this library because of conflict.?

Any suggestion?

thanks

pmill commented 6 years ago

I think the new jwt library has a RSAKey class that might be similar to the one you used.

engharb commented 6 years ago

here is such class: Jose\Component\Core\Util\RSAKey