Searched refs:privEntry (Results 1 – 2 of 2) sorted by relevance
172 KeyStore.PrivateKeyEntry privEntry = (KeyStore.PrivateKeyEntry) entry; in assertKeyStoreKeyPair() local173 assertEquals(cert, privEntry.getCertificate()); in assertKeyStoreKeyPair()178 PrivateKey keystorePrivateKey = privEntry.getPrivateKey(); in assertKeyStoreKeyPair()187 Certificate[] chain = privEntry.getCertificateChain(); in assertKeyStoreKeyPair()
1742 KeyStore.PrivateKeyEntry privEntry = makeUserRsaKey1(); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success() local1743 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() local1903 PrivateKey privKey = privEntry.getPrivateKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()1906 PublicKey pubKey = privEntry.getCertificate().getPublicKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()