PEM to JWK using javascript
问题 I am a newbie in API Connect and Java Script. I have a requirement where I need to convert the content of a .pem (which is in DataPower under local:///cert) to JWK in API connect. Could anyone help me with the starting point on how to develop a javascript to refer the crypto cert object from DataPower (example crypto cert object JWKCryptoCertObj) Decrypt the .pem from crypto cert object (example PEM JWKCryptoCertObj.pem) Convert the content of the .pem to JWK ( jwk.readCertificate() ) So far