*/
@JSFunction
@SuppressWarnings("unused")
public static void setSslContext(Context cx, Scriptable thisObj, Object[] args, Function func)
{
SecureContextImpl ctx = objArg(args, 0, SecureContextImpl.class, true);
boolean rejectUnauthorized = booleanArg(args, 1, true);
boolean requestCerts = booleanArg(args, 2, false);
ServerContainer self = (ServerContainer)thisObj;
self.tlsParams = self.makeTLSParams(cx, ctx, rejectUnauthorized, requestCerts);