/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Handshake.java | 37 private final List<Certificate> peerCertificates; 41 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) { 43 this.peerCertificates = peerCertificates; 51 Certificate[] peerCertificates; 53 peerCertificates = session.getPeerCertificates(); 55 peerCertificates = null; 57 List<Certificate> peerCertificatesList = peerCertificates != null 58 ? Util.immutableList(peerCertificates) 70 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) [all...] |
CertificatePinner.java | 143 * is in {@code peerCertificates}. Does nothing if there are no certificates 147 * @throws SSLPeerUnverifiedException if {@code peerCertificates} don't match 150 public void check(String hostname, List<Certificate> peerCertificates) 157 for (int i = 0, size = peerCertificates.size(); i < size; i++) { 158 X509Certificate x509Certificate = (X509Certificate) peerCertificates.get(i); 166 for (int i = 0, size = peerCertificates.size(); i < size; i++) { 167 X509Certificate x509Certificate = (X509Certificate) peerCertificates.get(i); 179 public void check(String hostname, Certificate... peerCertificates) 181 check(hostname, Arrays.asList(peerCertificates));
|
Cache.java | 555 List<Certificate> peerCertificates = readCertificateList(source); 557 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates); 608 writeCertList(sink, handshake.peerCertificates());
|
Connection.java | 240 X509Certificate cert = (X509Certificate) unverifiedHandshake.peerCertificates().get(0); 249 unverifiedHandshake.peerCertificates());
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLSessionImpl.java | 42 final X509Certificate[] peerCertificates; 60 X509Certificate[] peerCertificates, String peerHost, int peerPort, 64 this.peerCertificates = peerCertificates; 77 X509Certificate[] peerCertificates, AbstractSessionContext sessionContext) 79 this(NativeCrypto.d2i_SSL_SESSION(derData), null, peerCertificates, peerHost, peerPort, 218 = new javax.security.cert.X509Certificate[peerCertificates.length]; 220 for (int i = 0; i < peerCertificates.length; i++) { 221 byte[] encoded = peerCertificates[i].getEncoded(); 249 return peerCertificates; [all...] |
SSLParametersImpl.java | 675 X509Certificate[] peerCertificates = createCertChain(NativeCrypto 678 peerCertificates, hostname, port, getSessionContext()); [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
CertificatePinning.java | 47 for (Certificate certificate : response.handshake().peerCertificates()) {
|
CheckHandshake.java | 34 for (Certificate certificate : chain.connection().getHandshake().peerCertificates()) {
|
/external/apache-http/android/src/android/net/http/ |
CertificateChainValidator.java | 119 Certificate[] peerCertificates = 122 if (peerCertificates == null || peerCertificates.length == 0) { 128 if (peerCertificates[0] != null) { 130 new SslCertificate((X509Certificate)peerCertificates[0])); 135 return verifyServerDomainAndCertificates((X509Certificate[]) peerCertificates, domain, "RSA");
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
RecordedRequest.java | 66 Certificate[] peerCertificates = null; 69 peerCertificates = session.getPeerCertificates(); 74 sslPeerCertificates = peerCertificates;
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
JavaApiConverter.java | 118 Certificate[] peerCertificates; 120 peerCertificates = httpsUrlConnection.getServerCertificates(); 122 peerCertificates = null; 128 httpsUrlConnection.getCipherSuite(), nullSafeImmutableList(peerCertificates), 242 List<Certificate> peerCertificates; 244 peerCertificates = javaSecureCacheResponse.getServerCertificateChain(); 246 peerCertificates = Collections.emptyList(); 253 javaSecureCacheResponse.getCipherSuite(), peerCertificates, localCertificates); 312 List<Certificate> certificates = handshake.peerCertificates();
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
DefaultHostnameVerifierTest.java | 145 session.peerCertificates = 416 session.peerCertificates = new Certificate[] { 422 session.peerCertificates = new Certificate[] { 443 session.peerCertificates = 455 public Certificate[] peerCertificates = new Certificate[0]; 505 return peerCertificates; [all...] |
SSLSocketTest.java | 375 Certificate[] peerCertificates = client.getSession().getPeerCertificates(); 376 assertNotNull(peerCertificates); 377 TestKeyStore.assertChainLength(peerCertificates); 378 assertNotNull(peerCertificates[0]); 380 peerCertificates); 381 TestSSLContext.assertCertificateInKeyStore(peerCertificates[0], c.serverKeyStore); 539 Certificate[] peerCertificates = event.getPeerCertificates(); 551 System.out.println("PeerCertificates=" 552 + Arrays.toString(peerCertificates)); 574 assertNotNull(peerCertificates); [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
RecordedResponse.java | 92 assertEquals(1, handshake.peerCertificates().size());
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
DelegatingHttpsURLConnection.java | 73 List<Certificate> result = handshake.peerCertificates();
|
/prebuilts/go/darwin-x86/src/crypto/tls/ |
handshake_client.go | 286 c.peerCertificates = certs 549 c.peerCertificates = hs.session.serverCertificates 607 serverCertificates: c.peerCertificates,
|
handshake_server.go | 469 if len(c.peerCertificates) > 0 { 702 c.peerCertificates = certs
|
conn.go | 40 peerCertificates []*x509.Certificate 994 state.PeerCertificates = c.peerCertificates 1031 return c.peerCertificates[0].VerifyHostname(host)
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
handshake_client.go | 286 c.peerCertificates = certs 549 c.peerCertificates = hs.session.serverCertificates 607 serverCertificates: c.peerCertificates,
|
handshake_server.go | 469 if len(c.peerCertificates) > 0 { 702 c.peerCertificates = certs
|
conn.go | 40 peerCertificates []*x509.Certificate 994 state.PeerCertificates = c.peerCertificates 1031 return c.peerCertificates[0].VerifyHostname(host)
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
JavaApiConverterTest.java | 217 assertEquals(serverCertificates, handshake.peerCertificates()); 574 assertEquals(handshake.peerCertificates(), javaCacheResponse.getServerCertificateChain());
|
/prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/ |
okhttp-2.5.0.jar | |
/external/boringssl/src/ssl/test/runner/ |
handshake_client.go | 436 c.peerCertificates = certs 763 c.peerCertificates = hs.session.serverCertificates 820 serverCertificates: c.peerCertificates,
|
conn.go | 44 peerCertificates []*x509.Certificate [all...] |