Lines Matching refs:chain
717 assertNotNull("Returned certificate chain should not be null", actual);
718 assertEquals("Returned certificate chain should be correct size", expected.length,
817 assertEquals("First certificate in chain should be user cert", expectedCert, actualChain[0]);
820 assertEquals("Certificate chain should not include CAs", 1, actualChain.length);
825 assertEquals("CA chain certificate should equal what we put in", it.next(),
1185 // Replace with PrivateKeyEntry that has no chain
1256 final Certificate[] chain = new Certificate[2];
1257 chain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_USER_1));
1258 chain[1] = caCert;
1261 mKeyStore.setKeyEntry(TEST_ALIAS_1, privKey, "foo".toCharArray(), chain);
1276 final Certificate[] chain = new Certificate[2];
1277 chain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_USER_1));
1278 chain[1] = caCert;
1280 mKeyStore.setKeyEntry(TEST_ALIAS_1, privKey, null, chain);
1304 final Certificate[] chain = new Certificate[2];
1305 chain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_USER_1));
1306 chain[1] = caCert;
1308 mKeyStore.setKeyEntry(TEST_ALIAS_1, privKey, null, chain);
1326 final Certificate[] chain = new Certificate[2];
1327 chain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_USER_1));
1328 chain[1] = caCert;
1330 mKeyStore.setKeyEntry(TEST_ALIAS_1, privKey, null, chain);
1413 // Replace key #1 with new chain