Home
last modified time | relevance | path

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

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCertificatePinnerTest.java109 CertificatePinner certificatePinner = new CertificatePinner.Builder() in successfulCheck() local
113 certificatePinner.check("example.com", certA1.certificate); in successfulCheck()
117 CertificatePinner certificatePinner = new CertificatePinner.Builder() in successfulMatchAcceptsAnyMatchingCertificate() local
121 certificatePinner.check("example.com", certA1.certificate, certB1.certificate); in successfulMatchAcceptsAnyMatchingCertificate()
125 CertificatePinner certificatePinner = new CertificatePinner.Builder() in unsuccessfulCheck() local
130 certificatePinner.check("example.com", certB1.certificate); in unsuccessfulCheck()
137 CertificatePinner certificatePinner = new CertificatePinner.Builder() in multipleCertificatesForOneHostname() local
141 certificatePinner.check("example.com", certA1.certificate); in multipleCertificatesForOneHostname()
142 certificatePinner.check("example.com", certB1.certificate); in multipleCertificatesForOneHostname()
146 CertificatePinner certificatePinner = new CertificatePinner.Builder() in multipleHostnamesForOneCertificate() local
[all …]
DOkHttpClientTest.java118 CertificatePinner certificatePinner = CertificatePinner.DEFAULT; // Global isn't configurable. in copyWithDefaultsWhenDefaultIsGlobal() local
131 assertSame(certificatePinner, client.getCertificatePinner()); in copyWithDefaultsWhenDefaultIsGlobal()
/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/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()