Searched refs:tmf (Results 1 - 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DTrustManagerFactoryTest.java64 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);
65 test_TrustManagerFactory(tmf);
70 private void test_TrustManagerFactory(TrustManagerFactory tmf) argument
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
130 test_TrustManagerFactory_getTrustManagers(TrustManagerFactory tmf) argument
[all...]
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DTrustManagerFactory2Test.java74 private void checkResult(TrustManagerFactory tmf) throws Exception { argument
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;
134 tmf = TrustManagerFactory.getInstance(validValues[i]);
136 tmf instanceo
[all...]
H A DTrustManagerFactorySpiTest.java42 TrustManagerFactorySpiImpl tmf = new TrustManagerFactorySpiImpl();
57 TrustManagerFactory tmf = TrustManagerFactory.getInstance("MyTMF",
63 tmf.init(ks);
70 tmf.init((KeyStore) null);
84 TrustManagerFactory tmf = TrustManagerFactory.getInstance("MyTMF",
91 tmf.init(pr);
98 tmf.init((ManagerFactoryParameters) null);
110 TrustManagerFactory tmf = TrustManagerFactory.getInstance("MyTMF",
112 TrustManager[] tm = tmf.getTrustManagers();
118 tmf
[all...]
H A DSSLContext1Test.java456 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tAlg);
458 tmf.init(ks);
459 TrustManager[] tms = tmf.getTrustManagers();
502 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tAlg);
503 tmf.init(ks);
504 TrustManager[] tms = tmf.getTrustManagers();
531 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tAlg);
533 tmf.init(ks);
534 TrustManager[] tms = tmf.getTrustManagers();
580 TrustManagerFactory tmf
[all...]
H A DTrustManagerFactory1Test.java454 TrustManagerFactory tmf = TrustManagerFactory.getInstance(getDefaultAlgorithm());
456 tmf.init(cptmp);
/libcore/crypto/src/main/java/org/conscrypt/
H A DDefaultSSLContextImpl.java119 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tmfAlg);
120 tmf.init(ks);
121 TRUST_MANAGERS = tmf.getTrustManagers();
H A DSSLParametersImpl.java399 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);
400 tmf.init((KeyStore) null);
401 TrustManager[] tms = tmf.getTrustManagers();
/libcore/crypto/src/test/java/org/conscrypt/
H A DTrustManagerImplTest.java168 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);
169 tmf.init(keyStore);
170 return (X509TrustManager) tmf.getTrustManagers()[0];
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
H A DHttpsURLConnectionTest.java687 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tmfAlgorthm);
688 tmf.init(ks);
689 TrustManager[] trustManagers = tmf.getTrustManagers();
/libcore/support/src/test/java/libcore/java/security/
H A DTestKeyStore.java131 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tmfa);
132 tmf.init(keyStore);
133 return TestTrustManager.wrap(tmf.getTrustManagers());

Completed in 245 milliseconds