[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.key = key;
this.data = {};
this.identity = new Identity;
};
// Blob operations
@@ -487,11 +488,45 @@ function normalizeSubcommands(subcommands, compress) {
return subcommands;
}
}
/***** 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
*/