Home
last modified time | relevance | path

Searched refs:ks (Results 1 – 3 of 3) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java270 KeyStore ks = KeyStore.getInstance("AndroidKeyStore"); in doInBackground() local
271 ks.load(null); in doInBackground()
272 Enumeration<String> aliases = ks.aliases(); in doInBackground()
360 KeyStore ks = KeyStore.getInstance("AndroidKeyStore"); in doInBackground() local
361 ks.load(null); in doInBackground()
362 KeyStore.Entry entry = ks.getEntry(alias, null); in doInBackground()
431 KeyStore ks = KeyStore.getInstance("AndroidKeyStore"); in doInBackground() local
432 ks.load(null); in doInBackground()
433 KeyStore.Entry entry = ks.getEntry(alias, null); in doInBackground()
496 KeyStore ks = KeyStore.getInstance("AndroidKeyStore"); in doInBackground() local
[all …]
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java227 KeyStore ks = KeyStore.getInstance(SecurityConstants.KEYSTORE_PROVIDER_ANDROID_KEYSTORE); in signData() local
231 ks.load(null); in signData()
234 KeyStore.Entry entry = ks.getEntry(mAlias, null); in signData()
312 KeyStore ks = KeyStore.getInstance("AndroidKeyStore"); in verifyData() local
316 ks.load(null); in verifyData()
319 KeyStore.Entry entry = ks.getEntry(mAlias, null); in verifyData()
/development/samples/KeyChainDemo/src/com/example/android/keychain/
DSecureWebServer.java67 KeyStore ks = KeyStore.getInstance("PKCS12"); in SecureWebServer() local
71 ks.load(fis, KeyChainDemoActivity.PKCS12_PASSWORD.toCharArray()); in SecureWebServer()
72 kmf.init(ks, KeyChainDemoActivity.PKCS12_PASSWORD.toCharArray()); in SecureWebServer()