extract reading of public key data from ContentProvider

This commit is contained in:
Vincent Breitmoser
2018-07-02 14:50:11 +02:00
parent 6585e7113d
commit 77c89cfa98
7 changed files with 62 additions and 86 deletions
@@ -1,4 +1,9 @@
CREATE TABLE IF NOT EXISTS keyrings_public (
master_key_id INTEGER PRIMARY KEY,
key_ring_data BLOB
);
master_key_id INTEGER NOT NULL PRIMARY KEY,
key_ring_data BLOB NULL
);
selectByMasterKeyId:
SELECT *
FROM keyrings_public
WHERE master_key_id = ?;