553N/A * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 0N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 553N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A * or visit www.oracle.com if you need additional information or have any 0N/A * Extends the <code>SSLSession</code> interface to support additional 0N/A * session attributes. 0N/A * Obtains an array of supported signature algorithms that the local side 0N/A * is willing to use. 0N/A * Note: this method is used to indicate to the peer which signature 0N/A * algorithms may be used for digital signatures in TLS 1.2. It is 0N/A * not meaningful for TLS versions prior to 1.2. 0N/A * The signature algorithm name must be a standard Java Security 0N/A * name (such as "SHA1withRSA", "SHA256withECDSA", and so on). 0N/A * See Appendix A in the <a href= 0N/A * Java Cryptography Architecture API Specification & Reference </a> * for information about standard algorithm names. * Note: the local supported signature algorithms should conform to * the algorithm constraints specified by * {@link SSLParameters#getAlgorithmConstraints getAlgorithmConstraints()} * method in <code>SSLParameters</code>. * @return An array of supported signature algorithms, in descending * order of preference. The return value is an empty array if * no signature algorithm is supported. * @see SSLParameters#getAlgorithmConstraints * Obtains an array of supported signature algorithms that the peer is * Note: this method is used to indicate to the local side which signature * algorithms may be used for digital signatures in TLS 1.2. It is * not meaningful for TLS versions prior to 1.2. * The signature algorithm name must be a standard Java Security * name (such as "SHA1withRSA", "SHA256withECDSA", and so on). * See Appendix A in the <a href= * Java Cryptography Architecture API Specification & Reference </a> * for information about standard algorithm names. * @return An array of supported signature algorithms, in descending * order of preference. The return value is an empty array if * the peer has not sent the supported signature algorithms. * @see X509ExtendedKeyManager