Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bouncycastle for JDK 1.7 and PKCS libraries

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?

like image 204
user907810 Avatar asked Jan 23 '26 02:01

user907810


1 Answers

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>
like image 156
Omoro Avatar answered Jan 25 '26 22:01

Omoro



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!