11 * A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more 12 * details (a copy is included in the LICENSE file that accompanied this code). 13 * 14 * You should have received a copy of the GNU General Public License version 2 15 * along with this work; if not, write to the Free Software Foundation, Inc., 51 16 * Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 17 * 18 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA or 19 * visit www.oracle.com if you need additional information or have any 20 * questions. 21 */ 22 23 import static java.lang.System.out; 24 import java.security.Provider; 25 import java.security.Security; 26 27 /** 28 * @test 29 * @bug 8049429 30 * @library ../../../../lib/testlibrary/ 31 * @build jdk.testlibrary.Utils 32 * @compile CipherTestUtils.java JSSEClient.java JSSEServer.java 33 * @summary Test that all cipher suites work in all versions and all client 34 * authentication types. The way this is setup the server is stateless and 35 * all checking is done on the client side. 36 * @run main/othervm -DSERVER_PROTOCOL=SSLv3 37 * -DCLIENT_PROTOCOL=SSLv3 38 * -DCIPHER=SSL_RSA_WITH_RC4_128_MD5 TestJSSE 39 * @run main/othervm -DSERVER_PROTOCOL=TLSv1 40 * -DCLIENT_PROTOCOL=SSLv3,TLSv1,TLSv1.1,TLSv1.2 41 * -DCIPHER=SSL_RSA_WITH_RC4_128_MD5 TestJSSE 42 * @run main/othervm -DSERVER_PROTOCOL=TLSv1.1 43 * -DCLIENT_PROTOCOL=SSLv3,TLSv1,TLSv1.1,TLSv1.2 44 * -DCIPHER=SSL_RSA_WITH_RC4_128_MD5 TestJSSE 45 * @run main/othervm -DSERVER_PROTOCOL=TLSv1.2 46 * -DCLIENT_PROTOCOL=SSLv3,TLSv1,TLSv1.1,TLSv1.2 47 * -DCIPHER=SSL_RSA_WITH_RC4_128_MD5 TestJSSE 48 * @run main/othervm -DSERVER_PROTOCOL=SSLv3,TLSv1 49 * -DCLIENT_PROTOCOL=TLSv1 -DCIPHER=SSL_RSA_WITH_RC4_128_MD5 TestJSSE 50 * @run main/othervm -DSERVER_PROTOCOL=SSLv3,TLSv1,TLSv1.1 | 11 * A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more 12 * details (a copy is included in the LICENSE file that accompanied this code). 13 * 14 * You should have received a copy of the GNU General Public License version 2 15 * along with this work; if not, write to the Free Software Foundation, Inc., 51 16 * Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 17 * 18 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA or 19 * visit www.oracle.com if you need additional information or have any 20 * questions. 21 */ 22 23 import static java.lang.System.out; 24 import java.security.Provider; 25 import java.security.Security; 26 27 /** 28 * @test 29 * @bug 8049429 30 * @library ../../../../lib/testlibrary/ 31 * @modules java.management 32 * jdk.crypto.ec/sun.security.ec 33 * @build jdk.testlibrary.Utils 34 * @compile CipherTestUtils.java JSSEClient.java JSSEServer.java 35 * @summary Test that all cipher suites work in all versions and all client 36 * authentication types. The way this is setup the server is stateless and 37 * all checking is done on the client side. 38 * @run main/othervm -DSERVER_PROTOCOL=SSLv3 39 * -DCLIENT_PROTOCOL=SSLv3 40 * -DCIPHER=SSL_RSA_WITH_RC4_128_MD5 TestJSSE 41 * @run main/othervm -DSERVER_PROTOCOL=TLSv1 42 * -DCLIENT_PROTOCOL=SSLv3,TLSv1,TLSv1.1,TLSv1.2 43 * -DCIPHER=SSL_RSA_WITH_RC4_128_MD5 TestJSSE 44 * @run main/othervm -DSERVER_PROTOCOL=TLSv1.1 45 * -DCLIENT_PROTOCOL=SSLv3,TLSv1,TLSv1.1,TLSv1.2 46 * -DCIPHER=SSL_RSA_WITH_RC4_128_MD5 TestJSSE 47 * @run main/othervm -DSERVER_PROTOCOL=TLSv1.2 48 * -DCLIENT_PROTOCOL=SSLv3,TLSv1,TLSv1.1,TLSv1.2 49 * -DCIPHER=SSL_RSA_WITH_RC4_128_MD5 TestJSSE 50 * @run main/othervm -DSERVER_PROTOCOL=SSLv3,TLSv1 51 * -DCLIENT_PROTOCOL=TLSv1 -DCIPHER=SSL_RSA_WITH_RC4_128_MD5 TestJSSE 52 * @run main/othervm -DSERVER_PROTOCOL=SSLv3,TLSv1,TLSv1.1 |