/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
TrustManagerFactoryImplTest.java | 40 TrustManagerFactoryImpl tmf = new TrustManagerFactoryImpl(); local 41 tmf.engineInit((KeyStore) null); 46 tmf.engineInit((KeyStore) null); 62 TrustManagerFactoryImpl tmf = new TrustManagerFactoryImpl(); local 65 tmf.engineInit((ManagerFactoryParameters) null); 72 TrustManagerFactoryImpl tmf = new TrustManagerFactoryImpl(); local 74 tmf.engineGetTrustManagers(); 82 tmf.engineInit(ks); 84 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 | 41 private static final String defaultAlg = "TMF"; 52 validValues[2] = "Tmf"; 53 validValues[3] = "tMF"; 76 private void checkResult(TrustManagerFactory tmf) throws Exception { 81 tmf.init(kStore); 86 tmf.init(mfp); 90 assertNull("getTrustManagers() should return null object", tmf 100 tmf.init(kStore); 103 tmf.init(mfp); 109 tmf.init(mfp) 134 TrustManagerFactory tmf; local 199 TrustManagerFactory tmf; local 246 TrustManagerFactory tmf; local [all...] |
SSLContext1Test.java | 366 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tAlg); local 367 tmf.init(ks); 368 TrustManager[] tms = tmf.getTrustManagers();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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();
|
/frameworks/base/core/java/android/net/http/ |
CertificateChainValidator.java | 81 TrustManagerFactory tmf = TrustManagerFactory.getInstance("X.509"); local 82 tmf.init((KeyStore) null); 83 for (TrustManager tm : tmf.getTrustManagers()) { 174 TrustManagerFactory tmf; local 176 tmf = TrustManagerFactory.getInstance("X.509"); 177 tmf.init((KeyStore) null); 186 TrustManager[] tms = tmf.getTrustManagers();
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ServerHandshakeImplTest.java | 49 TrustManagerFactory tmf = TrustManagerFactory.getInstance("X509"); local 50 tmf.init(ks); 52 sslParameters = new SSLParameters(kmf.getKeyManagers(), tmf
|
/external/conscrypt/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 | 874 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm); local [all...] |
/external/chromium_org/net/android/java/src/org/chromium/net/ |
X509Util.java | 241 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm); local 242 tmf.init(keyStore); 244 for (TrustManager tm : tmf.getTrustManagers()) {
|
/external/conscrypt/src/test/java/org/conscrypt/ |
TrustManagerImplTest.java | 178 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm); local 179 tmf.init(keyStore); 180 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 | 856 TrustManagerFactory tmf = TrustManagerFactory local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 740 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tmfAlgorthm); local 741 tmf.init(ks); 742 TrustManager[] trustManagers = tmf.getTrustManagers(); [all...] |
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 132 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tmfa); local 133 tmf.init(keyStore); 134 return TestTrustManager.wrap(tmf.getTrustManagers()); [all...] |