Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java172 KeyStore.PrivateKeyEntry privEntry = (KeyStore.PrivateKeyEntry) entry; in assertKeyStoreKeyPair() local
173 assertEquals(cert, privEntry.getCertificate()); in assertKeyStoreKeyPair()
178 PrivateKey keystorePrivateKey = privEntry.getPrivateKey(); in assertKeyStoreKeyPair()
187 Certificate[] chain = privEntry.getCertificateChain(); in assertKeyStoreKeyPair()
DAndroidKeyStoreTest.java1742 KeyStore.PrivateKeyEntry privEntry = makeUserRsaKey1(); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success() local
1743 mKeyStore.setEntry(TEST_ALIAS_1, privEntry, null); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()
1753 assertPrivateKeyEntryEquals(keyEntry, privEntry.getPrivateKey(), in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()
1754 privEntry.getCertificate(), chain); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()
1902 PrivateKeyEntry privEntry = (PrivateKeyEntry) e; in testKeyStore_KeyOperations_Wrap_Unencrypted_Success() local
1903 PrivateKey privKey = privEntry.getPrivateKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()
1906 PublicKey pubKey = privEntry.getCertificate().getPublicKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()