Lines Matching refs:km
38 KeyManagerImpl km = new KeyManagerImpl(ks, new char[0]);
40 String al = km.chooseClientAlias(keyType, null, new Socket());
43 al = km.chooseEngineClientAlias(keyType, null, new SSLEngineImpl(null));
46 al = km.chooseEngineServerAlias("RSA", null, new SSLEngineImpl(null));
49 al = km.chooseServerAlias("RSA", null, new Socket());
52 assertNull(km.getClientAliases("RSA", null));
54 assertNull(km.getServerAliases("RSA", null));
56 assertNull(km.getCertificateChain("alias"));
57 assertNull(km.getPrivateKey("alias"));
65 KeyManagerImpl km = new KeyManagerImpl(ks, pwd);
67 String al = km.chooseClientAlias(keyType, null, new Socket());
70 al = km.chooseEngineClientAlias(keyType, null, new SSLEngineImpl(null));
73 al = km.chooseEngineServerAlias("RSA", null, new SSLEngineImpl(null));
76 al = km.chooseServerAlias("RSA", null, new Socket());
79 assertTrue(km.getCertificateChain("ssl_test_store") != null);
80 assertTrue(km.getPrivateKey("ssl_test_store") != null);