java.lang.SecurityException: JCE cannot authenticate the provider BC

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by lmm1990
, 1 year ago
JCE cannot authenticate the provider BC
via Stack Overflow by Mgmr
, 1 year ago
JCE cannot authenticate the provider BC
via Oracle Community by user12853324, 1 year ago
JCE cannot authenticate the provider MyProvider
via Stack Overflow by Juan
, 2 years ago
JCE cannot authenticate the provider FlexiPQC
via Oracle Community by 843811, 1 year ago
JCE cannot authenticate the provider BC +
java.lang.SecurityException: JCE cannot authenticate the provider BC
at javax.crypto.Cipher.getInstance(Cipher.java:657)
at javax.crypto.Cipher.getInstance(Cipher.java:596)
at ssp.asyncTask.service.utils.Cryptography.AES256.encrypt(AES256.java:60)
at ssp.asyncTask.service.utils.Cryptography.AES256.encrypt(AES256.java:48)
at ssp.asyncTask.service.utils.Cryptography.ADXPriceCrypt.encrypt(ADXPriceCrypt.java:22)
at ssp.asyncTask.service.classHandler.task.DSPUserRechargeTask$1.run(DSPUserRechargeTask.java:38)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.