Searched refs:privEntry (Results 1 – 2 of 2) sorted by relevance
227 KeyStore.PrivateKeyEntry privEntry = (KeyStore.PrivateKeyEntry) entry; in assertKeyStoreKeyPair() local228 assertEquals(cert, privEntry.getCertificate()); in assertKeyStoreKeyPair()233 PrivateKey keystorePrivateKey = privEntry.getPrivateKey(); in assertKeyStoreKeyPair()245 Certificate[] chain = privEntry.getCertificateChain(); in assertKeyStoreKeyPair()
1703 KeyStore.PrivateKeyEntry privEntry = makeUserRsaKey1(); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success() local1704 mKeyStore.setEntry(TEST_ALIAS_1, privEntry, null); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()1714 assertPrivateKeyEntryEquals(keyEntry, privEntry.getPrivateKey(), in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()1715 privEntry.getCertificate(), chain); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()1863 PrivateKeyEntry privEntry = (PrivateKeyEntry) e; in testKeyStore_KeyOperations_Wrap_Unencrypted_Success() local1864 PrivateKey privKey = privEntry.getPrivateKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()1867 PublicKey pubKey = privEntry.getCertificate().getPublicKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()