r2-shared-js
Version:
Readium 2 'shared' for NodeJS (TypeScript)
23 lines • 996 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Encryption = void 0;
const tslib_1 = require("tslib");
const xml_js_mapper_1 = require("r2-utils-js/dist/es6-es2015/src/_utils/xml-js-mapper");
const encryption_data_1 = require("./encryption-data");
let Encryption = class Encryption {
};
exports.Encryption = Encryption;
tslib_1.__decorate([
(0, xml_js_mapper_1.XmlXPathSelector)("enc:EncryptedData"),
(0, xml_js_mapper_1.XmlItemType)(encryption_data_1.EncryptedData),
tslib_1.__metadata("design:type", Array)
], Encryption.prototype, "EncryptedData", void 0);
exports.Encryption = Encryption = tslib_1.__decorate([
(0, xml_js_mapper_1.XmlObject)({
ds: "http://www.w3.org/2000/09/xmldsig#",
enc: "http://www.w3.org/2001/04/xmlenc#",
encryption: "urn:oasis:names:tc:opendocument:xmlns:container",
ns: "http://www.idpf.org/2016/encryption#compression",
})
], Encryption);
//# sourceMappingURL=encryption.js.map