Home
last modified time | relevance | path

Searched refs:getServerCertificates (Results 1 – 10 of 10) sorted by relevance

/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java119 private static long[] getServerCertificates() { in getServerCertificates() method in NativeCryptoTest
384 NativeCrypto.SSL_use_certificate(s, getServerCertificates()); in test_SSL_use_certificate()
483 NativeCrypto.SSL_use_certificate(s, getServerCertificates()); in SSL_check_private_key_withNoKeyShouldThrow()
513 NativeCrypto.SSL_use_certificate(s, getServerCertificates()); in test_SSL_check_private_key_certThenKey()
528 NativeCrypto.SSL_use_certificate(s, getServerCertificates()); in test_SSL_check_private_key_keyThenCert()
1123 Hooks sHooks = new ServerHooks(getServerPrivateKey(), getServerCertificates()); in test_SSL_do_handshake_normal()
1129 assertEqualCertificateChains(getServerCertificates(), clientCallback.certificateChainRefs); in test_SSL_do_handshake_normal()
1157 false, new ServerHooks(getServerPrivateKey(), getServerCertificates()) { in test_SSL_do_handshake_reusedSession()
1166 assertEqualCertificateChains(getServerCertificates(), clientCallback1.certificateChainRefs); in test_SSL_do_handshake_reusedSession()
1195 false, new ServerHooks(getServerPrivateKey(), getServerCertificates()) { in test_SSL_do_handshake_reusedSession()
[all …]
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DCacheAdapterTest.java224 assertArrayEquals(realHttpsUrlConnection.getServerCertificates(), in put_httpsGet()
225 cacheHttpsUrlConnection.getServerCertificates()); in put_httpsGet()
DJavaApiConverterTest.java476 httpsUrlConnection.getServerCertificates()); in createJavaUrlConnection_https_extraHttpsMethods()
DResponseCacheTest.java273 List<Certificate> serverCerts = toListOrNull(c1.getServerCertificates()); in secureResponseCaching()
284 assertEquals(serverCerts, toListOrNull(c2.getServerCertificates())); in secureResponseCaching()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java70 @Override public Certificate[] getServerCertificates() throws SSLPeerUnverifiedException { in getServerCertificates() method in DelegatingHttpsURLConnection
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java120 peerCertificates = httpsUrlConnection.getServerCertificates(); in createOkResponseForCachePut()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java262 List<Certificate> serverCerts = toListOrNull(c1.getServerCertificates()); in secureResponseCaching()
277 assertEquals(serverCerts, toListOrNull(c2.getServerCertificates())); in secureResponseCaching()
/external/libvncserver/webclients/java-applet/ssl/
Dtightvnc-1.3dev7_javasrc-vncviewer-ssl.patch756 + dbg("trying https.getServerCertificates()");
757 + trusturlCerts = https.getServerCertificates();
Dultravnc-102-JavaViewer-ssl-etc.patch3328 + dbg("trying https.getServerCertificates()");
3329 + trusturlCerts = https.getServerCertificates();
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java1895 assertNull(connection.getServerCertificates());