UNPKG

keybase-proofs

Version:

Publicly-verifiable proofs of identity

67 lines (48 loc) 1.88 kB
// Generated by IcedCoffeeScript 108.0.11 (function() { var Base, Sibkey, Subkey, SubkeyBase, constants, _ref, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; Base = require('./base').Base; constants = require('./constants').constants; _ref = require('./subkey'), Subkey = _ref.Subkey, SubkeyBase = _ref.SubkeyBase; exports.Sibkey = Sibkey = (function(_super) { __extends(Sibkey, _super); Sibkey.prototype.get_key_field = function() { return "sibkey"; }; Sibkey.prototype.get_new_key_section = function() { return this.sibkey; }; Sibkey.prototype.set_new_key_section = function(s) { return this.sibkey = s; }; Sibkey.prototype.get_new_km = function() { return this.sibkm; }; Sibkey.prototype._type = function() { return constants.sig_types.sibkey; }; Sibkey.prototype._type_v2 = function() { return constants.sig_types_v2.sibkey; }; Sibkey.prototype.need_reverse_sig = function() { return true; }; Sibkey.prototype._v_include_pgp_details = function() { return true; }; Sibkey.prototype._required_sections = function() { return Sibkey.__super__._required_sections.call(this).concat(["sibkey"]); }; Sibkey.prototype._optional_sections = function() { return Sibkey.__super__._optional_sections.call(this).concat(["revoke"]); }; function Sibkey(obj) { this.sibkey = obj.sibkey; this.sibkm = obj.sibkm; Sibkey.__super__.constructor.call(this, obj); } return Sibkey; })(SubkeyBase); }).call(this);