Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JWT error NoSuchAlgorithmException: Algorithm SHA256withRSA not available

f0916361-7b5c-47c1-81fd-6a49dfb2d6dfSep 1 2016 — edited Sep 1 2016

I'm using the Oracle jwt Java libs in osdt_restsec and osdt_core, version 12.1.2, and trying to sign a JWT with the "RS256" algorithm.  Am getting the following exception:

oracle.security.restsec.jwt.SigningException: java.security.NoSuchAlgorithmException: Algorithm SHA256withRSA not available

Same code works fine with other algorithms, like "HS256".  Is this algorithm implemented in the library? 

Thanks for any pointers.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 29 2016
Added on Sep 1 2016
0 comments
829 views