1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.Encrypted = void 0;
|
4 | const tslib_1 = require("tslib");
|
5 | const ta_json_x_1 = require("ta-json-x");
|
6 | let Encrypted = class Encrypted {
|
7 | constructor() {
|
8 | this.DecryptedLengthBeforeInflate = -1;
|
9 | this.CypherBlockPadding = -1;
|
10 | }
|
11 | get OriginalLength() {
|
12 | return typeof this.OriginalLength2 !== "undefined" ? this.OriginalLength2 : this.OriginalLength1;
|
13 | }
|
14 | set OriginalLength(length) {
|
15 | if (typeof length !== "undefined") {
|
16 | this.OriginalLength1 = undefined;
|
17 | this.OriginalLength2 = length;
|
18 | }
|
19 | }
|
20 | };
|
21 | tslib_1.__decorate([
|
22 | (0, ta_json_x_1.JsonProperty)("scheme"),
|
23 | tslib_1.__metadata("design:type", String)
|
24 | ], Encrypted.prototype, "Scheme", void 0);
|
25 | tslib_1.__decorate([
|
26 | (0, ta_json_x_1.JsonProperty)("profile"),
|
27 | tslib_1.__metadata("design:type", String)
|
28 | ], Encrypted.prototype, "Profile", void 0);
|
29 | tslib_1.__decorate([
|
30 | (0, ta_json_x_1.JsonProperty)("algorithm"),
|
31 | tslib_1.__metadata("design:type", String)
|
32 | ], Encrypted.prototype, "Algorithm", void 0);
|
33 | tslib_1.__decorate([
|
34 | (0, ta_json_x_1.JsonProperty)("compression"),
|
35 | tslib_1.__metadata("design:type", String)
|
36 | ], Encrypted.prototype, "Compression", void 0);
|
37 | tslib_1.__decorate([
|
38 | (0, ta_json_x_1.JsonProperty)("originalLength"),
|
39 | tslib_1.__metadata("design:type", Number)
|
40 | ], Encrypted.prototype, "OriginalLength2", void 0);
|
41 | tslib_1.__decorate([
|
42 | (0, ta_json_x_1.JsonProperty)("original-length"),
|
43 | tslib_1.__metadata("design:type", Object)
|
44 | ], Encrypted.prototype, "OriginalLength1", void 0);
|
45 | Encrypted = tslib_1.__decorate([
|
46 | (0, ta_json_x_1.JsonObject)()
|
47 | ], Encrypted);
|
48 | exports.Encrypted = Encrypted;
|
49 |
|
\ | No newline at end of file |