/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestTrustManager.java | 20 import javax.net.ssl.TrustManager; 37 private final X509TrustManager trustManager; 39 public static TrustManager[] wrap(TrustManager[] trustManagers) { 40 TrustManager[] result = trustManagers.clone(); 47 public static TrustManager wrap(TrustManager trustManager) { 48 if (!(trustManager instanceof X509TrustManager)) { 49 return trustManager; [all...] |
TestSSLContext.java | 35 import javax.net.ssl.TrustManager; 171 TrustManager clientTrustManagers, 172 TrustManager serverTrustManagers, 198 * certificate chain from the given KeyStore and a TrustManager 204 final TrustManager[] trustManagers) 248 public static void assertServerCertificateChain(X509TrustManager trustManager, 252 trustManager.checkServerTrusted(chain, chain[0].getPublicKey().getAlgorithm()); 255 public static void assertClientCertificateChain(X509TrustManager trustManager, 259 trustManager.checkClientTrusted(chain, chain[0].getPublicKey().getAlgorithm());
|
/frameworks/base/core/java/android/net/http/ |
CertificateChainValidator.java | 143 TrustManagerImpl trustManager = (TrustManagerImpl) x509TrustManager; 144 trustManager.handleTrustStorageUpdate(); 152 * Calls DomainNamevalidator to verify the domain, and TrustManager to verify the certs. 180 TrustManagerImpl trustManager = (TrustManagerImpl) x509TrustManager; 181 trustManager.checkServerTrusted(chain, authType, domain);
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
TrustManagerFactoryTest.java | 33 import javax.net.ssl.TrustManager; 132 TrustManager[] trustManagers = tmf.getTrustManagers(); 135 for (TrustManager trustManager : trustManagers) { 136 assertNotNull(trustManager); 137 if (trustManager instanceof X509TrustManager) { 138 test_X509TrustManager((X509TrustManager) trustManager); 234 TrustManager[] trustManagers = tmf.getTrustManagers(); 235 for (TrustManager trustManager : trustManagers) [all...] |
SSLSocketTest.java | 55 import javax.net.ssl.TrustManager; [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
SSLParametersImpl.java | 29 import javax.net.ssl.TrustManager; 62 private X509TrustManager trustManager; 95 * See {@link javax.net.ssl.SSLContext#init(KeyManager[],TrustManager[], 98 protected SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, 116 // initialize trustManager 118 trustManager = getDefaultTrustManager(); 120 trustManager = findX509TrustManager(tms); 180 return trustManager; 401 TrustManager[] tms = tmf.getTrustManagers(); 402 X509TrustManager trustManager = findX509TrustManager(tms) [all...] |
OpenSSLSocketImpl.java | 366 X509TrustManager trustManager = sslParameters.getTrustManager(); 367 X509Certificate[] issuers = trustManager.getAcceptedIssuers(); [all...] |
/libcore/crypto/src/test/java/org/conscrypt/ |
TrustManagerImplTest.java | 28 import javax.net.ssl.TrustManager; 81 assertValid(chain3, trustManager(root)); 82 assertValid(chain2, trustManager(root)); 83 assertInvalid(chain1, trustManager(root)); 84 assertValid(chain3, trustManager(intermediate)); 85 assertValid(chain2, trustManager(intermediate)); 86 assertValid(chain1, trustManager(intermediate)); 87 assertValid(chain3, trustManager(server)); 88 assertValid(chain2, trustManager(server)); 89 assertValid(chain1, trustManager(server)) [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLSocketTest.java | 36 import javax.net.ssl.TrustManager; 517 private TestTrustManager trustManager; 531 trustManager = new TestTrustManager(); 537 TrustManager[] trustManagers = new TrustManager[] { trustManager }; 580 return trustManager.getChain();
|
HandshakeCompletedEventTest.java | 39 import javax.net.ssl.TrustManager; 199 // TrustManager 389 private TestTrustManager trustManager; 404 trustManager = new TestTrustManager(); 407 TrustManager[] trustManagers = new TrustManager[] { trustManager }; 460 return trustManager.getChain(); 472 private TestTrustManager trustManager; 484 trustManager = new TestTrustManager() [all...] |
SSLSessionTest.java | 37 import javax.net.ssl.TrustManager; 472 private TestTrustManager trustManager; 489 trustManager = new TestTrustManager(); 493 TrustManager[] trustManagers = new TrustManager[] { trustManager }; 540 return trustManager.getChain(); 555 private TestTrustManager trustManager; 569 trustManager = new TestTrustManager(); 576 TrustManager[] trustManagers = new TrustManager[] { trustManager } [all...] |
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/ |
TestWebServer.java | 307 TestTrustManager trustManager = new TestTrustManager(); 308 context.init(null, new TestTrustManager[] {trustManager}, null);
|
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 63 import javax.net.ssl.TrustManager; 103 public final TrustManager[] trustManagers; 105 public final TestTrustManager trustManager; 114 this.trustManager = (TestTrustManager)trustManagers[0]; 128 public static TrustManager[] createTrustManagers(final KeyStore keyStore) { [all...] |
/cts/libs/testserver/src/android/webkit/cts/ |
CtsTestServer.java | 231 CtsTrustManager trustManager = new CtsTrustManager(); 232 context.init(null, new CtsTrustManager[] {trustManager}, null); [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
SSLSocketTest.java | 52 import javax.net.ssl.TrustManager; 582 * Implements basically a dummy TrustManager. It stores the certificate 628 private TestTrustManager trustManager; 643 trustManager = new TestTrustManager(); 650 TrustManager[] trustManagers = new TrustManager[] { 651 trustManager }; 696 return trustManager.getChain(); 707 private TestTrustManager trustManager; 719 trustManager = new TestTrustManager(); [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
URLConnectionTest.java | 69 import javax.net.ssl.TrustManager; [all...] |
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
URLConnectionTest.java | 72 import javax.net.ssl.TrustManager; [all...] |
/external/smack/asmack-master/lib/ |
httpclient-4.1.3.jar | |
/prebuilts/devtools/tools/lib/ |
httpclient-4.1.1.jar | |
/prebuilts/tools/common/http-client/ |
httpclient-4.1.1.jar | |
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpclient/4.1.1/ |
httpclient-4.1.1.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |