You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2015/05/22 20:34:21 UTC

svn commit: r1681181 - /tomcat/trunk/java/org/apache/tomcat/jni/SSL.java

Author: rjung
Date: Fri May 22 18:34:21 2015
New Revision: 1681181

URL: http://svn.apache.org/r1681181
Log:
Remove no longer supported API functions.

Modified:
    tomcat/trunk/java/org/apache/tomcat/jni/SSL.java

Modified: tomcat/trunk/java/org/apache/tomcat/jni/SSL.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/jni/SSL.java?rev=1681181&r1=1681180&r2=1681181&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/jni/SSL.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/jni/SSL.java Fri May 22 18:34:21 2015
@@ -330,37 +330,6 @@ public final class SSL {
      public static native void setPassword(String password);
 
     /**
-     * Generate temporary RSA key.
-     * <br>
-     * Index can be one of:
-     * <PRE>
-     * SSL_TMP_KEY_RSA_512
-     * SSL_TMP_KEY_RSA_1024
-     * SSL_TMP_KEY_RSA_2048
-     * SSL_TMP_KEY_RSA_4096
-     * </PRE>
-     * By default 512 and 1024 keys are generated on startup.
-     * You can use a low priority thread to generate them on the fly.
-     * @param idx temporary key index.
-     */
-    public static native boolean generateRSATempKey(int idx);
-
-    /**
-     * Load temporary DSA key from file
-     * <br>
-     * Index can be one of:
-     * <PRE>
-     * SSL_TMP_KEY_DH_512
-     * SSL_TMP_KEY_DH_1024
-     * SSL_TMP_KEY_DH_2048
-     * SSL_TMP_KEY_DH_4096
-     * </PRE>
-     * @param idx temporary key index.
-     * @param file File containing DH params.
-     */
-    public static native boolean loadDSATempKey(int idx, String file);
-
-    /**
      * Return last SSL error string
      */
     public static native String getLastError();



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org