Hi.

I have a test case that uses a signed jar file (bouncy castle JCE
provider). This test case works fine from the command line, but fails when
run via Maven:

Testcase: testFunctionality(crypto.BCImplTest): Caused an ERROR
The provider BC may not be signed by a trusted party
java.lang.SecurityException: The provider BC may not be signed by a
trusted part
y
        at javax.crypto.SunJCE_b.a(DashoA12275)
        at javax.crypto.Cipher.a(DashoA12275)
        at javax.crypto.Cipher.getInstance(DashoA12275)
        at crypto.BCImpl.encrypt(BCImpl.java:29)

The application works as expected during normal runtime also, ie. this is
a Maven only problem.

Can anyone really insightful elaborate to me what's going on? Thanks.

Morten






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to