Search code examples
javaclassnetbeanscryptographybouncycastle

How can I install or import Bouncy Castle Cryptography API for Java; ZIP has no .class files; using netbeans ide


I'm having some difficulty installing Bouncy Castle for Java (installing is probably not the correct term, here, I understand that).

I navigated to their webiste, here, and downloaded version 1.6 of the lightweight API, as a ZIP file. I extracted it to my Windows XP SP2 machine and expected it to be easy but it's not. I attached it as a library to my NetBeans IDE project and quickly discovered that there are no .class files in this ZIP file. I mean, I can only import .class files to my project, correct? How do I 'install' Bouncy Castle? Do I have to compile every .java file. If so, how do I go about it?

Thank you.


Solution

  • There is a .jar file here, just download the .jar file and add it to your classpath, and you should be able to use the API.