1 /* 2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it under 6 * the terms of the GNU General Public License version 2 only, as published by 7 * the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT ANY 10 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 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 /* 24 * @test 25 * @bug 8049429 26 * @modules java.management 27 * jdk.crypto.ec/sun.security.ec 28 * @summary Test that all cipher suites work in all versions and all client 29 * authentication types. The way this is setup the server is stateless 30 * and all checking is done on the client side. 31 * @compile CipherTestUtils.java JSSEClient.java JSSEServer.java 32 * @run main/othervm 33 * -DSERVER_PROTOCOL=TLSv1 34 * -DCLIENT_PROTOCOL=TLSv1.1,TLSv1.2 35 * -DCIPHER=SSL_RSA_WITH_RC4_128_MD5 36 * TestJSSE javax.net.ssl.SSLHandshakeException 37 */