Home
last modified time | relevance | path

Searched refs:certificatePinner (Results 1 – 8 of 8) sorted by relevance

/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DAddress.java51 final CertificatePinner certificatePinner; field in Address
55 CertificatePinner certificatePinner, Authenticator authenticator, Proxy proxy, in Address() argument
84 this.certificatePinner = certificatePinner; in Address()
171 return certificatePinner; in getCertificatePinner()
186 && equal(this.certificatePinner, that.certificatePinner); in equals()
202 result = 31 * result + (certificatePinner != null ? certificatePinner.hashCode() : 0); in hashCode()
DOkHttpClient.java140 private CertificatePinner certificatePinner; field in OkHttpClient
174 this.certificatePinner = okHttpClient.certificatePinner; in OkHttpClient()
385 public OkHttpClient setCertificatePinner(CertificatePinner certificatePinner) { in setCertificatePinner() argument
386 this.certificatePinner = certificatePinner; in setCertificatePinner()
391 return certificatePinner; in getCertificatePinner()
610 if (result.certificatePinner == null) { in copyWithDefaults()
611 result.certificatePinner = CertificatePinner.DEFAULT; in copyWithDefaults()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DAddress.java49 final CertificatePinner certificatePinner; field in Address
53 CertificatePinner certificatePinner, Authenticator authenticator, Proxy proxy, in Address() argument
82 this.certificatePinner = certificatePinner; in Address()
169 return certificatePinner; in getCertificatePinner()
184 && equal(this.certificatePinner, that.certificatePinner); in equals()
200 result = 31 * result + (certificatePinner != null ? certificatePinner.hashCode() : 0); in hashCode()
DOkHttpClient.java137 private CertificatePinner certificatePinner; field in OkHttpClient
168 this.certificatePinner = okHttpClient.certificatePinner; in OkHttpClient()
374 public OkHttpClient setCertificatePinner(CertificatePinner certificatePinner) { in setCertificatePinner() argument
375 this.certificatePinner = certificatePinner; in setCertificatePinner()
380 return certificatePinner; in getCertificatePinner()
596 if (result.certificatePinner == null) { in copyWithDefaults()
597 result.certificatePinner = CertificatePinner.DEFAULT; in copyWithDefaults()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DCertificatePinnerChainValidationTest.java60 CertificatePinner certificatePinner = new CertificatePinner.Builder() in pinRootNotPresentInChain() local
69 .setCertificatePinner(certificatePinner); in pinRootNotPresentInChain()
115 CertificatePinner certificatePinner = new CertificatePinner.Builder() in pinIntermediatePresentInChain() local
124 .setCertificatePinner(certificatePinner); in pinIntermediatePresentInChain()
174 CertificatePinner certificatePinner = new CertificatePinner.Builder() in unrelatedPinnedLeafCertificateInChain() local
183 .setCertificatePinner(certificatePinner); in unrelatedPinnedLeafCertificateInChain()
246 CertificatePinner certificatePinner = new CertificatePinner.Builder() in unrelatedPinnedIntermediateCertificateInChain() local
256 .setCertificatePinner(certificatePinner); in unrelatedPinnedIntermediateCertificateInChain()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DOkHttpClientTest.java118 CertificatePinner certificatePinner = CertificatePinner.DEFAULT; // Global isn't configurable. in copyWithDefaultsWhenDefaultIsGlobal() local
131 assertSame(certificatePinner, client.getCertificatePinner()); in copyWithDefaultsWhenDefaultIsGlobal()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttpEngine.java988 CertificatePinner certificatePinner = null; in createAddress() local
992 certificatePinner = client.getCertificatePinner(); in createAddress()
996 client.getSocketFactory(), sslSocketFactory, hostnameVerifier, certificatePinner, in createAddress()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpEngine.java975 CertificatePinner certificatePinner = null; in createAddress() local
979 certificatePinner = client.getCertificatePinner(); in createAddress()
983 client.getSocketFactory(), sslSocketFactory, hostnameVerifier, certificatePinner, in createAddress()