Author: rjung Date: Sat Aug 19 20:49:09 2017 New Revision: 1805526 URL: http://svn.apache.org/viewvc?rev=1805526&view=rev Log: Add access to new native API SSLContext.getCiphers().
This needs tcnative 1.2.13 though. Modified: tomcat/trunk/java/org/apache/tomcat/jni/SSLContext.java Modified: tomcat/trunk/java/org/apache/tomcat/jni/SSLContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/jni/SSLContext.java?rev=1805526&r1=1805525&r2=1805526&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/jni/SSLContext.java (original) +++ tomcat/trunk/java/org/apache/tomcat/jni/SSLContext.java Sat Aug 19 20:49:09 2017 @@ -111,6 +111,13 @@ public final class SSLContext { public static native void clearOptions(long ctx, int options); /** + * Returns all cipher suites that are enabled for negotiation in an SSL handshake. + * @param ctx Server or Client context to use. + * @return ciphers + */ + public static native String[] getCiphers(long ctx); + + /** * Sets the "quiet shutdown" flag for <b>ctx</b> to be * <b>mode</b>. SSL objects created from <b>ctx</b> inherit the * <b>mode</b> valid at the time and may be 0 or 1. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org