HomeSort by relevance Sort by last modified time
    Searched refs:httpsUrlConnection (Results 1 - 2 of 2) sorted by null

  /external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
JavaApiConverterTest.java 50 import javax.net.ssl.HttpsURLConnection;
469 HttpsURLConnection httpsUrlConnection =
470 (HttpsURLConnection) JavaApiConverter.createJavaUrlConnectionForCachePut(okResponse);
472 assertEquals("SecureCipher", httpsUrlConnection.getCipherSuite());
473 assertEquals(SERVER_CERT.getSubjectX500Principal(), httpsUrlConnection.getPeerPrincipal());
474 assertArrayEquals(new Certificate[] { LOCAL_CERT }, httpsUrlConnection.getLocalCertificates());
476 httpsUrlConnection.getServerCertificates());
477 assertEquals(LOCAL_CERT.getSubjectX500Principal(), httpsUrlConnection.getLocalPrincipal());
485 HttpsURLConnection httpsUrlConnection
    [all...]
  /external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
JavaApiConverter.java 47 import javax.net.ssl.HttpsURLConnection;
115 if (httpUrlConnection instanceof HttpsURLConnection) {
116 HttpsURLConnection httpsUrlConnection = (HttpsURLConnection) httpUrlConnection;
120 peerCertificates = httpsUrlConnection.getServerCertificates();
125 Certificate[] localCertificates = httpsUrlConnection.getLocalCertificates();
128 httpsUrlConnection.getCipherSuite(), nullSafeImmutableList(peerCertificates),
795 /** An HttpsURLConnection to offer to the cache. */

Completed in 77 milliseconds