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: 2
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){
log.info("Bouncy Castle provider is NOT available");
}
else{
log.info("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: 33142
Registered: July 2009
Senior Member
I assume you're using Buildship, so best to ask here:

https://discuss.gradle.org/c/help-discuss/buildship/20


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:i can not install GlassFish
Next Topic:Marketplace plugin missing
Goto Forum:
  


Current Time: Fri Apr 26 15:29:45 GMT 2024

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

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

Back to the top