< prev index next >

test/jdk/javax/net/ssl/DTLS/RespondToRetransmit.java

Print this page
rev 53269 : 8228967: Trust/Key store and SSL context utilities for tests
Reviewed-by: xuelei
   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
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 // SunJSSE does not support dynamic system properties, no way to re-use
  25 // system properties in samevm/agentvm mode.
  26 
  27 /*
  28  * @test
  29  * @bug 8161086
  30  * @summary DTLS handshaking fails if some messages were lost
  31  * @modules java.base/sun.security.util

  32  * @build DTLSOverDatagram
  33  *
  34  * @run main/othervm RespondToRetransmit client 0 hello_request
  35  * @run main/othervm RespondToRetransmit client 1 client_hello
  36  * @run main/othervm RespondToRetransmit client 2 server_hello
  37  * @run main/othervm RespondToRetransmit client 3 hello_verify_request
  38  * @run main/othervm RespondToRetransmit client 4 new_session_ticket
  39  * @run main/othervm RespondToRetransmit client 11 certificate
  40  * @run main/othervm RespondToRetransmit client 12 server_key_exchange
  41  * @run main/othervm RespondToRetransmit client 13 certificate_request
  42  * @run main/othervm RespondToRetransmit client 14 server_hello_done
  43  * @run main/othervm RespondToRetransmit client 15 certificate_verify
  44  * @run main/othervm RespondToRetransmit client 16 client_key_exchange
  45  * @run main/othervm RespondToRetransmit client 20 finished
  46  * @run main/othervm RespondToRetransmit client 21 certificate_url
  47  * @run main/othervm RespondToRetransmit client 22 certificate_status
  48  * @run main/othervm RespondToRetransmit client 23 supplemental_data
  49  * @run main/othervm RespondToRetransmit client -1 change_cipher_spec
  50  * @run main/othervm RespondToRetransmit server 0 hello_request
  51  * @run main/othervm RespondToRetransmit server 1 client_hello


   1 /*
   2  * Copyright (c) 2016, 2019, 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
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 // SunJSSE does not support dynamic system properties, no way to re-use
  25 // system properties in samevm/agentvm mode.
  26 
  27 /*
  28  * @test
  29  * @bug 8161086
  30  * @summary DTLS handshaking fails if some messages were lost
  31  * @modules java.base/sun.security.util
  32  * @library /test/lib
  33  * @build DTLSOverDatagram
  34  *
  35  * @run main/othervm RespondToRetransmit client 0 hello_request
  36  * @run main/othervm RespondToRetransmit client 1 client_hello
  37  * @run main/othervm RespondToRetransmit client 2 server_hello
  38  * @run main/othervm RespondToRetransmit client 3 hello_verify_request
  39  * @run main/othervm RespondToRetransmit client 4 new_session_ticket
  40  * @run main/othervm RespondToRetransmit client 11 certificate
  41  * @run main/othervm RespondToRetransmit client 12 server_key_exchange
  42  * @run main/othervm RespondToRetransmit client 13 certificate_request
  43  * @run main/othervm RespondToRetransmit client 14 server_hello_done
  44  * @run main/othervm RespondToRetransmit client 15 certificate_verify
  45  * @run main/othervm RespondToRetransmit client 16 client_key_exchange
  46  * @run main/othervm RespondToRetransmit client 20 finished
  47  * @run main/othervm RespondToRetransmit client 21 certificate_url
  48  * @run main/othervm RespondToRetransmit client 22 certificate_status
  49  * @run main/othervm RespondToRetransmit client 23 supplemental_data
  50  * @run main/othervm RespondToRetransmit client -1 change_cipher_spec
  51  * @run main/othervm RespondToRetransmit server 0 hello_request
  52  * @run main/othervm RespondToRetransmit server 1 client_hello


< prev index next >