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?

Reply via email to