/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
TrustManagerFactoryImplTest.java | 41 TrustManagerFactoryImpl tmf = new TrustManagerFactoryImpl(); local 42 tmf.engineInit((KeyStore) null); 47 tmf.engineInit((KeyStore) null); 63 TrustManagerFactoryImpl tmf = new TrustManagerFactoryImpl(); local 66 tmf.engineInit((ManagerFactoryParameters) null); 73 TrustManagerFactoryImpl tmf = new TrustManagerFactoryImpl(); local 75 tmf.engineGetTrustManagers(); 83 tmf.engineInit(ks); 85 TrustManager[] tma = tmf.engineGetTrustManagers();
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
TrustManagerFactoryTest.java | 64 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm); local 65 test_TrustManagerFactory(tmf); 70 private void test_TrustManagerFactory(TrustManagerFactory tmf) 72 assertNotNull(tmf); 73 assertNotNull(tmf.getAlgorithm()); 74 assertNotNull(tmf.getProvider()); 78 tmf.getTrustManagers(); 85 tmf.init((ManagerFactoryParameters) null); 92 tmf.init(new UselessManagerFactoryParameters()); 101 tmf.init(cptmp) 187 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm); local 193 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm, local 201 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm, local 232 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm); local 255 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm); local [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
TrustManagerFactory2Test.java | 42 private static final String defaultAlg = "TMF"; 53 validValues[2] = "Tmf"; 54 validValues[3] = "tMF"; 77 private void checkResult(TrustManagerFactory tmf) throws Exception { 82 tmf.init(kStore); 87 tmf.init(mfp); 91 assertNull("getTrustManagers() should return null object", tmf 101 tmf.init(kStore); 104 tmf.init(mfp); 110 tmf.init(mfp) 135 TrustManagerFactory tmf; local 200 TrustManagerFactory tmf; local 247 TrustManagerFactory tmf; local [all...] |
SSLContext1Test.java | 367 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tAlg); local 368 tmf.init(ks); 369 TrustManager[] tms = tmf.getTrustManagers();
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
TrustManagerFactory2Test.java | 41 private static final String defaultAlg = "TMF"; 52 validValues[2] = "Tmf"; 53 validValues[3] = "tMF"; 74 private void checkResult(TrustManagerFactory tmf) throws Exception { 79 tmf.init(kStore); 84 tmf.init(mfp); 88 assertNull("getTrustManagers() should return null object", tmf 98 tmf.init(kStore); 101 tmf.init(mfp); 107 tmf.init(mfp) 132 TrustManagerFactory tmf; local 197 TrustManagerFactory tmf; local 244 TrustManagerFactory tmf; local [all...] |
TrustManagerFactorySpiTest.java | 42 TrustManagerFactorySpiImpl tmf = new TrustManagerFactorySpiImpl(); local 57 TrustManagerFactory tmf = TrustManagerFactory.getInstance("MyTMF", local 63 tmf.init(ks); 70 tmf.init((KeyStore) null); 84 TrustManagerFactory tmf = TrustManagerFactory.getInstance("MyTMF", local 91 tmf.init(pr); 98 tmf.init((ManagerFactoryParameters) null); 110 TrustManagerFactory tmf = TrustManagerFactory.getInstance("MyTMF", local 112 TrustManager[] tm = tmf.getTrustManagers(); 118 tmf.init(ks) [all...] |
SSLContext1Test.java | 456 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tAlg); local 458 tmf.init(ks); 459 TrustManager[] tms = tmf.getTrustManagers(); 502 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tAlg); local 503 tmf.init(ks); 504 TrustManager[] tms = tmf.getTrustManagers(); 531 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tAlg); local 533 tmf.init(ks); 534 TrustManager[] tms = tmf.getTrustManagers(); 580 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tAlg) local [all...] |
TrustManagerFactory1Test.java | 102 TrustManagerFactory tmF = new myTrustManagerFactory(spi, getDefaultProvider(), 104 assertTrue("Not CertStore object", tmF instanceof TrustManagerFactory); 105 assertEquals("Incorrect algorithm", tmF.getAlgorithm(), 107 assertEquals("Incorrect provider", tmF.getProvider(), getDefaultProvider()); 108 assertNull("Incorrect result", tmF.getTrustManagers()); 110 tmF = new myTrustManagerFactory(null, null, null); 111 assertTrue("Not CertStore object", tmF instanceof TrustManagerFactory); 112 assertNull("Provider must be null", tmF.getProvider()); 113 assertNull("Algorithm must be null", tmF.getAlgorithm()); 115 tmF.getTrustManagers() 454 TrustManagerFactory tmf = TrustManagerFactory.getInstance(getDefaultAlgorithm()); local [all...] |
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/provider/jsse/ |
JSSETestData.java | 56 TrustManagerFactory tmf = TrustManagerFactory.getInstance("X509"); typedefs 57 tmf.init(keyStore); 59 sslParameters = new SSLParameters(kmf.getKeyManagers(), tmf 65 tmf.getTrustManagers(), new SecureRandom());
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
X509TrustManagerExtensionsTest.java | 60 TrustManagerFactory tmf = TrustManagerFactory.getInstance(defaultAlgorithm); local 62 tmf.init(KeyStore.getInstance(defaultKeystoreType)); 63 TrustManager[] tms = tmf.getTrustManagers();
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ServerHandshakeImplTest.java | 50 TrustManagerFactory tmf = TrustManagerFactory.getInstance("X509"); local 51 tmf.init(ks); 53 sslParameters = new SSLParameters(kmf.getKeyManagers(), tmf
|
/libcore/crypto/src/main/java/org/conscrypt/ |
DefaultSSLContextImpl.java | 119 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tmfAlg); local 120 tmf.init(ks); 121 TRUST_MANAGERS = tmf.getTrustManagers();
|
SSLParametersImpl.java | 399 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm); local 400 tmf.init((KeyStore) null); 401 TrustManager[] tms = tmf.getTrustManagers();
|
/external/chromium_org/net/android/java/src/org/chromium/net/ |
X509Util.java | 136 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm); local 137 tmf.init(keyStore); 139 for (TrustManager tm : tmf.getTrustManagers()) {
|
/libcore/crypto/src/test/java/org/conscrypt/ |
TrustManagerImplTest.java | 168 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm); local 169 tmf.init(keyStore); 170 return (X509TrustManager) tmf.getTrustManagers()[0];
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 857 TrustManagerFactory tmf = TrustManagerFactory local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 687 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tmfAlgorthm); local 688 tmf.init(ks); 689 TrustManager[] trustManagers = tmf.getTrustManagers(); [all...] |
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 131 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tmfa); local 132 tmf.init(keyStore); 133 return TestTrustManager.wrap(tmf.getTrustManagers()); [all...] |