diff options
Diffstat (limited to 'ui/app/lib/bitmask.js')
-rw-r--r-- | ui/app/lib/bitmask.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/app/lib/bitmask.js b/ui/app/lib/bitmask.js index 37d09979..31a1e938 100644 --- a/ui/app/lib/bitmask.js +++ b/ui/app/lib/bitmask.js @@ -428,6 +428,19 @@ var bitmask = function(){ }, /** + * Fetch key by fingerprint + *, + * @param {string} uid The uid of the keyring. + * @param {string} address The email address of the key. + * @param {string} fingerprint The key fingerprnit. + * + * @return {Promise<KeyObject>} The key + */ + fetch: function(uid, address, fingerprint) { + return call(['keys', 'fetch', address, fingerprint]); + }, + + /** * Insert key * * @param {string} uid The uid of the keyring. |