STDOUT:
Beginning test run TestDH2048...
Running test with provider SunPKCS11-Solaris...
4096-bit DH key pair generation: java.security.InvalidParameterException: DH key must be at most 4096 bits. The specific key size 6144 is not supported
STDERR:
java.security.InvalidParameterException: DH key must be at most 4096 bits. The specific key size 6144 is not supported
at sun.security.pkcs11.P11KeyPairGenerator.initialize(P11KeyPairGenerator.java:150)
at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:640)
at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:351)
at TestDH2048.main(TestDH2048.java:78)
at PKCS11Test.premain(PKCS11Test.java:88)
at PKCS11Test.testDefault(PKCS11Test.java:149)
at PKCS11Test.main(PKCS11Test.java:97)
at TestDH2048.main(TestDH2048.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
at java.lang.Thread.run(Thread.java:748)