Searched refs:privEntry (Results 1 – 2 of 2) sorted by relevance
228 KeyStore.PrivateKeyEntry privEntry = (KeyStore.PrivateKeyEntry) entry; in assertKeyStoreKeyPair() local229 assertEquals(cert, privEntry.getCertificate()); in assertKeyStoreKeyPair()234 PrivateKey keystorePrivateKey = privEntry.getPrivateKey(); in assertKeyStoreKeyPair()246 Certificate[] chain = privEntry.getCertificateChain(); in assertKeyStoreKeyPair()
1707 KeyStore.PrivateKeyEntry privEntry = makeUserRsaKey1(); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success() local1708 mKeyStore.setEntry(TEST_ALIAS_1, privEntry, null); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()1718 assertPrivateKeyEntryEquals(keyEntry, privEntry.getPrivateKey(), in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()1719 privEntry.getCertificate(), chain); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()1904 PrivateKeyEntry privEntry = (PrivateKeyEntry) e; in testKeyStore_KeyOperations_Wrap_Unencrypted_Success() local1905 PrivateKey privKey = privEntry.getPrivateKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()1908 PublicKey pubKey = privEntry.getCertificate().getPublicKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()