[CHORE] stubbed functions

This commit is contained in:
Matthew Fettig
2014-05-28 10:13:37 -07:00
parent 81e0e2672d
commit 799bb5faeb

View File

@@ -8,6 +8,7 @@ var BlobObj = function (url, id, key) {
this.id = id; this.id = id;
this.key = key; this.key = key;
this.data = {}; this.data = {};
this.identity = new Identity;
}; };
// Blob operations // Blob operations
@@ -489,8 +490,42 @@ function normalizeSubcommands(subcommands, compress) {
} }
/***** blob client methods ****/ /***** identity ****/
/**
* Identity class
*
*/
var Identity = function() {}
/**
* getAll
* get and decrypt all identity fields
* @param {string} password to derive crypt key
*/
Identity.prototype.getAll = function(password) {
}
Identity.prototype.get = function(key, password) {
}
Identity.prototype.set = function(key, password, data) {
}
Identity.prototype.unset = function (key, password) {
}
/***** blob client methods ****/
/** /**
* Blob object class * Blob object class