Home
last modified time | relevance | path

Searched refs:localCertificates (Results 1 – 9 of 9) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHandshake.java38 private final List<Certificate> localCertificates; field in Handshake
41 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) { in Handshake() argument
44 this.localCertificates = localCertificates; in Handshake()
61 Certificate[] localCertificates = session.getLocalCertificates(); in get() local
62 List<Certificate> localCertificatesList = localCertificates != null in get()
63 ? Util.immutableList(localCertificates) in get()
70 String cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates) { in get() argument
73 Util.immutableList(localCertificates)); in get()
94 public List<Certificate> localCertificates() { in localCertificates() method in Handshake
95 return localCertificates; in localCertificates()
[all …]
DCache.java556 List<Certificate> localCertificates = readCertificateList(source); in Entry() local
557 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates); in Entry()
609 writeCertList(sink, handshake.localCertificates()); in writeTo()
/external/conscrypt/common/src/main/java/org/conscrypt/
DActiveSession.java49 private X509Certificate[] localCertificates; field in ActiveSession
221 return localCertificates == null ? null : localCertificates.clone(); in getLocalCertificates()
257 if (localCertificates != null && localCertificates.length > 0) { in getLocalPrincipal()
258 return localCertificates[0].getSubjectX500Principal(); in getLocalPrincipal()
315 this.localCertificates = ssl.getLocalCertificates(); in onSessionEstablished()
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java125 Certificate[] localCertificates = httpsUrlConnection.getLocalCertificates(); in createOkResponseForCachePut() local
129 nullSafeImmutableList(localCertificates)); in createOkResponseForCachePut()
248 List<Certificate> localCertificates = javaSecureCacheResponse.getLocalCertificateChain(); in createOkResponseForCacheGet() local
249 if (localCertificates == null) { in createOkResponseForCacheGet()
250 localCertificates = Collections.emptyList(); in createOkResponseForCacheGet()
253 javaSecureCacheResponse.getCipherSuite(), peerCertificates, localCertificates); in createOkResponseForCacheGet()
304 List<Certificate> certificates = handshake.localCertificates(); in createJavaCacheResponse()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DJavaApiConverterTest.java161 final List<Certificate> localCertificates = Arrays.<Certificate>asList(LOCAL_CERT); in createOkResponseForCacheGet_secure() local
183 return localCertificates; in createOkResponseForCacheGet_secure()
218 assertEquals(localCertificates, handshake.localCertificates()); in createOkResponseForCacheGet_secure()
573 assertEquals(handshake.localCertificates(), javaCacheResponse.getLocalCertificateChain()); in createJavaCacheResponse_httpsPost()
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java432 Certificate[] localCertificates = server.getSession().getLocalCertificates(); in test_SSLSocket_startHandshake()
433 assertNotNull(localCertificates); in test_SSLSocket_startHandshake()
434 TestKeyStore.assertChainLength(localCertificates); in test_SSLSocket_startHandshake()
435 assertNotNull(localCertificates[0]); in test_SSLSocket_startHandshake()
436 TestSSLContext.assertServerCertificateChain(c.serverTrustManager, localCertificates); in test_SSLSocket_startHandshake()
437 TestSSLContext.assertCertificateInKeyStore(localCertificates[0], c.serverKeyStore); in test_SSLSocket_startHandshake()
595 Certificate[] localCertificates = event.getLocalCertificates(); in test_SSLSocket_HandshakeCompletedListener()
610 assertNull(localCertificates); in test_SSLSocket_HandshakeCompletedListener()
1503 Certificate[] localCertificates = server.getSession().getLocalCertificates(); in test_SSLSocket_endpointIdentification_Success()
1504 assertNotNull(localCertificates); in test_SSLSocket_endpointIdentification_Success()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordedResponse.java94 assertEquals(0, handshake.localCertificates().size()); in assertHandshake()
DCacheTest.java263 List<Certificate> localCerts = response1.handshake().localCertificates(); in secureResponseCaching()
276 assertEquals(localCerts, response2.handshake().localCertificates()); in secureResponseCaching()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java66 List<Certificate> result = handshake.localCertificates(); in getLocalCertificates()