Searched refs:keyAlias (Results 1 – 1 of 1) sorted by relevance
337 String encryptWithKeyStore(String keyAlias, byte[] value) { in encryptWithKeyStore() argument342 Key key = getKeyStoreKey(keyAlias); in encryptWithKeyStore()356 Log.e(TAG, "Unable to encrypt value with key " + keyAlias, e); in encryptWithKeyStore()369 byte[] decryptWithKeyStore(String keyAlias, byte[] value, byte[] ivSpec) { in decryptWithKeyStore() argument375 Key key = getKeyStoreKey(keyAlias); in decryptWithKeyStore()387 Log.e(TAG, "Unable to decrypt value with key " + keyAlias, e); in decryptWithKeyStore()392 private Key getKeyStoreKey(String keyAlias) { in getKeyStoreKey() argument397 if (!keyStore.containsAlias(keyAlias)) { in getKeyStoreKey()401 new KeyGenParameterSpec.Builder(keyAlias, in getKeyStoreKey()408 return keyStore.getKey(keyAlias, null); in getKeyStoreKey()[all …]