(MethodHookParam param)
| 234 | findAndHookMethod("javax.net.ssl.SSLContext", lpparam.classLoader, "init", KeyManager[].class, TrustManager[].class, SecureRandom.class, new XC_MethodHook() { |
| 235 | |
| 236 | @Override |
| 237 | protected void beforeHookedMethod(MethodHookParam param) throws Throwable { |
| 238 | |
| 239 | param.args[0] = null; |
| 240 | param.args[1] = new TrustManager[]{getTrustManager()}; |
| 241 | param.args[2] = null; |
| 242 | |
| 243 | } |
| 244 | }); |
| 245 | |
| 246 | // Multi-dex support: https://github.com/rovo89/XposedBridge/issues/30#issuecomment-68486449 |
nothing calls this directly
no test coverage detected