Lines Matching defs:tm
77 TrustManagerImpl tm = new TrustManagerImpl(ks);
78 assertEquals(0, tm.getAcceptedIssuers().length);
79 checkTrustManager(tm);
85 TrustManagerImpl tm = new TrustManagerImpl(ks);
86 assertEquals(1, tm.getAcceptedIssuers().length);
87 checkTrustManager(tm);
90 private void checkTrustManager(TrustManagerImpl tm) throws Exception {
92 tm.checkClientTrusted(null, "RSA");
98 tm.checkClientTrusted(new X509Certificate[0], "RSA");
104 tm.checkClientTrusted(untrustedChain, "RSA");
110 tm.checkServerTrusted(null, "RSA");
116 tm.checkServerTrusted(new X509Certificate[0], "RSA");
122 tm.checkServerTrusted(untrustedChain, "RSA");