/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Handshake.java | 37 private final List<Certificate> peerCertificates; field in Handshake 41 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) { in Handshake() argument 43 this.peerCertificates = peerCertificates; in Handshake() 51 Certificate[] peerCertificates; in get() local 53 peerCertificates = session.getPeerCertificates(); in get() 55 peerCertificates = null; in get() 57 List<Certificate> peerCertificatesList = peerCertificates != null in get() 58 ? Util.immutableList(peerCertificates) in get() 70 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) { in get() argument 72 return new Handshake(cipherSuite, Util.immutableList(peerCertificates), in get() [all …]
|
D | CertificatePinner.java | 129 public void check(String hostname, List<Certificate> peerCertificates) in check() argument 134 for (int i = 0, size = peerCertificates.size(); i < size; i++) { in check() 135 X509Certificate x509Certificate = (X509Certificate) peerCertificates.get(i); in check() 143 for (int i = 0, size = peerCertificates.size(); i < size; i++) { in check() 144 X509Certificate x509Certificate = (X509Certificate) peerCertificates.get(i); in check() 157 public void check(String hostname, Certificate... peerCertificates) in check() argument 159 check(hostname, Arrays.asList(peerCertificates)); in check()
|
D | Cache.java | 534 List<Certificate> peerCertificates = readCertificateList(source); in Entry() local 536 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates); in Entry() 587 writeCertList(sink, handshake.peerCertificates()); in writeTo()
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLSessionImpl.java | 42 final X509Certificate[] peerCertificates; field in OpenSSLSessionImpl 60 X509Certificate[] peerCertificates, String peerHost, int peerPort, in OpenSSLSessionImpl() argument 64 this.peerCertificates = peerCertificates; in OpenSSLSessionImpl() 77 X509Certificate[] peerCertificates, in OpenSSLSessionImpl() argument 82 peerCertificates, in OpenSSLSessionImpl() 227 = new javax.security.cert.X509Certificate[peerCertificates.length]; in createPeerCertificateChain() 229 for (int i = 0; i < peerCertificates.length; i++) { in createPeerCertificateChain() 230 byte[] encoded = peerCertificates[i].getEncoded(); in createPeerCertificateChain() 258 return peerCertificates; in getPeerCertificates() 265 if (peerCertificates == null || peerCertificates.length == 0) { in checkPeerCertificatesPresent() [all …]
|
D | SSLParametersImpl.java | 603 X509Certificate[] peerCertificates = createCertChain(NativeCrypto in setupSession() local 606 peerCertificates, hostname, port, getSessionContext()); in setupSession()
|
/external/apache-http/android/src/android/net/http/ |
D | CertificateChainValidator.java | 118 Certificate[] peerCertificates = in doHandshakeAndValidateServerCertificates() local 121 if (peerCertificates == null || peerCertificates.length == 0) { in doHandshakeAndValidateServerCertificates() 127 if (peerCertificates[0] != null) { in doHandshakeAndValidateServerCertificates() 129 new SslCertificate((X509Certificate)peerCertificates[0])); in doHandshakeAndValidateServerCertificates() 134 … return verifyServerDomainAndCertificates((X509Certificate[]) peerCertificates, domain, "RSA"); in doHandshakeAndValidateServerCertificates()
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverter.java | 118 Certificate[] peerCertificates; in createOkResponseForCachePut() local 120 peerCertificates = httpsUrlConnection.getServerCertificates(); in createOkResponseForCachePut() 122 peerCertificates = null; in createOkResponseForCachePut() 128 httpsUrlConnection.getCipherSuite(), nullSafeImmutableList(peerCertificates), in createOkResponseForCachePut() 242 List<Certificate> peerCertificates; in createOkResponseForCacheGet() local 244 peerCertificates = javaSecureCacheResponse.getServerCertificateChain(); in createOkResponseForCacheGet() 246 peerCertificates = Collections.emptyList(); in createOkResponseForCacheGet() 253 javaSecureCacheResponse.getCipherSuite(), peerCertificates, localCertificates); in createOkResponseForCacheGet() 312 List<Certificate> certificates = handshake.peerCertificates(); in createJavaCacheResponse()
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | RecordedRequest.java | 66 Certificate[] peerCertificates = null; in RecordedRequest() local 69 peerCertificates = session.getPeerCertificates(); in RecordedRequest() 74 sslPeerCertificates = peerCertificates; in RecordedRequest()
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
D | CertificatePinning.java | 47 for (Certificate certificate : response.handshake().peerCertificates()) { in run()
|
D | CheckHandshake.java | 34 for (Certificate certificate : chain.connection().getHandshake().peerCertificates()) {
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | RecordedResponse.java | 92 assertEquals(1, handshake.peerCertificates().size()); in assertHandshake()
|
D | CacheTest.java | 267 List<Certificate> serverCerts = response1.handshake().peerCertificates(); in secureResponseCaching() 280 assertEquals(serverCerts, response2.handshake().peerCertificates()); in secureResponseCaching()
|
D | CallTest.java | 950 for (Certificate certificate : response1.handshake().peerCertificates()) { in matchingPinnedCertificate()
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | DelegatingHttpsURLConnection.java | 73 List<Certificate> result = handshake.peerCertificates(); in getServerCertificates()
|
/external/boringssl/src/ssl/test/runner/ |
D | handshake_client.go | 419 c.peerCertificates = certs 735 c.peerCertificates = hs.session.serverCertificates 785 serverCertificates: c.peerCertificates,
|
D | conn.go | 42 peerCertificates []*x509.Certificate member 1301 state.PeerCertificates = c.peerCertificates 1333 return c.peerCertificates[0].VerifyHostname(host)
|
D | handshake_server.go | 653 if len(c.peerCertificates) > 0 { 963 c.peerCertificates = certs
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | SocketConnector.java | 128 address.getCertificatePinner().check(address.getUriHost(), handshake.peerCertificates()); in connectTls()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverterTest.java | 217 assertEquals(serverCertificates, handshake.peerCertificates()); in createOkResponseForCacheGet_secure() 574 assertEquals(handshake.peerCertificates(), javaCacheResponse.getServerCertificateChain()); in createJavaCacheResponse_httpsPost()
|