/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | Handshake.java | 39 private final List<Certificate> peerCertificates; field in Handshake 43 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) { in Handshake() argument 45 this.peerCertificates = peerCertificates; in Handshake() 53 Certificate[] peerCertificates; in get() local 55 peerCertificates = session.getPeerCertificates(); in get() 57 peerCertificates = null; in get() 59 List<Certificate> peerCertificatesList = peerCertificates != null in get() 60 ? Util.immutableList(peerCertificates) in get() 72 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) { in get() argument 74 return new Handshake(cipherSuite, Util.immutableList(peerCertificates), in get() [all …]
|
D | CertificatePinner.java | 152 public void check(String hostname, List<Certificate> peerCertificates) in check() argument 159 for (int i = 0, size = peerCertificates.size(); i < size; i++) { in check() 160 X509Certificate x509Certificate = (X509Certificate) peerCertificates.get(i); in check() 168 for (int i = 0, size = peerCertificates.size(); i < size; i++) { in check() 169 X509Certificate x509Certificate = (X509Certificate) peerCertificates.get(i); in check() 181 public void check(String hostname, Certificate... peerCertificates) in check() argument 183 check(hostname, Arrays.asList(peerCertificates)); in check()
|
D | Cache.java | 558 List<Certificate> peerCertificates = readCertificateList(source); in Entry() local 560 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates); in Entry() 611 writeCertList(sink, handshake.peerCertificates()); in writeTo()
|
/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 | 150 public void check(String hostname, List<Certificate> peerCertificates) in check() argument 157 for (int i = 0, size = peerCertificates.size(); i < size; i++) { in check() 158 X509Certificate x509Certificate = (X509Certificate) peerCertificates.get(i); in check() 166 for (int i = 0, size = peerCertificates.size(); i < size; i++) { in check() 167 X509Certificate x509Certificate = (X509Certificate) peerCertificates.get(i); in check() 179 public void check(String hostname, Certificate... peerCertificates) in check() argument 181 check(hostname, Arrays.asList(peerCertificates)); in check()
|
D | Cache.java | 556 List<Certificate> peerCertificates = readCertificateList(source); in Entry() local 558 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates); in Entry() 609 writeCertList(sink, handshake.peerCertificates()); in writeTo()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ActiveSession.java | 45 private X509Certificate[] peerCertificates; field in ActiveSession 180 return peerCertificates.clone(); in getPeerCertificates() 208 peerCertificateChain = result = SSLUtils.toCertificateChain(peerCertificates); in getPeerCertificateChain() 216 return peerCertificates[0].getSubjectX500Principal(); in getPeerPrincipal() 275 String peerHost, int peerPort, X509Certificate[] peerCertificates) { in onPeerCertificatesReceived() argument 276 configurePeer(peerHost, peerPort, peerCertificates); in onPeerCertificatesReceived() 279 private void configurePeer(String peerHost, int peerPort, X509Certificate[] peerCertificates) { in configurePeer() argument 282 this.peerCertificates = peerCertificates; in configurePeer() 297 if (this.peerCertificates == null) { in onPeerCertificateAvailable() 312 if (peerCertificates == null || peerCertificates.length == 0) { in checkPeerCertificatesPresent()
|
D | NativeSslSession.java | 226 private final java.security.cert.X509Certificate[] peerCertificates; field in NativeSslSession.Impl 231 int port, java.security.cert.X509Certificate[] peerCertificates, in Impl() argument 236 this.peerCertificates = peerCertificates; in Impl() 319 daos.writeInt(peerCertificates.length); in toBytes() 321 for (Certificate cert : peerCertificates) { in toBytes()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | ActiveSession.java | 46 private X509Certificate[] peerCertificates; field in ActiveSession 181 return peerCertificates.clone(); in getPeerCertificates() 209 peerCertificateChain = result = SSLUtils.toCertificateChain(peerCertificates); in getPeerCertificateChain() 217 return peerCertificates[0].getSubjectX500Principal(); in getPeerPrincipal() 276 String peerHost, int peerPort, X509Certificate[] peerCertificates) { in onPeerCertificatesReceived() argument 277 configurePeer(peerHost, peerPort, peerCertificates); in onPeerCertificatesReceived() 280 private void configurePeer(String peerHost, int peerPort, X509Certificate[] peerCertificates) { in configurePeer() argument 283 this.peerCertificates = peerCertificates; in configurePeer() 298 if (this.peerCertificates == null) { in onPeerCertificateAvailable() 313 if (peerCertificates == null || peerCertificates.length == 0) { in checkPeerCertificatesPresent()
|
D | NativeSslSession.java | 227 private final java.security.cert.X509Certificate[] peerCertificates; field in NativeSslSession.Impl 232 int port, java.security.cert.X509Certificate[] peerCertificates, in Impl() argument 237 this.peerCertificates = peerCertificates; in Impl() 320 daos.writeInt(peerCertificates.length); in toBytes() 322 for (Certificate cert : peerCertificates) { in toBytes()
|
/external/apache-http/android/src/android/net/http/ |
D | CertificateChainValidator.java | 119 Certificate[] peerCertificates = in doHandshakeAndValidateServerCertificates() local 122 if (peerCertificates == null || peerCertificates.length == 0) { in doHandshakeAndValidateServerCertificates() 128 if (peerCertificates[0] != null) { in doHandshakeAndValidateServerCertificates() 130 new SslCertificate((X509Certificate)peerCertificates[0])); in doHandshakeAndValidateServerCertificates() 135 … return verifyServerDomainAndCertificates((X509Certificate[]) peerCertificates, domain, "RSA"); in doHandshakeAndValidateServerCertificates()
|
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/ |
D | JavaApiConverter.java | 120 Certificate[] peerCertificates; in createOkResponseForCachePut() local 122 peerCertificates = httpsUrlConnection.getServerCertificates(); in createOkResponseForCachePut() 124 peerCertificates = null; in createOkResponseForCachePut() 130 httpsUrlConnection.getCipherSuite(), nullSafeImmutableList(peerCertificates), in createOkResponseForCachePut() 244 List<Certificate> peerCertificates; in createOkResponseForCacheGet() local 246 peerCertificates = javaSecureCacheResponse.getServerCertificateChain(); in createOkResponseForCacheGet() 248 peerCertificates = Collections.emptyList(); in createOkResponseForCacheGet() 255 javaSecureCacheResponse.getCipherSuite(), peerCertificates, localCertificates); in createOkResponseForCacheGet() 314 List<Certificate> certificates = handshake.peerCertificates(); in createJavaCacheResponse()
|
/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/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLSocketVersionCompatibilityTest.java | 223 Certificate[] peerCertificates = client.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake() local 224 assertNotNull(peerCertificates); in test_SSLSocket_startHandshake() 225 TestKeyStore.assertChainLength(peerCertificates); in test_SSLSocket_startHandshake() 226 assertNotNull(peerCertificates[0]); in test_SSLSocket_startHandshake() 227 TestSSLContext.assertServerCertificateChain(c.clientTrustManager, peerCertificates); in test_SSLSocket_startHandshake() 228 TestSSLContext.assertCertificateInKeyStore(peerCertificates[0], c.serverKeyStore); in test_SSLSocket_startHandshake() 399 Certificate[] peerCertificates = event.getPeerCertificates(); in test_SSLSocket_HandshakeCompletedListener() 423 assertNotNull(peerCertificates); in test_SSLSocket_HandshakeCompletedListener() 424 TestKeyStore.assertChainLength(peerCertificates); in test_SSLSocket_HandshakeCompletedListener() 425 assertNotNull(peerCertificates[0]); in test_SSLSocket_HandshakeCompletedListener() [all …]
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLSocketVersionCompatibilityTest.java | 221 Certificate[] peerCertificates = client.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake() local 222 assertNotNull(peerCertificates); in test_SSLSocket_startHandshake() 223 TestKeyStore.assertChainLength(peerCertificates); in test_SSLSocket_startHandshake() 224 assertNotNull(peerCertificates[0]); in test_SSLSocket_startHandshake() 225 TestSSLContext.assertServerCertificateChain(c.clientTrustManager, peerCertificates); in test_SSLSocket_startHandshake() 226 TestSSLContext.assertCertificateInKeyStore(peerCertificates[0], c.serverKeyStore); in test_SSLSocket_startHandshake() 397 Certificate[] peerCertificates = event.getPeerCertificates(); in test_SSLSocket_HandshakeCompletedListener() 421 assertNotNull(peerCertificates); in test_SSLSocket_HandshakeCompletedListener() 422 TestKeyStore.assertChainLength(peerCertificates); in test_SSLSocket_HandshakeCompletedListener() 423 assertNotNull(peerCertificates[0]); in test_SSLSocket_HandshakeCompletedListener() [all …]
|
/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/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/ |
D | RealConnection.java | 201 X509Certificate cert = (X509Certificate) unverifiedHandshake.peerCertificates().get(0); in connectTls() 212 .clean(unverifiedHandshake.peerCertificates()); in connectTls()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/ |
D | RealConnection.java | 197 X509Certificate cert = (X509Certificate) unverifiedHandshake.peerCertificates().get(0); in connectTls() 208 .clean(unverifiedHandshake.peerCertificates()); in connectTls()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | RecordedResponse.java | 92 assertEquals(1, handshake.peerCertificates().size()); in assertHandshake()
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
D | DelegatingHttpsURLConnection.java | 74 List<Certificate> result = handshake.peerCertificates(); in getServerCertificates()
|
/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 | conn.go | 50 peerCertificates []*x509.Certificate member 1587 serverCertificates: c.peerCertificates, 1844 state.PeerCertificates = c.peerCertificates 1882 return c.peerCertificates[0].VerifyHostname(host) 1961 for _, cert := range c.peerCertificates {
|
D | handshake_client.go | 883 c.peerCertificates = hs.session.serverCertificates 1208 leaf = c.peerCertificates[0] 1465 c.peerCertificates = certs 1703 c.peerCertificates = hs.session.serverCertificates 1761 serverCertificates: c.peerCertificates,
|