Searched refs:TEST_ALIAS_2 (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 75 private static final String TEST_ALIAS_2 = "test2"; field in AndroidKeyStoreTest 816 mKeyStore.setEntry(TEST_ALIAS_2, makeCa1(), null); in testKeyStore_Aliases_Unencrypted_Success() 818 assertAliases(new String[] { TEST_ALIAS_1, TEST_ALIAS_2 }); in testKeyStore_Aliases_Unencrypted_Success() 838 mKeyStore.setEntry(TEST_ALIAS_2, makeCa1(), null); in testKeyStore_ContainsAliases_PrivateAndCA_Unencrypted_Success() 840 assertTrue("Should contain added CA certificate", mKeyStore.containsAlias(TEST_ALIAS_2)); in testKeyStore_ContainsAliases_PrivateAndCA_Unencrypted_Success() 849 mKeyStore.setEntry(TEST_ALIAS_2, makeCa1(), null); in testKeyStore_ContainsAliases_CAOnly_Unencrypted_Success() 851 assertTrue("Should contain added CA certificate", mKeyStore.containsAlias(TEST_ALIAS_2)); in testKeyStore_ContainsAliases_CAOnly_Unencrypted_Success() 867 mKeyStore.setCertificateEntry(TEST_ALIAS_2, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_DeleteEntry_Unencrypted_Success() 872 assertAliases(new String[] { TEST_ALIAS_1, TEST_ALIAS_2, TEST_ALIAS_3 }); in testKeyStore_DeleteEntry_Unencrypted_Success() 876 assertAliases(new String[] { TEST_ALIAS_2, TEST_ALIAS_3 }); in testKeyStore_DeleteEntry_Unencrypted_Success() [all …]
|
D | KeyPairGeneratorTest.java | 89 private static final String TEST_ALIAS_2 = "test2"; field in KeyPairGeneratorTest 434 .setAlias(TEST_ALIAS_2) in testGenerate_EC_LegacySpec() 444 TEST_ALIAS_2, in testGenerate_EC_LegacySpec() 451 assertSelfSignedCertificateSignatureVerifies(TEST_ALIAS_2); in testGenerate_EC_LegacySpec() 452 assertKeyPairAndCertificateUsableForTLSPeerAuthentication(TEST_ALIAS_2); in testGenerate_EC_LegacySpec() 457 assertEquals(TEST_ALIAS_2, keyInfo.getKeystoreAlias()); in testGenerate_EC_LegacySpec() 681 TEST_ALIAS_2, in doesNotReplaceOtherEntriesHelper() 697 TEST_ALIAS_2, in doesNotReplaceOtherEntriesHelper() 735 TEST_ALIAS_2, in testGenerate_EC_Different_KeysHelper() 764 TEST_ALIAS_2, in testGenerate_RSA_Different_KeysHelper() [all …]
|