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

Method getEmptySSLFactory

app/src/main/java/just/trust/me/Main.java:350–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

348 }
349
350 private javax.net.ssl.SSLSocketFactory getEmptySSLFactory() {
351 try {
352 SSLContext sslContext = SSLContext.getInstance("TLS");
353 sslContext.init(null, new TrustManager[]{getTrustManager()}, null);
354 return sslContext.getSocketFactory();
355 } catch (NoSuchAlgorithmException | KeyManagementException e) {
356 return null;
357 }
358 }
359
360 //Create a SingleClientConnManager that trusts everyone!
361 public ClientConnectionManager getSCCM() {

Callers 1

beforeHookedMethodMethod · 0.95

Calls 1

getTrustManagerMethod · 0.95

Tested by

no test coverage detected