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.java1116 final Collection<Certificate> expectedChain; in assertPrivateKeyEntryEquals() local
1118 expectedChain = (Collection<Certificate>) certFact in assertPrivateKeyEntryEquals()
1121 expectedChain = null; in assertPrivateKeyEntryEquals()
1124 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain); in assertPrivateKeyEntryEquals()
1128 Certificate expectedCert, Collection<Certificate> expectedChain) throws Exception { in assertPrivateKeyEntryEquals() argument
1159 if (expectedChain == null) { in assertPrivateKeyEntryEquals()
1162 assertEquals("Chains should be the same size", expectedChain.size() + 1, in assertPrivateKeyEntryEquals()
1165 final Iterator<Certificate> it = expectedChain.iterator(); in assertPrivateKeyEntryEquals()
1329 final Certificate[] expectedChain = new Certificate[2]; in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success() local
1330 expectedChain[0] = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_SetEntry_PrivateKeyEntry_Unencrypted_Success()
[all …]