// ---------------------------------------------- Properties
protected static String SSLEngine = "on"; //default on
+ protected static String SSLRandomSeed = "builtin";
protected static boolean sslInitialized = false;
protected static boolean aprInitialized = false;
Class clazz = Class.forName("org.apache.tomcat.jni.SSL");
Method method = clazz.getMethod(methodName, paramTypes);
method.invoke(null, paramValues);
+
+ methodName = "randLoad";
+ paramValues[0] = SSLRandomSeed;
+ method = clazz.getMethod(methodName, paramTypes);
+ method.invoke(null, paramValues);
+
sslInitialized = true;
}
this.SSLEngine = SSLEngine;
}
+ public String getSSLRandomSeed() {
+ return SSLRandomSeed;
+ }
+
+ public void setSSLRandomSeed(String SSLRandomSeed) {
+ this.SSLRandomSeed = SSLRandomSeed;
+ }
}