r2-shared-js
Version:
Readium 2 'shared' for NodeJS (TypeScript)
24 lines • 980 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CipherReference = void 0;
var tslib_1 = require("tslib");
var xml_js_mapper_1 = require("r2-utils-js/dist/es5/src/_utils/xml-js-mapper");
var CipherReference = (function () {
function CipherReference() {
}
tslib_1.__decorate([
(0, xml_js_mapper_1.XmlXPathSelector)("@URI"),
tslib_1.__metadata("design:type", String)
], CipherReference.prototype, "URI", void 0);
CipherReference = 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",
})
], CipherReference);
return CipherReference;
}());
exports.CipherReference = CipherReference;
//# sourceMappingURL=encryption-cypherreference.js.map