Merge branch 'devel' into lint-fixes
This commit is contained in:
commit
31b5427c87
|
@ -560,7 +560,7 @@ EXAMPLES:
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:53 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -552,7 +552,7 @@ for (var i in types) {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -90,7 +90,7 @@ for (var i in enums.packet) {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -1364,7 +1364,7 @@ given base64 encoded checksum
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:54 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:42 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -419,7 +419,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -393,7 +393,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:54 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:42 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -142,7 +142,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:53 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -457,7 +457,7 @@ module.exports.blockSize = BF.prototype.blockSize = 16;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:53 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -646,7 +646,7 @@ module.exports.keySize = cast5.prototype.keySize = 16;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -768,7 +768,7 @@ This will be passed to the cipherfn</td>
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -340,7 +340,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -412,7 +412,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -191,7 +191,7 @@ exports.readArmored = readArmored;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -740,7 +740,7 @@ read by read_packet
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:56 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -61,7 +61,7 @@ var enums = require('../enums.js'),
|
|||
/**
|
||||
* @constructor
|
||||
*/
|
||||
module.exports = function () {
|
||||
module.exports = function compressed() {
|
||||
/**
|
||||
* List of packets
|
||||
* @type {module:packet/packetlist}
|
||||
|
@ -215,7 +215,7 @@ module.exports = function () {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -331,7 +331,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -88,7 +88,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -943,7 +943,7 @@ if elgamal encryption an array of two module:type/mpi is returned; otherwise nul
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:53 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -264,7 +264,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -215,7 +215,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:53 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -450,7 +450,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:53 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:41 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -212,7 +212,7 @@ module.exports = DSA;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:54 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:41 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -101,7 +101,7 @@ module.exports = Elgamal;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -358,7 +358,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -825,7 +825,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:53 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:41 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -181,7 +181,7 @@ for extending and developing on top of the base library.</div>
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -80,7 +80,7 @@ module.exports.crypto = require('./crypto');
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -67,7 +67,7 @@ for (var i in crypto)
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -69,7 +69,7 @@ for (var i in aes) {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -129,7 +129,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -55,7 +55,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:54 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:41 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -1751,7 +1751,7 @@ BigInteger.prototype.square = bnSquare;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -1308,7 +1308,7 @@ module.exports = JXG;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -807,7 +807,7 @@ exports.generate = generate;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -311,7 +311,7 @@ formed.</div>
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:57 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:44 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -58,7 +58,7 @@ var util = require('../util');
|
|||
/**
|
||||
* @constructor
|
||||
*/
|
||||
module.exports = function () {
|
||||
module.exports = function keyid() {
|
||||
|
||||
this.bytes = '';
|
||||
|
||||
|
@ -107,7 +107,7 @@ module.exports.mapToHex = function(keyId) {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -2041,7 +2041,7 @@ keyring from HTML5 local storage and initializes this instance.
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:42 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -231,7 +231,7 @@ module.exports = function(storeHandler) {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -966,7 +966,7 @@ will be normalized to \r\n and by default text is converted to UTF8
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:56 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -58,7 +58,7 @@ var util = require('../util'),
|
|||
/**
|
||||
* @constructor
|
||||
*/
|
||||
module.exports = function () {
|
||||
module.exports = function literal() {
|
||||
this.format = 'utf8'; // default format for literal data packets
|
||||
this.data = ''; // literal data representation as native JavaScript string or bytes
|
||||
this.date = new Date();
|
||||
|
@ -69,7 +69,7 @@ module.exports = function () {
|
|||
* will be normalized to \r\n and by default text is converted to UTF8
|
||||
* @param {String} text Any native javascript string
|
||||
*/
|
||||
this.setText = function(text) {
|
||||
this.setText = function (text) {
|
||||
// normalize EOL to \r\n
|
||||
text = text.replace(/\r/g, '').replace(/\n/g, '\r\n');
|
||||
// encode UTF8
|
||||
|
@ -81,7 +81,7 @@ module.exports = function () {
|
|||
* with normalized end of line to \n
|
||||
* @return {String} literal data as text
|
||||
*/
|
||||
this.getText = function() {
|
||||
this.getText = function () {
|
||||
// decode UTF8
|
||||
var text = util.decode_utf8(this.data);
|
||||
// normalize EOL to \n
|
||||
|
@ -93,7 +93,7 @@ module.exports = function () {
|
|||
* @param {String} bytes The string of bytes
|
||||
* @param {utf8|binary|text} format The format of the string of bytes
|
||||
*/
|
||||
this.setBytes = function(bytes, format) {
|
||||
this.setBytes = function (bytes, format) {
|
||||
this.format = format;
|
||||
this.data = bytes;
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ module.exports = function () {
|
|||
* Get the byte sequence representing the literal packet data
|
||||
* @returns {String} A sequence of bytes
|
||||
*/
|
||||
this.getBytes = function() {
|
||||
this.getBytes = function () {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
|
@ -119,7 +119,7 @@ module.exports = function () {
|
|||
* input at position
|
||||
* @return {module:packet/literal} object representation
|
||||
*/
|
||||
this.read = function(bytes) {
|
||||
this.read = function (bytes) {
|
||||
// - A one-octet field that describes how the data is formatted.
|
||||
|
||||
var format = enums.read(enums.literal, bytes.charCodeAt(0));
|
||||
|
@ -140,7 +140,7 @@ module.exports = function () {
|
|||
* @param {String} data The data to be inserted as body
|
||||
* @return {String} string-representation of the packet
|
||||
*/
|
||||
this.write = function() {
|
||||
this.write = function () {
|
||||
var filename = util.encode_utf8("msg.txt");
|
||||
|
||||
var data = this.getBytes();
|
||||
|
@ -170,7 +170,7 @@ module.exports = function () {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -323,7 +323,7 @@ if config is null the default config will be used
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
/**
|
||||
* @constructor
|
||||
*/
|
||||
module.exports = function () {
|
||||
module.exports = function localStorage() {
|
||||
|
||||
/**
|
||||
* Reads the config out of the HTML5 local storage
|
||||
|
@ -72,7 +72,7 @@ module.exports = function () {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -332,7 +332,7 @@ The privateKeys array and publicKeys array gets Stringified using JSON
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:42 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -97,7 +97,7 @@ module.exports = function () {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -376,7 +376,7 @@ Such a packet MUST be ignored when received.</div>
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:56 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
/**
|
||||
* @constructor
|
||||
*/
|
||||
module.exports = function () {
|
||||
module.exports = function marker() {
|
||||
/**
|
||||
* Parsing function for a literal data packet (tag 10).
|
||||
*
|
||||
|
@ -70,7 +70,7 @@ module.exports = function () {
|
|||
* input at position
|
||||
* @return {module:packet/marker} Object representation
|
||||
*/
|
||||
this.read = function(bytes) {
|
||||
this.read = function (bytes) {
|
||||
if (bytes.charCodeAt(0) == 0x50 && // P
|
||||
bytes.charCodeAt(1) == 0x47 && // G
|
||||
bytes.charCodeAt(2) == 0x50) // P
|
||||
|
@ -95,7 +95,7 @@ module.exports = function () {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -235,7 +235,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:53 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:41 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -258,7 +258,7 @@ if (md5('hello') != '5d41402abc4b2a76b9719d911017c592') {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -357,7 +357,7 @@ exports.fromBinary = fromBinary;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -747,7 +747,7 @@ See http://tools.ietf.org/html/rfc4880#section-7</div>
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -273,7 +273,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -521,7 +521,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:40 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -4533,7 +4533,7 @@ document) that cannot include a target subpacket.</td>
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:54 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:42 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -2258,7 +2258,7 @@ and valid self signature
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:42 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -600,7 +600,7 @@ and valid binding signature
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -682,7 +682,7 @@ and validity of self signature
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -485,7 +485,7 @@ Primary and subkey will be of same type.
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:42 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:42 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -1303,7 +1303,7 @@ See http://tools.ietf.org/html/rfc4880#section-11.3</td>
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -553,7 +553,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -1364,7 +1364,7 @@ Primary and subkey will be of same type.
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -1033,7 +1033,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:55 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:57 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:44 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:57 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:45 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -486,7 +486,7 @@ actual integer.</div>
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:57 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:45 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -76,7 +76,7 @@ module.exports = function mpi() {
|
|||
* @param {String} input Payload of mpi data
|
||||
* @return {Integer} Length of data read
|
||||
*/
|
||||
this.read = function(bytes) {
|
||||
this.read = function (bytes) {
|
||||
var bits = (bytes.charCodeAt(0) << 8) | bytes.charCodeAt(1);
|
||||
|
||||
// Additional rules:
|
||||
|
@ -97,15 +97,15 @@ module.exports = function mpi() {
|
|||
return 2 + bytelen;
|
||||
};
|
||||
|
||||
this.fromBytes = function(bytes) {
|
||||
this.fromBytes = function (bytes) {
|
||||
this.data = new BigInteger(util.hexstrdump(bytes), 16);
|
||||
};
|
||||
|
||||
this.toBytes = function() {
|
||||
this.toBytes = function () {
|
||||
return this.write().substr(2);
|
||||
};
|
||||
|
||||
this.byteLength = function() {
|
||||
this.byteLength = function () {
|
||||
return this.toBytes().length;
|
||||
};
|
||||
|
||||
|
@ -113,15 +113,15 @@ module.exports = function mpi() {
|
|||
* Converts the mpi object to a string as specified in RFC4880 3.2
|
||||
* @return {String} mpi Byte representation
|
||||
*/
|
||||
this.write = function() {
|
||||
this.write = function () {
|
||||
return this.data.toMPI();
|
||||
};
|
||||
|
||||
this.toBigInteger = function() {
|
||||
this.toBigInteger = function () {
|
||||
return this.data.clone();
|
||||
};
|
||||
|
||||
this.fromBigInteger = function(bn) {
|
||||
this.fromBigInteger = function (bn) {
|
||||
this.data = bn.clone();
|
||||
};
|
||||
}
|
||||
|
@ -141,7 +141,7 @@ module.exports = function mpi() {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -428,7 +428,7 @@ can compute the entire signed message in one pass.</div>
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:56 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -62,7 +62,7 @@ var enums = require('../enums.js'),
|
|||
/**
|
||||
* @constructor
|
||||
*/
|
||||
module.exports = function () {
|
||||
module.exports = function one_pass_signature() {
|
||||
this.version = null; // A one-octet version number. The current version is 3.
|
||||
this.type = null; // A one-octet signature type. Signature types are described in RFC4880 Section 5.2.1.
|
||||
this.hashAlgorithm = null; // A one-octet number describing the hash algorithm used. (See RFC4880 9.4)
|
||||
|
@ -75,7 +75,7 @@ module.exports = function () {
|
|||
* @param {String} bytes payload of a tag 4 packet
|
||||
* @return {module:packet/one_pass_signature} object representation
|
||||
*/
|
||||
this.read = function(bytes) {
|
||||
this.read = function (bytes) {
|
||||
var mypos = 0;
|
||||
// A one-octet version number. The current version is 3.
|
||||
this.version = bytes.charCodeAt(mypos++);
|
||||
|
@ -107,7 +107,7 @@ module.exports = function () {
|
|||
* creates a string representation of a one-pass signature packet
|
||||
* @return {String} a string representation of a one-pass signature packet
|
||||
*/
|
||||
this.write = function() {
|
||||
this.write = function () {
|
||||
var result = "";
|
||||
|
||||
result += String.fromCharCode(3);
|
||||
|
@ -136,7 +136,7 @@ module.exports = function () {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -205,7 +205,7 @@ exports.generateKeyPair = generateKeyPair;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -774,7 +774,7 @@ string
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:56 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -304,7 +304,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -1094,7 +1094,7 @@ class instance.
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:56 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:43 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -42,7 +42,7 @@ var packetParser = require('./packet.js'),
|
|||
/**
|
||||
* @constructor
|
||||
*/
|
||||
module.exports = packetlist = function () {
|
||||
module.exports = function packetlist() {
|
||||
/** The number of packets contained within the list.
|
||||
* @readonly
|
||||
* @type {Integer} */
|
||||
|
@ -52,7 +52,7 @@ module.exports = packetlist = function () {
|
|||
* Reads a stream of binary data and interprents it as a list of packets.
|
||||
* @param {String} A binary string of bytes.
|
||||
*/
|
||||
this.read = function(bytes) {
|
||||
this.read = function (bytes) {
|
||||
var i = 0;
|
||||
|
||||
while (i < bytes.length) {
|
||||
|
@ -73,7 +73,7 @@ module.exports = packetlist = function () {
|
|||
* class instance.
|
||||
* @returns {String} A binary string of bytes containing valid openpgp packets.
|
||||
*/
|
||||
this.write = function() {
|
||||
this.write = function () {
|
||||
var bytes = '';
|
||||
|
||||
for (var i = 0; i < this.length; i++) {
|
||||
|
@ -89,7 +89,7 @@ module.exports = packetlist = function () {
|
|||
* Adds a packet to the list. This is the only supported method of doing so;
|
||||
* writing to packetlist[i] directly will result in an error.
|
||||
*/
|
||||
this.push = function(packet) {
|
||||
this.push = function (packet) {
|
||||
if (!packet) return;
|
||||
|
||||
packet.packets = packet.packets || new packetlist();
|
||||
|
@ -101,7 +101,7 @@ module.exports = packetlist = function () {
|
|||
/**
|
||||
* Creates a new packetList with all packets that pass the test implemented by the provided function.
|
||||
*/
|
||||
this.filter = function(callback) {
|
||||
this.filter = function (callback) {
|
||||
|
||||
var filtered = new packetlist();
|
||||
|
||||
|
@ -117,7 +117,7 @@ module.exports = packetlist = function () {
|
|||
/**
|
||||
* Creates a new packetList with all packets from the given types
|
||||
*/
|
||||
this.filterByTag = function() {
|
||||
this.filterByTag = function () {
|
||||
var args = Array.prototype.slice.call(arguments);
|
||||
var filtered = new packetlist();
|
||||
var that = this;
|
||||
|
@ -134,7 +134,7 @@ module.exports = packetlist = function () {
|
|||
/**
|
||||
* Executes the provided callback once for each element
|
||||
*/
|
||||
this.forEach = function(callback) {
|
||||
this.forEach = function (callback) {
|
||||
for (var i = 0; i < this.length; i++) {
|
||||
callback(this[i]);
|
||||
}
|
||||
|
@ -145,7 +145,7 @@ module.exports = packetlist = function () {
|
|||
* @param {module:enums.packet} type The packet type
|
||||
* @return {module:packet/packet|null}
|
||||
*/
|
||||
this.findPacket = function(type) {
|
||||
this.findPacket = function (type) {
|
||||
var packetlist = this.filterByTag(type);
|
||||
if (packetlist.length) {
|
||||
return packetlist[0];
|
||||
|
@ -164,7 +164,7 @@ module.exports = packetlist = function () {
|
|||
/**
|
||||
* Returns array of found indices by tag
|
||||
*/
|
||||
this.indexOfTag = function() {
|
||||
this.indexOfTag = function () {
|
||||
var args = Array.prototype.slice.call(arguments);
|
||||
var tagIndex = [];
|
||||
var that = this;
|
||||
|
@ -179,7 +179,7 @@ module.exports = packetlist = function () {
|
|||
/**
|
||||
* Returns slice of packetlist
|
||||
*/
|
||||
this.slice = function(begin, end) {
|
||||
this.slice = function (begin, end) {
|
||||
if (!end) {
|
||||
end = this.length
|
||||
}
|
||||
|
@ -193,7 +193,7 @@ module.exports = packetlist = function () {
|
|||
/**
|
||||
* Concatenates packetlist or array of packets
|
||||
*/
|
||||
this.concat = function(packetlist) {
|
||||
this.concat = function (packetlist) {
|
||||
if (packetlist) {
|
||||
for (var i = 0; i < packetlist.length; i++) {
|
||||
this.push(packetlist[i]);
|
||||
|
@ -218,7 +218,7 @@ module.exports = packetlist = function () {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -185,7 +185,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:53 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:41 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -185,7 +185,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -296,7 +296,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:53 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:41 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -66,7 +66,7 @@ var util = require('../util'),
|
|||
/**
|
||||
* @constructor
|
||||
*/
|
||||
module.exports = function () {
|
||||
module.exports = function public_key() {
|
||||
this.version = 4;
|
||||
/** Key creation date.
|
||||
* @type {Date} */
|
||||
|
@ -88,7 +88,7 @@ module.exports = function () {
|
|||
* @param {String} input Input string to read the packet from
|
||||
* @return {Object} This object with attributes set by the parser
|
||||
*/
|
||||
this.read = function(bytes) {
|
||||
this.read = function (bytes) {
|
||||
var pos = 0;
|
||||
// A one-octet version number (3 or 4).
|
||||
this.version = bytes.charCodeAt(pos++);
|
||||
|
@ -144,7 +144,7 @@ module.exports = function () {
|
|||
* @return {Object} {body: [string]OpenPGP packet body contents,
|
||||
* header: [string] OpenPGP packet header, string: [string] header+body}
|
||||
*/
|
||||
this.write = function() {
|
||||
this.write = function () {
|
||||
// Version
|
||||
var result = String.fromCharCode(this.version);
|
||||
result += util.writeDate(this.created);
|
||||
|
@ -172,7 +172,7 @@ module.exports = function () {
|
|||
/**
|
||||
* Write an old version packet - it's used by some of the internal routines.
|
||||
*/
|
||||
this.writeOld = function() {
|
||||
this.writeOld = function () {
|
||||
var bytes = this.writePublicKey();
|
||||
|
||||
return String.fromCharCode(0x99) +
|
||||
|
@ -184,7 +184,7 @@ module.exports = function () {
|
|||
* Calculates the key id of the key
|
||||
* @return {String} A 8 byte key id
|
||||
*/
|
||||
this.getKeyId = function() {
|
||||
this.getKeyId = function () {
|
||||
var keyid = new type_keyid();
|
||||
if (this.version == 4) {
|
||||
keyid.read(this.getFingerprint().substr(12, 8));
|
||||
|
@ -198,7 +198,7 @@ module.exports = function () {
|
|||
* Calculates the fingerprint of the key
|
||||
* @return {String} A string containing the fingerprint
|
||||
*/
|
||||
this.getFingerprint = function() {
|
||||
this.getFingerprint = function () {
|
||||
var toHash = '';
|
||||
if (this.version == 4) {
|
||||
toHash = this.writeOld();
|
||||
|
@ -228,7 +228,7 @@ module.exports = function () {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -1035,7 +1035,7 @@ header: [string] OpenPGP packet header, string: [string] header+body}
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:56 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:44 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -833,7 +833,7 @@ packets (tag 1)
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:56 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:44 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -73,7 +73,7 @@ var type_keyid = require('../type/keyid.js'),
|
|||
/**
|
||||
* @constructor
|
||||
*/
|
||||
module.exports = function () {
|
||||
module.exports = function public_key_encrypted_session_key() {
|
||||
this.version = 3;
|
||||
|
||||
this.publicKeyId = new type_keyid();
|
||||
|
@ -94,7 +94,7 @@ module.exports = function () {
|
|||
* input at position
|
||||
* @return {module:packet/public_key_encrypted_session_key} Object representation
|
||||
*/
|
||||
this.read = function(bytes) {
|
||||
this.read = function (bytes) {
|
||||
|
||||
this.version = bytes.charCodeAt(0);
|
||||
this.publicKeyId.read(bytes.substr(1));
|
||||
|
@ -143,7 +143,7 @@ module.exports = function () {
|
|||
* A string of randombytes representing the session key
|
||||
* @return {String} The string representation
|
||||
*/
|
||||
this.write = function() {
|
||||
this.write = function () {
|
||||
|
||||
var result = String.fromCharCode(this.version);
|
||||
result += this.publicKeyId.write();
|
||||
|
@ -157,7 +157,7 @@ module.exports = function () {
|
|||
return result;
|
||||
};
|
||||
|
||||
this.encrypt = function(key) {
|
||||
this.encrypt = function (key) {
|
||||
var data = String.fromCharCode(
|
||||
enums.write(enums.symmetric, this.sessionKeyAlgorithm));
|
||||
|
||||
|
@ -184,7 +184,7 @@ module.exports = function () {
|
|||
* Private key with secMPIs unlocked
|
||||
* @return {String} The unencrypted session key
|
||||
*/
|
||||
this.decrypt = function(key) {
|
||||
this.decrypt = function (key) {
|
||||
var result = crypto.publicKeyDecrypt(
|
||||
this.publicKeyAlgorithm,
|
||||
key.mpi,
|
||||
|
@ -223,7 +223,7 @@ module.exports = function () {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -1070,7 +1070,7 @@ header: [string] OpenPGP packet header, string: [string] header+body}
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:56 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:44 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -53,7 +53,7 @@ var publicKey = require('./public_key.js');
|
|||
* @constructor
|
||||
* @extends module:packet/public_key
|
||||
*/
|
||||
module.exports = function () {
|
||||
module.exports = function public_subkey() {
|
||||
publicKey.call(this);
|
||||
}
|
||||
</code></pre>
|
||||
|
@ -72,7 +72,7 @@ module.exports = function () {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -723,7 +723,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:54 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:41 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -150,7 +150,7 @@ module.exports = {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:53 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:41 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -336,7 +336,7 @@ module.exports = RMDstring;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:54 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:41 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -193,7 +193,7 @@ module.exports = RSA;
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:51 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -758,7 +758,7 @@ hashAlgorithm hash length
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:57 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:45 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -78,7 +78,7 @@ module.exports = function s2k() {
|
|||
// Exponent bias, defined in RFC4880
|
||||
var expbias = 6;
|
||||
|
||||
this.get_count = function() {
|
||||
this.get_count = function () {
|
||||
return (16 + (this.c & 15)) << ((this.c >> 4) + expbias);
|
||||
};
|
||||
|
||||
|
@ -87,7 +87,7 @@ module.exports = function s2k() {
|
|||
* @param {String} input Payload of string-to-key specifier
|
||||
* @return {Integer} Actual length of the object
|
||||
*/
|
||||
this.read = function(bytes) {
|
||||
this.read = function (bytes) {
|
||||
var i = 0;
|
||||
this.type = enums.read(enums.s2k, bytes.charCodeAt(i++));
|
||||
this.algorithm = enums.read(enums.hash, bytes.charCodeAt(i++));
|
||||
|
@ -137,7 +137,7 @@ module.exports = function s2k() {
|
|||
* writes an s2k hash based on the inputs.
|
||||
* @return {String} Produced key of hashAlgorithm hash length
|
||||
*/
|
||||
this.write = function() {
|
||||
this.write = function () {
|
||||
var bytes = String.fromCharCode(enums.write(enums.s2k, this.type));
|
||||
bytes += String.fromCharCode(enums.write(enums.hash, this.algorithm));
|
||||
|
||||
|
@ -163,7 +163,7 @@ module.exports = function s2k() {
|
|||
* @return {String} Produced key with a length corresponding to
|
||||
* hashAlgorithm hash length
|
||||
*/
|
||||
this.produce_key = function(passphrase, numBytes) {
|
||||
this.produce_key = function (passphrase, numBytes) {
|
||||
passphrase = util.encode_utf8(passphrase);
|
||||
|
||||
function round(prefix, s2k) {
|
||||
|
@ -221,7 +221,7 @@ module.exports = function s2k() {
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:52 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:39 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
|
@ -1241,7 +1241,7 @@ to key specifier
|
|||
<br clear="both">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Dec 26 2013 22:42:56 GMT-0800 (PST)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.0</a> on Thu Jan 02 2014 13:02:44 GMT-0800 (PST)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user