Skip to content

Commit

Permalink
Added section to README for BC addition
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Tjaden committed Jan 6, 2025
1 parent b1e24c0 commit 9aa3e65
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README_JCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,23 @@ ant build-jce-release # Build JCE JAR
```
This script requires for JAVA_HOME to be set.

For Bouncy Castle comparison testing:

Visit [bouncy-castle-java](https://www.bouncycastle.org/download/bouncy-castle-java/)
Download both:
bcprov-jdk18on-1.79.jar # Bouncy Castle Provider
bctls-jdk18on-1.79.jar # Bouncy Castle DTLS/TLS API/JSSE Provider

Copy jar files to $JAVA_HOME/lib/ext/:
```
cp bcprov-jdk18on-1.79.jar $JAVA_HOME/lib/ext/
cp bctls-jdk18on-1.79.jar $JAVA_HOME/lib/ext/
```
Add Bouncy Castle as provider in java.security file:
```
echo "security.provider.X=org.bouncycastle.jce.provider.BouncyCastleProvider" >> $JAVA_HOME/lib/security/java.security
```

### JAR Code Signing
---------

Expand Down

0 comments on commit 9aa3e65

Please sign in to comment.