Problem with Provider
881186Aug 9 2011 — edited Aug 9 2011Hi iam a newbee to this Forum and have some problems with the JCA API.
I try to do somting linke this :
Signature sign = Signature.getInstance("SHA256WithRSA", "SUN");
the Compiler notfie some problem
Exception in thread "main" java.security.NoSuchAlgorithmException: no such algorithm: SHA256WithRSA for provider SUN
at sun.security.jca.GetInstance.getService(Unknown Source)
at sun.security.jca.GetInstance.getInstance(Unknown Source)
at java.security.Signature.getInstance(Unknown Source)
at pkcs_signer.coconet_package.TestClass.main(TestClass.java:76)
How i can solve this problem ? i use the SUN Provider.
I read in the internet i need to Download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6, is this right ? and how i install this ?
thank you
Richard from Germany ( Java newbie )