Author: markt
Date: Mon Jan 11 14:35:54 2016
New Revision: 1724041
URL: http://svn.apache.org/viewvc?rev=1724041&view=rev
Log:
Improve Javadoc
Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/SSLUtil.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SSLUtil.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SSLUtil.java?rev=1724041&r1=1724040&r2=1724041&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/SSLUtil.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/SSLUtil.java Mon Jan 11
14:35:54 2016
@@ -22,6 +22,11 @@ import javax.net.ssl.KeyManager;
import javax.net.ssl.SSLSessionContext;
import javax.net.ssl.TrustManager;
+/**
+ * Provides a common interface for {@link SSLImplementation}s to create the
+ * necessary JSSE implementation objects for TLS connections created via the
+ * JSSE API.
+ */
public interface SSLUtil {
public SSLContext createSSLContext(List<String> negotiableProtocols)
throws Exception;
@@ -60,6 +65,11 @@ public interface SSLUtil {
*/
public String[] getEnableableProtocols(SSLContext context);
+ /**
+ * Optional interface that can be implemented by
+ * {@link javax.net.ssl.SSLEngine}s to indicate that they support ALPN and
+ * can provided the protocol agreed with the client.
+ */
public interface ProtocolInfo {
/**
* ALPN information.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]