Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Bouncy Castle in Gradle project?(How to install Buncy Castle in Grdle project)
Bouncy Castle in Gradle project? [message #1848719] Tue, 14 December 2021 22:19 Go to next message
Carlos Oliva is currently offline Carlos OlivaFriend
Messages: 1
Registered: December 2021
Junior Member
What is theproper way to install Bouncy Castle in a java Gradle project? I added the dependency, implementation group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.60', to build.gradle, I can see the jar file in the Project and External depencies (bcprov-jdk15on-1.6.0.jar). A quick test program always prints the message, "Bouncy Castle provider is NOT available:. The test program is the following (In the doView wvent of an MVC portlet):
//BC is the ID for the Bouncy Castle provider;
if (Security.getProvider("BC") == null){"Bouncy Castle provider is NOT available");
else{"Bouncy Castle provider is available");
I would be very appreciative if you could provide some information about this problem
Re: Bouncy Castle in Gradle project? [message #1848725 is a reply to message #1848719] Wed, 15 December 2021 05:01 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32491
Registered: July 2009
Senior Member
I assume you're using Buildship, so best to ask here:

Ed Merks
Professional Support:
Previous Topic:i can not install GlassFish
Next Topic:Marketplace plugin missing
Goto Forum:

Current Time: Sat Sep 24 17:43:54 GMT 2022

Powered by FUDForum. Page generated in 0.06909 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top