This commit is contained in:
Sanjana Rajan 2018-03-19 19:11:20 -07:00
parent 2f351985c4
commit 6fe73033a4
2 changed files with 2 additions and 0 deletions

View File

@ -1103,6 +1103,7 @@ export function readArmored(armoredText) {
* @param {Boolean} [options.unlocked=false] The secret part of the generated key is unlocked
* @param {Number} [options.keyExpirationTime=0]
* The number of seconds after the key creation time that the key expires
* @param {Date} date Override the creation date of the key and the key signatures
* @returns {Promise<module:key.Key>}
* @async
* @static

View File

@ -104,6 +104,7 @@ export function destroyWorker() {
* brainpoolP256r1, brainpoolP384r1, or brainpoolP512r1.
* @param {Boolean} unlocked (optional) If the returned secret part of the generated key is unlocked
* @param {Number} keyExpirationTime (optional) The number of seconds after the key creation time that the key expires
* @param {Date} date (optional) override the creation date of the key and the key signatures
* @returns {Promise<Object>} The generated key object in the form:
* { key:Key, privateKeyArmored:String, publicKeyArmored:String }
* @async