1 Reply Latest reply on Dec 21, 2005 11:35 AM by starksm64

    Security Provider for Client

    stedo

      hi,

      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)
      


      So it looks like I need the same security provider as JBoss on the client side. However I'm not sure where the provider is or how I implement it on the client side.

      Can anyone help?

      Thanks in advance
      Steve