Registry / crypto / codercat-jwk-to-pem

codercat-jwk-to-pem

JSON →
library0.0.3phppackagistunverified

Convert JWK to PEM format.

composer require codercat/jwk-to-pem
INSTALL
IMPORT
SIG · CODERCAT-JWK-TO-PE
C
codercat-jwk-to-pem
cryptophpv0.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JWKConverter
use Codercat\JWKToPEM\JWKConverter;

Convert a JSON Web Key (JWK) to PEM format.

use Codercat\JWKToPEM\JWKConverter; $converter = new JWKConverter(); $pem = $converter->toPEM($jwk); echo $pem;
Debug
Known issues
breakingOnly supports RSA keys; other key types (EC, oct) may not work.
fix
Ensure the JWK is of type RSA before conversion.
affects: <=0.0.3
Upgrade
Version history
0.0.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
13
Amazon
1
Resources
codercat-jwk-to-pem — pip install codercat-jwk-to-pem · libregistry