select key for api apps
This commit is contained in:
@@ -55,7 +55,7 @@ public class KeychainContract {
|
||||
|
||||
interface ApiAppsColumns {
|
||||
String PACKAGE_NAME = "package_name";
|
||||
String PRIVATE_KEY_ID = "private_key_id"; // not a database id
|
||||
String KEY_ID = "key_id"; // not a database id
|
||||
String ASCII_ARMOR = "ascii_armor";
|
||||
String ENCRYPTION_ALGORITHM = "encryption_algorithm";
|
||||
String HASH_ALORITHM = "hash_algorithm";
|
||||
|
||||
@@ -67,7 +67,7 @@ public class KeychainDatabase extends SQLiteOpenHelper {
|
||||
private static final String CREATE_API_APPS = "CREATE TABLE IF NOT EXISTS "
|
||||
+ Tables.API_APPS + " (" + BaseColumns._ID
|
||||
+ " INTEGER PRIMARY KEY AUTOINCREMENT, " + ApiAppsColumns.PACKAGE_NAME
|
||||
+ " TEXT UNIQUE, " + ApiAppsColumns.PRIVATE_KEY_ID + " INT64, "
|
||||
+ " TEXT UNIQUE, " + ApiAppsColumns.KEY_ID + " INT64, "
|
||||
+ ApiAppsColumns.ASCII_ARMOR + " INTEGER, "
|
||||
+ ApiAppsColumns.ENCRYPTION_ALGORITHM + " INTEGER, "
|
||||
+ ApiAppsColumns.HASH_ALORITHM + " INTEGER, "
|
||||
|
||||
Reference in New Issue
Block a user