I am trying to emulate in OpenSSL java encryption algorithm.  
When using "RSA_public_encrypt" are there parameters to emulate any of these 
combinations of parameters in Java?
"RSA/ECB/OAEPWITHMD5ANDMGF1PADDING" or "RSA/ECB/PKCS1Padding"? 
I tried using "RSA_PKCS1_PADDING" as a padding parameter but when I decrypt the 
encrypted text in Java I get a BadPadding exception.
 
Thanks,
Dan
 
 
 
 
 
            
                                          

Reply via email to