MCPcopy Create free account
hub / github.com/0linlin0/CyberBox / verify

Method verify

Skay_Exp/src/tools/HttpUtils.java:293–295  ·  view source on GitHub ↗
(String hostname, SSLSession session)

Source from the content-addressed store, hash-verified

291 HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {
292
293 public boolean verify(String hostname, SSLSession session) {
294 return true;
295 }
296 });
297 SSLContext context = SSLContext.getInstance("TLS");
298 context.init(null, new X509TrustManager[] { new X509TrustManager() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected