-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
6u6, 6u12
-
generic, sparc
-
solaris_10
JCK: JCK-runtime-6b b18
J2SE: FAIL - since FCS. Not a regression; was not found before because the test is new.
Platform[s]: FAIL - Solaris 10/11
PASS - Solaris 8 and 9
switch/Mode: FAIL - default
Test api/java_security/interfaces/DSAKeyPairGenerator/InitializeTests fails on solaris 10 and 11 but passes on Solaris 8 and 9. The problem is the test tries to create KeyPairGenerator for every security provider registered in the system. For SunPKCS11-Solaris KeyPAirGenerator.getInstance throws NoSuchAlgorithmException.
According to the following references:
http://java.sun.com/javase/6/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
http://java.sun.com/javase/6/docs/technotes/guides/security/p11guide.html#ALG
DSA should be supported for PKCS#11 security provider.
Steps to reproduce:
run the following code on solaris 10 or 11:
import java.security.KeyPairGenerator;
public class Test {
public static void main(String argv[]) {
try{
KeyPairGenerator.getInstance("DSA","SunPKCS11-Solaris");
}catch (Exception e)
{
e.printStackTrace();
}
}
}
J2SE: FAIL - since FCS. Not a regression; was not found before because the test is new.
Platform[s]: FAIL - Solaris 10/11
PASS - Solaris 8 and 9
switch/Mode: FAIL - default
Test api/java_security/interfaces/DSAKeyPairGenerator/InitializeTests fails on solaris 10 and 11 but passes on Solaris 8 and 9. The problem is the test tries to create KeyPairGenerator for every security provider registered in the system. For SunPKCS11-Solaris KeyPAirGenerator.getInstance throws NoSuchAlgorithmException.
According to the following references:
http://java.sun.com/javase/6/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
http://java.sun.com/javase/6/docs/technotes/guides/security/p11guide.html#ALG
DSA should be supported for PKCS#11 security provider.
Steps to reproduce:
run the following code on solaris 10 or 11:
import java.security.KeyPairGenerator;
public class Test {
public static void main(String argv[]) {
try{
KeyPairGenerator.getInstance("DSA","SunPKCS11-Solaris");
}catch (Exception e)
{
e.printStackTrace();
}
}
}
- relates to
-
JDK-5001004 Required Security Algorithms need to be defined
-
- Closed
-