/cts/tests/tests/net/src/android/net/http/cts/ |
D | X509TrustManagerExtensionsTest.java | 58 KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); in testIsUserAddedCert() local 60 new X509TrustManagerExtensions(new TrustManagerImpl(keyStore)); in testIsUserAddedCert() 74 new X509TrustManagerExtensions(new TrustManagerImpl(keyStore, null, tcs)); in testIsUserAddedCert()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CertificateTest.java | 116 KeyStore keyStore = KeyStore.getInstance("AndroidCAStore"); in getDeviceCertificates() local 117 keyStore.load(null, null); in getDeviceCertificates() 119 List<String> aliases = Collections.list(keyStore.aliases()); in getDeviceCertificates() 124 assertTrue(keyStore.isCertificateEntry(alias)); in getDeviceCertificates() 125 X509Certificate certificate = (X509Certificate) keyStore.getCertificate(alias); in getDeviceCertificates()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ScreenLockBoundKeysTest.java | 115 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in createKey() local 116 keyStore.load(null); in createKey() 144 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in tryEncrypt() local 145 keyStore.load(null); in tryEncrypt() 146 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in tryEncrypt()
|
D | FingerprintBoundKeysTest.java | 94 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in onRequestPermissionsResult() local 95 keyStore.load(null); in onRequestPermissionsResult() 96 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in onRequestPermissionsResult() 146 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in createKey() local 147 keyStore.load(null); in createKey()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AESCipherNistCavpKatTest.java | 271 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in runKatTest() local 272 keyStore.load(null); in runKatTest() 273 keyStore.setEntry(keyAlias, in runKatTest() 282 SecretKey key = (SecretKey) keyStore.getKey(keyAlias, null); in runKatTest() 301 keyStore.deleteEntry(keyAlias); in runKatTest()
|
D | TestUtils.java | 136 static void assertKeyStoreKeyPair(KeyStore keyStore, String alias, KeyPair keyPair) { in assertKeyStoreKeyPair() argument 145 entry = keyStore.getEntry(alias, null); in assertKeyStoreKeyPair() 146 cert = keyStore.getCertificate(alias); in assertKeyStoreKeyPair() 407 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in importIntoAndroidKeyStore() local 408 keyStore.load(null); in importIntoAndroidKeyStore() 409 keyStore.setEntry(alias, in importIntoAndroidKeyStore() 413 keyStore.getCertificate(alias).getPublicKey(), in importIntoAndroidKeyStore() 414 (PrivateKey) keyStore.getKey(alias, null)); in importIntoAndroidKeyStore() 421 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in importIntoAndroidKeyStore() local 422 keyStore.load(null); in importIntoAndroidKeyStore() [all …]
|
D | AndroidKeyStoreTest.java | 737 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in tearDown() local 738 keyStore.load(null, null); in tearDown() 739 Enumeration<String> aliases = keyStore.aliases(); in tearDown() 742 keyStore.deleteEntry(alias); in tearDown()
|
D | KeyPairGeneratorTest.java | 1339 serverKeyStore.keyStore.setCertificateEntry( in assertUsableForTLSPeerAuthentication() 1345 TestKeyStore.createTrustManagers(serverKeyStore.keyStore)); in assertUsableForTLSPeerAuthentication()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewSslTest.java | 1018 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in onReceivedClientCertRequest() local 1019 keyStore.load(null); in onReceivedClientCertRequest() 1021 keyStore.setEntry( in onReceivedClientCertRequest() 1026 key = (PrivateKey) keyStore.getKey("fake1", null); in onReceivedClientCertRequest()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | TestWebServer.java | 536 KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); in getKeyManagers() local 537 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers() 542 keyManagerFactory.init(keyStore, PASSWORD.toCharArray()); in getKeyManagers()
|
D | CtsTestServer.java | 971 KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); in getKeyManagers() local 972 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers() 977 keyManagerFactory.init(keyStore, PASSWORD.toCharArray()); in getKeyManagers()
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 32465 private java.security.KeyStore keyStore 85216 private java.security.KeyStore keyStore 87298 private java.security.KeyStore keyStore
|