Hi everyone,I would be interested to know if jmule implements secure identification, and if that's the case, in which classes can I find the relative source code. I'm a computer science student and I'm writing a thesis on security and the secure identification would be a perfect example of implementation of the RSA protocol.

We reused some code from Bouncy Castle project(http://www.bouncycastle.org/), BC code is located in org.jmule.core.bccrypto package. Security identification is implemented in PeerManagerImpl(some code in PeerCredit and ClientsMet). Key generation is implemented in ConfigurationManagerImp.genSecurityKeys().

I've studied the code and I have a question: why do you use bouncy castle to implement secure identification? you could also use classes from java.security to generate the private and public key-pair for the RSA encryption method. Am I wrong?