I have been trying to encrypt some data using BouncyCastle's JCE provider. I'm trying "SHA256withRSA" and I'm getting a "noSuchAlgorithmException". Am I doing something wrong? Can someone help? Thanks
Specifically I'm trying
Signature.getInstance("SHA256withRSA", new BouncyCastleProvider());
As mentioned here - http://www.bouncycastle.org/wiki/display/JA1/X.509+Public+Key+Certificate+and+Certification+Request+Generation