Home
last modified time | relevance | path

Searched refs:keyStore (Results 1 – 4 of 4) sorted by relevance

/development/samples/Vault/src/com/example/android/vault/
DSecretKeyWrapper.java57 final KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in SecretKeyWrapper() local
58 keyStore.load(null); in SecretKeyWrapper()
60 if (!keyStore.containsAlias(alias)) { in SecretKeyWrapper()
66 final KeyStore.PrivateKeyEntry entry = (KeyStore.PrivateKeyEntry) keyStore.getEntry( in SecretKeyWrapper()
/development/samples/browseable/ConfirmCredential/src/com.example.android.confirmcredential/
DMainActivity.java100 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in tryEncrypt() local
101 keyStore.load(null); in tryEncrypt()
102 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in tryEncrypt()
141 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in createKey() local
142 keyStore.load(null); in createKey()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DFingerprintAuthenticationDialogFragment.java195 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in enroll() local
196 keyStore.load(null); in enroll()
197 PublicKey publicKey = keyStore.getCertificate(MainActivity.KEY_NAME).getPublicKey(); in enroll()
DFingerprintModule.java89 public Signature providesSignature(KeyStore keyStore) { in providesSignature() argument