jdk/src/java.base/share/classes/javax/net/ssl/SSLServerSocket.java
changeset 45118 e4258d800b54
parent 40411 e936d2ba0281
child 45941 c864a5791b3a
equal deleted inserted replaced
45117:7470e726740b 45118:e4258d800b54
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     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
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   196      * not available, or an anonymous suite is enabled but authentication
   196      * not available, or an anonymous suite is enabled but authentication
   197      * is required.
   197      * is required.
   198      * <P>
   198      * <P>
   199      * The returned array includes cipher suites from the list of standard
   199      * The returned array includes cipher suites from the list of standard
   200      * cipher suite names in the <a href=
   200      * cipher suite names in the <a href=
   201      * "{@docRoot}/../technotes/guides/security/StandardNames.html#ciphersuites">
   201      * "{@docRoot}/../specs/security/standard-names.html#jsse-cipher-suite-names">
   202      * JSSE Cipher Suite Names</a> section of the Java Cryptography
   202      * JSSE Cipher Suite Names</a> section of the Java Cryptography
   203      * Architecture Standard Algorithm Name Documentation, and may also
   203      * Architecture Standard Algorithm Name Documentation, and may also
   204      * include other cipher suites that the provider supports.
   204      * include other cipher suites that the provider supports.
   205      *
   205      *
   206      * @return an array of cipher suites enabled
   206      * @return an array of cipher suites enabled
   222      * in this ServerSocket's authentication context will not be used
   222      * in this ServerSocket's authentication context will not be used
   223      * in any case, even if they are enabled.
   223      * in any case, even if they are enabled.
   224      * <P>
   224      * <P>
   225      * Note that the standard list of cipher suite names may be found in the
   225      * Note that the standard list of cipher suite names may be found in the
   226      * <a href=
   226      * <a href=
   227      * "{@docRoot}/../technotes/guides/security/StandardNames.html#ciphersuites">
   227      * "{@docRoot}/../specs/security/standard-names.html#jsse-cipher-suite-names">
   228      * JSSE Cipher Suite Names</a> section of the Java Cryptography
   228      * JSSE Cipher Suite Names</a> section of the Java Cryptography
   229      * Architecture Standard Algorithm Name Documentation.  Providers
   229      * Architecture Standard Algorithm Name Documentation.  Providers
   230      * may support cipher suite names not found in this list or might not
   230      * may support cipher suite names not found in this list or might not
   231      * use the recommended name for a certain cipher suite.
   231      * use the recommended name for a certain cipher suite.
   232      * <P>
   232      * <P>
   252      * do not meet quality of service requirements for those defaults.  Such
   252      * do not meet quality of service requirements for those defaults.  Such
   253      * cipher suites are useful in specialized applications.
   253      * cipher suites are useful in specialized applications.
   254      * <P>
   254      * <P>
   255      * The returned array includes cipher suites from the list of standard
   255      * The returned array includes cipher suites from the list of standard
   256      * cipher suite names in the <a href=
   256      * cipher suite names in the <a href=
   257      * "{@docRoot}/../technotes/guides/security/StandardNames.html#ciphersuites">
   257      * "{@docRoot}/../specs/security/standard-names.html#jsse-cipher-suite-names">
   258      * JSSE Cipher Suite Names</a> section of the Java Cryptography
   258      * JSSE Cipher Suite Names</a> section of the Java Cryptography
   259      * Architecture Standard Algorithm Name Documentation, and may also
   259      * Architecture Standard Algorithm Name Documentation, and may also
   260      * include other cipher suites that the provider supports.
   260      * include other cipher suites that the provider supports.
   261      *
   261      *
   262      * @return an array of cipher suite names
   262      * @return an array of cipher suite names