Home
last modified time | relevance | path

Searched refs:TEST_ALIAS_2 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java78 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 …]
DKeyPairGeneratorTest.java86 private static final String TEST_ALIAS_2 = "test2"; field in KeyPairGeneratorTest
431 .setAlias(TEST_ALIAS_2) in testGenerate_EC_LegacySpec()
441 TEST_ALIAS_2, in testGenerate_EC_LegacySpec()
448 assertSelfSignedCertificateSignatureVerifies(TEST_ALIAS_2); in testGenerate_EC_LegacySpec()
449 assertKeyPairAndCertificateUsableForTLSPeerAuthentication(TEST_ALIAS_2); in testGenerate_EC_LegacySpec()
454 assertEquals(TEST_ALIAS_2, keyInfo.getKeystoreAlias()); in testGenerate_EC_LegacySpec()
678 TEST_ALIAS_2, in doesNotReplaceOtherEntriesHelper()
694 TEST_ALIAS_2, in doesNotReplaceOtherEntriesHelper()
732 TEST_ALIAS_2, in testGenerate_EC_Different_KeysHelper()
761 TEST_ALIAS_2, in testGenerate_RSA_Different_KeysHelper()
[all …]