Question

I am trying to locate the PKCS libraries (pkcs10 CSR calls) of the Bouncycastle for JDK 1.7. I came across the official Bouncycastle maven repository and got totally confused because of the amount of different versions. I have specially looked for bcmail.jar (and fount one for JDK 1.5) but did not found any for JDK 1.7.

Can somebody tell me which jar should I use and how can I integrate maven dependency for Bouncycastle in my pom.xml, so that this references the latest bouncycastle release?

Was it helpful?

Solution

I have used Bouncycastle version 1.45 in a Java 1.7 project without problems.

<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk16</artifactId>
    <version>1.45</version>
</dependency>

OTHER TIPS

Current BC releases use jdk1.5 compliance, see https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on/1.55 (august 2016)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top