jQuery in Action, 2nd edition*
The moose likes Security and the fly likes Bouncy castle Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Bouncy castle Issue" Watch "Bouncy castle Issue" New topic
Author

Bouncy castle Issue

kamal palia
Greenhorn

Joined: Jul 20, 2012
Posts: 17
I've installed the BouncyCastle cryptography provider on my system, placing bcprov-jdk16-145.jar in my application lib folder and added the line
security.provider.8=org.bouncycastle.jce.provider.BouncyCastleProvider
to java.security. I have verified that it's correctly installed by running a Standard Edition application which uses it.

However, when I try to run my Enterprise app in weblogic server, which uses BouncyCastle, I get the following error:
java.security.NoSuchProviderException: no such provider: BC
when my code attempts to execute the following line:
factory = KeyFactory.getInstance(algorithm, "BC");

Please suggest any soultion?
 
Don't get me started about those stupid light bulbs.
 
subject: Bouncy castle Issue