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.java77 private static final String TEST_ALIAS_2 = "test2"; field in AndroidKeyStoreTest
815 mKeyStore.setEntry(TEST_ALIAS_2, makeCa1(), null); in testKeyStore_Aliases_Unencrypted_Success()
817 assertAliases(new String[] { TEST_ALIAS_1, TEST_ALIAS_2 }); in testKeyStore_Aliases_Unencrypted_Success()
837 mKeyStore.setEntry(TEST_ALIAS_2, makeCa1(), null); in testKeyStore_ContainsAliases_PrivateAndCA_Unencrypted_Success()
839 assertTrue("Should contain added CA certificate", mKeyStore.containsAlias(TEST_ALIAS_2)); in testKeyStore_ContainsAliases_PrivateAndCA_Unencrypted_Success()
848 mKeyStore.setEntry(TEST_ALIAS_2, makeCa1(), null); in testKeyStore_ContainsAliases_CAOnly_Unencrypted_Success()
850 assertTrue("Should contain added CA certificate", mKeyStore.containsAlias(TEST_ALIAS_2)); in testKeyStore_ContainsAliases_CAOnly_Unencrypted_Success()
866 mKeyStore.setCertificateEntry(TEST_ALIAS_2, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_DeleteEntry_Unencrypted_Success()
871 assertAliases(new String[] { TEST_ALIAS_1, TEST_ALIAS_2, TEST_ALIAS_3 }); in testKeyStore_DeleteEntry_Unencrypted_Success()
875 assertAliases(new String[] { TEST_ALIAS_2, TEST_ALIAS_3 }); in testKeyStore_DeleteEntry_Unencrypted_Success()
[all …]
DKeyPairGeneratorTest.java84 private static final String TEST_ALIAS_2 = "test2"; field in KeyPairGeneratorTest
420 .setAlias(TEST_ALIAS_2) in testGenerate_EC_LegacySpec()
430 TEST_ALIAS_2, in testGenerate_EC_LegacySpec()
437 assertSelfSignedCertificateSignatureVerifies(TEST_ALIAS_2); in testGenerate_EC_LegacySpec()
438 assertKeyPairAndCertificateUsableForTLSPeerAuthentication(TEST_ALIAS_2); in testGenerate_EC_LegacySpec()
443 assertEquals(TEST_ALIAS_2, keyInfo.getKeystoreAlias()); in testGenerate_EC_LegacySpec()
652 TEST_ALIAS_2, in testGenerate_DoesNotReplaceOtherEntries()
667 TEST_ALIAS_2, in testGenerate_DoesNotReplaceOtherEntries()
1123 TEST_ALIAS_2, KeyProperties.PURPOSE_ENCRYPT); in testGenerate_EC_IndCpaEnforced()