I am performing some encryption on the JBoss server side using RSA encryption and the classes KeyPairGenerator and KeyPair. On the server side everything works fine both encrypt and decrypt. I user the form "RSA/NONE/PKCS1PADDING".
I also have a J2SE client which will encrypt data and send it to the server for decryption. However when I run the same code on the server side I receive an error which says:
java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/N ONE/PKCS1PADDING at javax.crypto.Cipher.getInstance(DashoA12275)
See the jdk documentation on setting up security providers. The server is using the same jdk as the client?