Searched refs:TEST_ALIAS_2 (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 78 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 | 84 private static final String TEST_ALIAS_2 = "test2"; field in KeyPairGeneratorTest 429 .setAlias(TEST_ALIAS_2) in testGenerate_EC_LegacySpec() 439 TEST_ALIAS_2, in testGenerate_EC_LegacySpec() 446 assertSelfSignedCertificateSignatureVerifies(TEST_ALIAS_2); in testGenerate_EC_LegacySpec() 447 assertKeyPairAndCertificateUsableForTLSPeerAuthentication(TEST_ALIAS_2); in testGenerate_EC_LegacySpec() 452 assertEquals(TEST_ALIAS_2, keyInfo.getKeystoreAlias()); in testGenerate_EC_LegacySpec() 676 TEST_ALIAS_2, in doesNotReplaceOtherEntriesHelper() 692 TEST_ALIAS_2, in doesNotReplaceOtherEntriesHelper() 1388 TEST_ALIAS_2, KeyProperties.PURPOSE_ENCRYPT) in testGenerate_EC_IndCpaEnforcedHelper()
|