JDK-6458768 : Signature.getInstance("NONEwithRSA") giving inconsistent behavior
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2006-08-10
  • Updated: 2011-01-19
  • Resolved: 2011-01-12
Related Reports
Duplicate :  
Description
If an implementation of NONEwithRSA is not available, we wrap an instance of the RSACipher and use that to do the signature.  There's some wrapper magic that happens here.  If we call getInstance("NONEwithRSA").getProvider(), we get delegated down into "SunJCE".  But if we call getInstance("NONEwithRSA", "SunJCE"), we get *NULL*, not a no-such algorithm.  This needs to be cleaned up.

Comments
EVALUATION The wrapper code needs some work.
10-08-2006