Home
last modified time | relevance | path

Searched refs:expectedChain (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java1106 final Collection<Certificate> expectedChain; in assertPrivateKeyEntryEquals() local
1108 expectedChain = (Collection<Certificate>) certFact in assertPrivateKeyEntryEquals()
1111 expectedChain = null; in assertPrivateKeyEntryEquals()
1114 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain); in assertPrivateKeyEntryEquals()
1118 Certificate expectedCert, Collection<Certificate> expectedChain) throws Exception { in assertPrivateKeyEntryEquals() argument
1149 if (expectedChain == null) { in assertPrivateKeyEntryEquals()
1152 assertEquals("Chains should be the same size", expectedChain.size() + 1, in assertPrivateKeyEntryEquals()
1155 final Iterator<Certificate> it = expectedChain.iterator(); in assertPrivateKeyEntryEquals()
1319 final Certificate[] expectedChain = new Certificate[2]; in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success() local
1320 expectedChain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success()
[all …]