Searched refs:TEST_ALIAS_2 (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 76 private static final String TEST_ALIAS_2 = "test2"; field in AndroidKeyStoreTest 806 mKeyStore.setEntry(TEST_ALIAS_2, makeCa1(), null); in testKeyStore_Aliases_Unencrypted_Success() 808 assertAliases(new String[] { TEST_ALIAS_1, TEST_ALIAS_2 }); in testKeyStore_Aliases_Unencrypted_Success() 828 mKeyStore.setEntry(TEST_ALIAS_2, makeCa1(), null); in testKeyStore_ContainsAliases_PrivateAndCA_Unencrypted_Success() 830 assertTrue("Should contain added CA certificate", mKeyStore.containsAlias(TEST_ALIAS_2)); in testKeyStore_ContainsAliases_PrivateAndCA_Unencrypted_Success() 839 mKeyStore.setEntry(TEST_ALIAS_2, makeCa1(), null); in testKeyStore_ContainsAliases_CAOnly_Unencrypted_Success() 841 assertTrue("Should contain added CA certificate", mKeyStore.containsAlias(TEST_ALIAS_2)); in testKeyStore_ContainsAliases_CAOnly_Unencrypted_Success() 857 mKeyStore.setCertificateEntry(TEST_ALIAS_2, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_DeleteEntry_Unencrypted_Success() 862 assertAliases(new String[] { TEST_ALIAS_1, TEST_ALIAS_2, TEST_ALIAS_3 }); in testKeyStore_DeleteEntry_Unencrypted_Success() 866 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 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() 1121 TEST_ALIAS_2, KeyProperties.PURPOSE_ENCRYPT); in testGenerate_EC_IndCpaEnforced()
|