r2-lcp-js
Version:
Readium 2 LCP bits for NodeJS (TypeScript)
26 lines • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Encryption = void 0;
const tslib_1 = require("tslib");
const ta_json_x_1 = require("ta-json-x");
const lcp_contentkey_1 = require("./lcp-contentkey");
const lcp_userkey_1 = require("./lcp-userkey");
let Encryption = class Encryption {
};
exports.Encryption = Encryption;
tslib_1.__decorate([
(0, ta_json_x_1.JsonProperty)("profile"),
tslib_1.__metadata("design:type", String)
], Encryption.prototype, "Profile", void 0);
tslib_1.__decorate([
(0, ta_json_x_1.JsonProperty)("content_key"),
tslib_1.__metadata("design:type", lcp_contentkey_1.ContentKey)
], Encryption.prototype, "ContentKey", void 0);
tslib_1.__decorate([
(0, ta_json_x_1.JsonProperty)("user_key"),
tslib_1.__metadata("design:type", lcp_userkey_1.UserKey)
], Encryption.prototype, "UserKey", void 0);
exports.Encryption = Encryption = tslib_1.__decorate([
(0, ta_json_x_1.JsonObject)()
], Encryption);
//# sourceMappingURL=lcp-encryption.js.map