r2-shared-js
Version:
Readium 2 'shared' for NodeJS (TypeScript)
25 lines • 1.12 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EncryptionProperty = void 0;
var tslib_1 = require("tslib");
var xml_js_mapper_1 = require("r2-utils-js/dist/es5/src/_utils/xml-js-mapper");
var encryption_compression_1 = require("./encryption-compression");
var EncryptionProperty = (function () {
function EncryptionProperty() {
}
tslib_1.__decorate([
(0, xml_js_mapper_1.XmlXPathSelector)("ns:Compression"),
tslib_1.__metadata("design:type", encryption_compression_1.Compression)
], EncryptionProperty.prototype, "Compression", void 0);
EncryptionProperty = 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",
})
], EncryptionProperty);
return EncryptionProperty;
}());
exports.EncryptionProperty = EncryptionProperty;
//# sourceMappingURL=encryption-property.js.map