Searched refs:keyStore (Results 1 – 4 of 4) sorted by relevance
57 final KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in SecretKeyWrapper() local58 keyStore.load(null); in SecretKeyWrapper()60 if (!keyStore.containsAlias(alias)) { in SecretKeyWrapper()66 final KeyStore.PrivateKeyEntry entry = (KeyStore.PrivateKeyEntry) keyStore.getEntry( in SecretKeyWrapper()
100 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in tryEncrypt() local101 keyStore.load(null); in tryEncrypt()102 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in tryEncrypt()141 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in createKey() local142 keyStore.load(null); in createKey()
195 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in enroll() local196 keyStore.load(null); in enroll()197 PublicKey publicKey = keyStore.getCertificate(MainActivity.KEY_NAME).getPublicKey(); in enroll()
89 public Signature providesSignature(KeyStore keyStore) { in providesSignature() argument