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.java1115 final Collection<Certificate> expectedChain; in assertPrivateKeyEntryEquals() local
1117 expectedChain = (Collection<Certificate>) certFact in assertPrivateKeyEntryEquals()
1120 expectedChain = null; in assertPrivateKeyEntryEquals()
1123 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain); in assertPrivateKeyEntryEquals()
1127 Certificate expectedCert, Collection<Certificate> expectedChain) throws Exception { in assertPrivateKeyEntryEquals() argument
1158 if (expectedChain == null) { in assertPrivateKeyEntryEquals()
1161 assertEquals("Chains should be the same size", expectedChain.size() + 1, in assertPrivateKeyEntryEquals()
1164 final Iterator<Certificate> it = expectedChain.iterator(); in assertPrivateKeyEntryEquals()
1328 final Certificate[] expectedChain = new Certificate[2]; in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success() local
1329 expectedChain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success()
[all …]