MCPcopy
hub / github.com/Fuzion24/JustTrustMe / beforeHookedMethod

Method beforeHookedMethod

app/src/main/java/just/trust/me/Main.java:236–243  ·  view source on GitHub ↗
(MethodHookParam param)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

getTrustManagerMethod · 0.95
getEmptySSLFactoryMethod · 0.95

Tested by

no test coverage detected