Searched refs:mKeyStore (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 70 private KeyStore mKeyStore; field in AndroidKeyStoreTest 731 mKeyStore = KeyStore.getInstance("AndroidKeyStore"); in setUp() 778 final Enumeration<String> aliases = mKeyStore.aliases(); in assertAliases() 796 mKeyStore.load(null, null); in testKeyStore_Aliases_Unencrypted_Success() 800 mKeyStore.setEntry(TEST_ALIAS_1, makeUserRsaKey1(), null); in testKeyStore_Aliases_Unencrypted_Success() 804 mKeyStore.setEntry(TEST_ALIAS_2, makeCa1(), null); in testKeyStore_Aliases_Unencrypted_Success() 811 mKeyStore.aliases(); in testKeyStore_Aliases_NotInitialized_Unencrypted_Failure() 818 mKeyStore.load(null, null); in testKeyStore_ContainsAliases_PrivateAndCA_Unencrypted_Success() 822 mKeyStore.setEntry(TEST_ALIAS_1, makeUserRsaKey1(), null); in testKeyStore_ContainsAliases_PrivateAndCA_Unencrypted_Success() 824 assertTrue("Should contain generated private key", mKeyStore.containsAlias(TEST_ALIAS_1)); in testKeyStore_ContainsAliases_PrivateAndCA_Unencrypted_Success() [all …]
|
D | KeyPairGeneratorTest.java | 77 private KeyStore mKeyStore; field in KeyPairGeneratorTest 128 mKeyStore = KeyStore.getInstance("AndroidKeyStore"); in setUp() 129 mKeyStore.load(null, null); in setUp() 1290 TestUtils.assertKeyStoreKeyPair(mKeyStore, alias, keyPair); in assertGeneratedKeyPairAndSelfSignedCertificate() 1292 X509Certificate cert = (X509Certificate) mKeyStore.getCertificate(alias); in assertGeneratedKeyPairAndSelfSignedCertificate() 1301 Arrays.asList(mKeyStore.getCertificateChain(alias)), cert); in assertGeneratedKeyPairAndSelfSignedCertificate() 1305 assertSelfSignedCertificateSignatureVerifies(mKeyStore.getCertificate(alias)); in assertSelfSignedCertificateSignatureVerifies() 1311 (PrivateKey) mKeyStore.getKey(alias, null), in assertKeyPairAndCertificateUsableForTLSPeerAuthentication() 1312 mKeyStore.getCertificateChain(alias)); in assertKeyPairAndCertificateUsableForTLSPeerAuthentication()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 89 private KeyStore mKeyStore; field in KeyChainTest 236 mKeyStore = ks; in doInBackground() 255 mKeyStore.store(pkcs12, KEYSTORE_PASSWORD); in doInBackground() 300 kmf.init(mKeyStore, KEYSTORE_PASSWORD); in startWebServer()
|