Hi,
normally, bouncycastle should be in the system package (so
startup.properties).
So, your way should be fine too.
Regards
JB
On 11/22/2014 01:27 AM, Richard Snowden wrote:
I do some encryption stuff and use Bouncy Castle as the provider. In one
of my classes I do:
static {
Security.addProvider(new BouncyCastleProvider());
}
This works fine when running standalone - but when I deploy it to Karaf
I get (of course) an "unresolved constraint" exception.
I can install Bouncy Castle via "install mvn:org.bouncycastle/bcprov..."
- but not sure if that's the correct way to do?
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com