Does any of you know whether there is an equivalent implementation of Nimbus JOSE+JWT in Apex?

What I'm trying to do is port some Java code written using Nimbus JOSE+JWT to generate five part encoded and encrypted JWT to Apex. I think the platform support available JWS, JWT and Crypto classes is limited to achieve this.

  • Actually, what I want to know is how to encrypt a JWT claims string using a stored certificate. Are the methods in Crypto class can handle this? – Shiran Dec 10 '16 at 11:25

I was unable to find an equivalent of Nimbus JOSE+JWT for Salesforce Apex. Infact Crypto class in Salesforce has quite limited functionality. It doesn't support asymmetric Public/Private key encryption at the moment.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.