Last updated on JUNE 22, 2017
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 22-Jun-2017***
When executing a java stored procedure using encryption provided by a third party provider the following error is returned:
java.security.NoSuchAlgorithmException: Cannot find any provider supporting RC4
or , if you explicitly specify the provider in the call to KeyGenerator.getInstance (in this case BC for BouncyCastle):
java.security.NoSuchProviderException: JCE cannot authenticate the provider BC
Caused by: java.lang.NullPointerException
You have loaded the provider's .jar file using loadjava in order that the procedure compiles correctly and can execute the program from the command line with the provider's .jar file in the class path.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms