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