Home
last modified time | relevance | path

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

/cts/tests/tests/identity/src/android/security/identity/cts/
DProvisioningTest.java467 for (X509Certificate expectedCert : certChain) { in testProvisionAndRetrieve()
469 assertEquals(expectedCert, readBackCert); in testProvisionAndRetrieve()
948 for (X509Certificate expectedCert : certChain) { in testProvisionAcpIdNotStartingAtZero()
950 assertEquals(expectedCert, readBackCert); in testProvisionAcpIdNotStartingAtZero()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java1114 Certificate expectedCert = certFact.generateCertificate(new ByteArrayInputStream(cert)); in assertPrivateKeyEntryEquals() local
1124 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain); in assertPrivateKeyEntryEquals()
1128 Certificate expectedCert, Collection<Certificate> expectedChain) throws Exception { in assertPrivateKeyEntryEquals() argument
1152 assertEquals("Returned Certificate should be what we inserted", expectedCert, in assertPrivateKeyEntryEquals()
1157 … assertEquals("First certificate in chain should be user cert", expectedCert, actualChain[0]); in assertPrivateKeyEntryEquals()
1726 Certificate expectedCert = generateCertificate(FAKE_RSA_USER_1); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success() local
1729 new Certificate[] { expectedCert }); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()
1737 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, null); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()