BouncyCastle Cryptography provider library used with applet on Java 7u40

后端 未结 2 1980
清酒与你
清酒与你 2020-12-25 15:13

The case: I am maintaining a Java applet which uses the BouncyCastle libraries bcpkix-jdk15on-149.jar, and bcprov-jdk15on-149.jar.

2条回答
  •  余生分开走
    2020-12-25 15:32

    We can also include the other stackoverflow post and the answer that helped me:

    Putting the line: Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());

    Helped me getting rid of the exception.

    Source: jce cannot authenticate the provider bc

提交回复
热议问题