@kong-ui-public/entities-certificates 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as te, defineComponent as Be, inject as ul, computed as L, resolveComponent as ee, openBlock as _, createElementBlock as K, createElementVNode as oe, normalizeClass as Qt, toDisplayString as M, createCommentVNode as Ie, createBlock as fe, resolveDynamicComponent as
|
|
2
|
-
import { useRouter as
|
|
1
|
+
import { ref as te, defineComponent as Be, inject as ul, computed as L, resolveComponent as ee, openBlock as _, createElementBlock as K, createElementVNode as oe, normalizeClass as Qt, toDisplayString as M, createCommentVNode as Ie, createBlock as fe, resolveDynamicComponent as an, mergeProps as Po, withCtx as x, createVNode as $, withModifiers as yr, unref as k, watch as or, renderSlot as Ce, useCssVars as _f, useSlots as $o, createSlots as gr, createTextVNode as ue, normalizeProps as Nf, guardReactiveProps as Of, Fragment as Fe, renderList as Ue, onBeforeMount as cn, withDirectives as Ci, vShow as Bi, onMounted as Tf, onUnmounted as jf, reactive as Ni } from "vue";
|
|
2
|
+
import { useRouter as ai } from "vue-router";
|
|
3
3
|
import { createI18n as ln, i18nTComponent as fl } from "@kong-ui-public/i18n";
|
|
4
4
|
import Pf from "axios";
|
|
5
5
|
import { MethodsArray as $f } from "@kong/kongponents";
|
|
@@ -111,7 +111,7 @@ var _a;
|
|
|
111
111
|
function T(S, C) {
|
|
112
112
|
if (!ie(S))
|
|
113
113
|
throw new TypeError();
|
|
114
|
-
return W(C) || (C = we(C)),
|
|
114
|
+
return W(C) || (C = we(C)), fr(S, C);
|
|
115
115
|
}
|
|
116
116
|
e("getMetadataKeys", T);
|
|
117
117
|
function ce(S, C) {
|
|
@@ -189,7 +189,7 @@ var _a;
|
|
|
189
189
|
/*Create*/
|
|
190
190
|
!1
|
|
191
191
|
);
|
|
192
|
-
return W(V) ? !1 :
|
|
192
|
+
return W(V) ? !1 : dr(V.has(S));
|
|
193
193
|
}
|
|
194
194
|
function Le(S, C, O) {
|
|
195
195
|
var V = ke(S, C, O);
|
|
@@ -218,11 +218,11 @@ var _a;
|
|
|
218
218
|
);
|
|
219
219
|
Y.set(S, C);
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function fr(S, C) {
|
|
222
222
|
var O = jt(S, C), V = is(S);
|
|
223
223
|
if (V === null)
|
|
224
224
|
return O;
|
|
225
|
-
var Y =
|
|
225
|
+
var Y = fr(V, C);
|
|
226
226
|
if (Y.length <= 0)
|
|
227
227
|
return O;
|
|
228
228
|
if (O.length <= 0)
|
|
@@ -349,7 +349,7 @@ var _a;
|
|
|
349
349
|
}
|
|
350
350
|
throw new TypeError();
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function dr(S) {
|
|
353
353
|
return !!S;
|
|
354
354
|
}
|
|
355
355
|
function ne(S) {
|
|
@@ -926,7 +926,7 @@ function dl(r, e) {
|
|
|
926
926
|
/*!
|
|
927
927
|
Copyright (c) Peculiar Ventures, LLC
|
|
928
928
|
*/
|
|
929
|
-
function
|
|
929
|
+
function vr(r, e) {
|
|
930
930
|
let t = 0;
|
|
931
931
|
if (r.length === 1)
|
|
932
932
|
return r[0];
|
|
@@ -977,10 +977,10 @@ function pl() {
|
|
|
977
977
|
for (let u = 0; u < this.valueHex.byteLength; u++)
|
|
978
978
|
t[u] = 0;
|
|
979
979
|
t[0] = r[0] & 128;
|
|
980
|
-
const i =
|
|
980
|
+
const i = vr(t, 8), n = new ArrayBuffer(this.valueHex.byteLength), s = new Uint8Array(n);
|
|
981
981
|
for (let u = 0; u < this.valueHex.byteLength; u++)
|
|
982
982
|
s[u] = r[u];
|
|
983
|
-
return s[0] &= 127,
|
|
983
|
+
return s[0] &= 127, vr(s, 8) - i;
|
|
984
984
|
}
|
|
985
985
|
function Lf(r) {
|
|
986
986
|
const e = r < 0 ? r * -1 : r;
|
|
@@ -1056,7 +1056,7 @@ function Ye(r, e) {
|
|
|
1056
1056
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1057
1057
|
*
|
|
1058
1058
|
*/
|
|
1059
|
-
function
|
|
1059
|
+
function Oi() {
|
|
1060
1060
|
if (typeof BigInt > "u")
|
|
1061
1061
|
throw new Error("BigInt is not defined. Your environment doesn't implement BigInt.");
|
|
1062
1062
|
}
|
|
@@ -1122,7 +1122,7 @@ function ht(r) {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
}, e.NAME = "hexBlock", e;
|
|
1124
1124
|
}
|
|
1125
|
-
class
|
|
1125
|
+
class ar {
|
|
1126
1126
|
constructor({ blockLength: e = 0, error: t = Ke, warnings: i = [], valueBeforeDecode: n = fn } = {}) {
|
|
1127
1127
|
this.blockLength = e, this.error = t, this.warnings = i, this.valueBeforeDecodeView = U.toUint8Array(n);
|
|
1128
1128
|
}
|
|
@@ -1145,8 +1145,8 @@ class or {
|
|
|
1145
1145
|
};
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
|
-
|
|
1149
|
-
class De extends
|
|
1148
|
+
ar.NAME = "baseBlock";
|
|
1149
|
+
class De extends ar {
|
|
1150
1150
|
fromBER(e, t, i) {
|
|
1151
1151
|
throw TypeError("User need to make a specific function in a class which extends 'ValueBlock'");
|
|
1152
1152
|
}
|
|
@@ -1155,7 +1155,7 @@ class De extends or {
|
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
1157
|
De.NAME = "valueBlock";
|
|
1158
|
-
class gl extends ht(
|
|
1158
|
+
class gl extends ht(ar) {
|
|
1159
1159
|
constructor({ idBlock: e = {} } = {}) {
|
|
1160
1160
|
var t, i, n, s;
|
|
1161
1161
|
super(), e ? (this.isHexOnly = (t = e.isHexOnly) !== null && t !== void 0 ? t : !1, this.valueHexView = e.valueHex ? U.toUint8Array(e.valueHex) : fn, this.tagClass = (i = e.tagClass) !== null && i !== void 0 ? i : -1, this.tagNumber = (n = e.tagNumber) !== null && n !== void 0 ? n : -1, this.isConstructed = (s = e.isConstructed) !== null && s !== void 0 ? s : !1) : (this.tagClass = -1, this.tagNumber = -1, this.isConstructed = !1);
|
|
@@ -1248,7 +1248,7 @@ class gl extends ht(or) {
|
|
|
1248
1248
|
const b = new Uint8Array(c);
|
|
1249
1249
|
for (let P = 0; P < c; P++)
|
|
1250
1250
|
b[P] = f[P];
|
|
1251
|
-
f = this.valueHexView = new Uint8Array(c), f.set(b), this.blockLength <= 9 ? this.tagNumber =
|
|
1251
|
+
f = this.valueHexView = new Uint8Array(c), f.set(b), this.blockLength <= 9 ? this.tagNumber = vr(f, 7) : (this.isHexOnly = !0, this.warnings.push("Tag too long, represented as hex-coded"));
|
|
1252
1252
|
}
|
|
1253
1253
|
if (this.tagClass === 1 && this.isConstructed)
|
|
1254
1254
|
switch (this.tagNumber) {
|
|
@@ -1279,7 +1279,7 @@ class gl extends ht(or) {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
1281
1281
|
gl.NAME = "identificationBlock";
|
|
1282
|
-
class vl extends
|
|
1282
|
+
class vl extends ar {
|
|
1283
1283
|
constructor({ lenBlock: e = {} } = {}) {
|
|
1284
1284
|
var t, i, n;
|
|
1285
1285
|
super(), this.isIndefiniteForm = (t = e.isIndefiniteForm) !== null && t !== void 0 ? t : !1, this.longFormUsed = (i = e.longFormUsed) !== null && i !== void 0 ? i : !1, this.length = (n = e.length) !== null && n !== void 0 ? n : 0;
|
|
@@ -1303,7 +1303,7 @@ class vl extends or {
|
|
|
1303
1303
|
if (a + 1 > s.length)
|
|
1304
1304
|
return this.error = "End of input reached before message was fully decoded", -1;
|
|
1305
1305
|
const u = t + 1, c = n.subarray(u, u + a);
|
|
1306
|
-
return c[a - 1] === 0 && this.warnings.push("Needlessly long encoded length"), this.length =
|
|
1306
|
+
return c[a - 1] === 0 && this.warnings.push("Needlessly long encoded length"), this.length = vr(c, 8), this.longFormUsed && this.length <= 127 && this.warnings.push("Unnecessary usage of long length form"), this.blockLength = a + 1, t + this.blockLength;
|
|
1307
1307
|
}
|
|
1308
1308
|
toBER(e = !1) {
|
|
1309
1309
|
let t, i;
|
|
@@ -1334,7 +1334,7 @@ class vl extends or {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
vl.NAME = "lengthBlock";
|
|
1336
1336
|
const D = {};
|
|
1337
|
-
class Te extends
|
|
1337
|
+
class Te extends ar {
|
|
1338
1338
|
constructor({ name: e = Ke, optional: t = !1, primitiveSchema: i, ...n } = {}, s) {
|
|
1339
1339
|
super(n), this.name = e, this.optional = t, i && (this.primitiveSchema = i), this.idBlock = new gl(n), this.lenBlock = new vl(n), this.valueBlock = s ? new s(n) : new De(n);
|
|
1340
1340
|
}
|
|
@@ -1415,14 +1415,14 @@ class bl extends ht(De) {
|
|
|
1415
1415
|
}
|
|
1416
1416
|
bl.NAME = "PrimitiveValueBlock";
|
|
1417
1417
|
var wl;
|
|
1418
|
-
class
|
|
1418
|
+
class ci extends Te {
|
|
1419
1419
|
constructor(e = {}) {
|
|
1420
1420
|
super(e, bl), this.idBlock.isConstructed = !1;
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
|
-
wl =
|
|
1423
|
+
wl = ci;
|
|
1424
1424
|
D.Primitive = wl;
|
|
1425
|
-
|
|
1425
|
+
ci.NAME = "PRIMITIVE";
|
|
1426
1426
|
function Zf(r, e) {
|
|
1427
1427
|
if (r instanceof e)
|
|
1428
1428
|
return r;
|
|
@@ -1432,7 +1432,7 @@ function Zf(r, e) {
|
|
|
1432
1432
|
function Tr(r, e = 0, t = r.length) {
|
|
1433
1433
|
const i = e;
|
|
1434
1434
|
let n = new Te({}, De);
|
|
1435
|
-
const s = new
|
|
1435
|
+
const s = new ar();
|
|
1436
1436
|
if (!_t(s, r, e, t))
|
|
1437
1437
|
return n.error = s.error, {
|
|
1438
1438
|
offset: -1,
|
|
@@ -1585,7 +1585,7 @@ function Tr(r, e = 0, t = r.length) {
|
|
|
1585
1585
|
result: n
|
|
1586
1586
|
};
|
|
1587
1587
|
}
|
|
1588
|
-
function
|
|
1588
|
+
function hr(r) {
|
|
1589
1589
|
if (!r.byteLength) {
|
|
1590
1590
|
const e = new Te({}, De);
|
|
1591
1591
|
return e.error = "Input buffer has zero length", {
|
|
@@ -2075,10 +2075,10 @@ class ft extends Te {
|
|
|
2075
2075
|
super(e, Mo), this.idBlock.tagClass = 1, this.idBlock.tagNumber = 2;
|
|
2076
2076
|
}
|
|
2077
2077
|
toBigInt() {
|
|
2078
|
-
return
|
|
2078
|
+
return Oi(), BigInt(this.valueBlock.toString());
|
|
2079
2079
|
}
|
|
2080
2080
|
static fromBigInt(e) {
|
|
2081
|
-
|
|
2081
|
+
Oi();
|
|
2082
2082
|
const t = BigInt(e), i = new un(), n = t.toString(16).replace(/^-/, ""), s = new Uint8Array(H.FromHex(n));
|
|
2083
2083
|
if (t < 0) {
|
|
2084
2084
|
const u = new Uint8Array(s.length + (s[0] & 128 ? 1 : 0));
|
|
@@ -2133,10 +2133,10 @@ class ms extends ht(De) {
|
|
|
2133
2133
|
const a = new Uint8Array(this.blockLength);
|
|
2134
2134
|
for (let u = 0; u < this.blockLength; u++)
|
|
2135
2135
|
a[u] = this.valueHexView[u];
|
|
2136
|
-
return this.valueHexView = a, s[this.blockLength - 1] & 128 ? (this.error = "End of input reached before message was fully decoded", -1) : (this.valueHexView[0] === 0 && this.warnings.push("Needlessly long format of SID encoding"), this.blockLength <= 8 ? this.valueDec =
|
|
2136
|
+
return this.valueHexView = a, s[this.blockLength - 1] & 128 ? (this.error = "End of input reached before message was fully decoded", -1) : (this.valueHexView[0] === 0 && this.warnings.push("Needlessly long format of SID encoding"), this.blockLength <= 8 ? this.valueDec = vr(this.valueHexView, 7) : (this.isHexOnly = !0, this.warnings.push("Too big SID for decoding, hex only")), t + this.blockLength);
|
|
2137
2137
|
}
|
|
2138
2138
|
set valueBigInt(e) {
|
|
2139
|
-
|
|
2139
|
+
Oi();
|
|
2140
2140
|
let t = BigInt(e).toString(2);
|
|
2141
2141
|
for (; t.length % 7; )
|
|
2142
2142
|
t = "0" + t;
|
|
@@ -2237,7 +2237,7 @@ class $l extends De {
|
|
|
2237
2237
|
} else {
|
|
2238
2238
|
const a = new ms();
|
|
2239
2239
|
if (n > Number.MAX_SAFE_INTEGER) {
|
|
2240
|
-
|
|
2240
|
+
Oi();
|
|
2241
2241
|
const u = BigInt(n);
|
|
2242
2242
|
a.valueBigInt = u;
|
|
2243
2243
|
} else if (a.valueDec = parseInt(n, 10), isNaN(a.valueDec))
|
|
@@ -2291,7 +2291,7 @@ class hn extends Te {
|
|
|
2291
2291
|
Rl = hn;
|
|
2292
2292
|
D.ObjectIdentifier = Rl;
|
|
2293
2293
|
hn.NAME = "OBJECT IDENTIFIER";
|
|
2294
|
-
class bs extends ht(
|
|
2294
|
+
class bs extends ht(ar) {
|
|
2295
2295
|
constructor({ valueDec: e = 0, ...t } = {}) {
|
|
2296
2296
|
super(t), this.valueDec = e;
|
|
2297
2297
|
}
|
|
@@ -2308,7 +2308,7 @@ class bs extends ht(or) {
|
|
|
2308
2308
|
const a = new Uint8Array(this.blockLength);
|
|
2309
2309
|
for (let u = 0; u < this.blockLength; u++)
|
|
2310
2310
|
a[u] = this.valueHexView[u];
|
|
2311
|
-
return this.valueHexView = a, s[this.blockLength - 1] & 128 ? (this.error = "End of input reached before message was fully decoded", -1) : (this.valueHexView[0] === 0 && this.warnings.push("Needlessly long format of SID encoding"), this.blockLength <= 8 ? this.valueDec =
|
|
2311
|
+
return this.valueHexView = a, s[this.blockLength - 1] & 128 ? (this.error = "End of input reached before message was fully decoded", -1) : (this.valueHexView[0] === 0 && this.warnings.push("Needlessly long format of SID encoding"), this.blockLength <= 8 ? this.valueDec = vr(this.valueHexView, 7) : (this.isHexOnly = !0, this.warnings.push("Too big SID for decoding, hex only")), t + this.blockLength);
|
|
2312
2312
|
}
|
|
2313
2313
|
toBER(e) {
|
|
2314
2314
|
if (this.isHexOnly) {
|
|
@@ -2598,14 +2598,14 @@ eu = kn;
|
|
|
2598
2598
|
D.GraphicString = eu;
|
|
2599
2599
|
kn.NAME = "GraphicString";
|
|
2600
2600
|
var tu;
|
|
2601
|
-
class
|
|
2601
|
+
class li extends Xe {
|
|
2602
2602
|
constructor(e = {}) {
|
|
2603
2603
|
super(e), this.idBlock.tagClass = 1, this.idBlock.tagNumber = 26;
|
|
2604
2604
|
}
|
|
2605
2605
|
}
|
|
2606
|
-
tu =
|
|
2606
|
+
tu = li;
|
|
2607
2607
|
D.VisibleString = tu;
|
|
2608
|
-
|
|
2608
|
+
li.NAME = "VisibleString";
|
|
2609
2609
|
var ru;
|
|
2610
2610
|
class An extends Xe {
|
|
2611
2611
|
constructor(e = {}) {
|
|
@@ -2625,7 +2625,7 @@ iu = xn;
|
|
|
2625
2625
|
D.CharacterString = iu;
|
|
2626
2626
|
xn.NAME = "CharacterString";
|
|
2627
2627
|
var nu;
|
|
2628
|
-
class
|
|
2628
|
+
class ui extends li {
|
|
2629
2629
|
constructor({ value: e, valueDate: t, ...i } = {}) {
|
|
2630
2630
|
if (super(i), this.year = 0, this.month = 0, this.day = 0, this.hour = 0, this.minute = 0, this.second = 0, e) {
|
|
2631
2631
|
this.fromString(e), this.valueBlock.valueHexView = new Uint8Array(e.length);
|
|
@@ -2680,11 +2680,11 @@ class fi extends ui {
|
|
|
2680
2680
|
};
|
|
2681
2681
|
}
|
|
2682
2682
|
}
|
|
2683
|
-
nu =
|
|
2683
|
+
nu = ui;
|
|
2684
2684
|
D.UTCTime = nu;
|
|
2685
|
-
|
|
2685
|
+
ui.NAME = "UTCTime";
|
|
2686
2686
|
var su;
|
|
2687
|
-
class Cn extends
|
|
2687
|
+
class Cn extends ui {
|
|
2688
2688
|
constructor(e = {}) {
|
|
2689
2689
|
var t;
|
|
2690
2690
|
super(e), (t = this.millisecond) !== null && t !== void 0 || (this.millisecond = 0), this.idBlock.tagClass = 1, this.idBlock.tagNumber = 24;
|
|
@@ -2862,7 +2862,7 @@ class zo extends tr {
|
|
|
2862
2862
|
super(t), this.value = e;
|
|
2863
2863
|
}
|
|
2864
2864
|
}
|
|
2865
|
-
class
|
|
2865
|
+
class Ti extends tr {
|
|
2866
2866
|
constructor({ value: e = new tr(), local: t = !1, ...i } = {}) {
|
|
2867
2867
|
super(i), this.value = e, this.local = t;
|
|
2868
2868
|
}
|
|
@@ -3015,7 +3015,7 @@ function qt(r, e, t) {
|
|
|
3015
3015
|
error: "Unknown error"
|
|
3016
3016
|
}
|
|
3017
3017
|
}, u = t.valueBlock.value.length;
|
|
3018
|
-
if (u > 0 && t.valueBlock.value[0] instanceof
|
|
3018
|
+
if (u > 0 && t.valueBlock.value[0] instanceof Ti && (u = e.valueBlock.value.length), u === 0)
|
|
3019
3019
|
return {
|
|
3020
3020
|
verified: !0,
|
|
3021
3021
|
result: r
|
|
@@ -3041,7 +3041,7 @@ function qt(r, e, t) {
|
|
|
3041
3041
|
};
|
|
3042
3042
|
return r.error = "Inconsistent length between ASN.1 data and schema", t.name && (t.name = t.name.replace(/^\s+|\s+$/g, Ke), t.name && (delete r[t.name], f.name = t.name)), f;
|
|
3043
3043
|
}
|
|
3044
|
-
} else if (t.valueBlock.value[0] instanceof
|
|
3044
|
+
} else if (t.valueBlock.value[0] instanceof Ti) {
|
|
3045
3045
|
if (a = qt(r, e.valueBlock.value[c], t.valueBlock.value[0].value), a.verified === !1)
|
|
3046
3046
|
if (t.valueBlock.value[0].optional)
|
|
3047
3047
|
s++;
|
|
@@ -3122,25 +3122,25 @@ const fu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3122
3122
|
NumericString: vn,
|
|
3123
3123
|
ObjectIdentifier: hn,
|
|
3124
3124
|
OctetString: Gt,
|
|
3125
|
-
Primitive:
|
|
3125
|
+
Primitive: ci,
|
|
3126
3126
|
PrintableString: mn,
|
|
3127
3127
|
RawData: td,
|
|
3128
3128
|
RelativeObjectIdentifier: Do,
|
|
3129
|
-
Repeated:
|
|
3129
|
+
Repeated: Ti,
|
|
3130
3130
|
Sequence: kt,
|
|
3131
3131
|
Set: At,
|
|
3132
3132
|
TIME: qo,
|
|
3133
3133
|
TeletexString: bn,
|
|
3134
3134
|
TimeOfDay: Ho,
|
|
3135
|
-
UTCTime:
|
|
3135
|
+
UTCTime: ui,
|
|
3136
3136
|
UniversalString: gn,
|
|
3137
3137
|
Utf8String: Nt,
|
|
3138
3138
|
ValueBlock: De,
|
|
3139
3139
|
VideotexString: wn,
|
|
3140
3140
|
ViewWriter: un,
|
|
3141
|
-
VisibleString:
|
|
3141
|
+
VisibleString: li,
|
|
3142
3142
|
compareSchema: qt,
|
|
3143
|
-
fromBER:
|
|
3143
|
+
fromBER: hr,
|
|
3144
3144
|
verifySchema: rd
|
|
3145
3145
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3146
3146
|
var N;
|
|
@@ -3218,7 +3218,7 @@ const id = {
|
|
|
3218
3218
|
toASN: (r) => {
|
|
3219
3219
|
if (r === null)
|
|
3220
3220
|
return new er();
|
|
3221
|
-
const e =
|
|
3221
|
+
const e = hr(r);
|
|
3222
3222
|
if (e.result.error)
|
|
3223
3223
|
throw new Error(e.result.error);
|
|
3224
3224
|
return e.result;
|
|
@@ -3241,7 +3241,7 @@ const id = {
|
|
|
3241
3241
|
}, cd = {
|
|
3242
3242
|
fromASN: (r) => r.valueBlock.value,
|
|
3243
3243
|
toASN: (r) => new dn({ value: r })
|
|
3244
|
-
},
|
|
3244
|
+
}, ji = {
|
|
3245
3245
|
fromASN: (r) => r.valueBlock.valueHexView,
|
|
3246
3246
|
toASN: (r) => new Gt({ valueHex: r })
|
|
3247
3247
|
}, ld = {
|
|
@@ -3254,9 +3254,9 @@ function it(r) {
|
|
|
3254
3254
|
toASN: (e) => new r({ value: e })
|
|
3255
3255
|
};
|
|
3256
3256
|
}
|
|
3257
|
-
const du = it(Nt), ud = it(yn), fd = it(gn), dd = it(vn), pd = it(mn), hd = it(bn), yd = it(wn), gd = it(Sn), vd = it(kn), md = it(
|
|
3257
|
+
const du = it(Nt), ud = it(yn), fd = it(gn), dd = it(vn), pd = it(mn), hd = it(bn), yd = it(wn), gd = it(Sn), vd = it(kn), md = it(li), bd = it(An), wd = it(xn), Sd = {
|
|
3258
3258
|
fromASN: (r) => r.toDate(),
|
|
3259
|
-
toASN: (r) => new
|
|
3259
|
+
toASN: (r) => new ui({ valueDate: r })
|
|
3260
3260
|
}, kd = {
|
|
3261
3261
|
fromASN: (r) => r.toDate(),
|
|
3262
3262
|
toASN: (r) => new Cn({ valueDate: r })
|
|
@@ -3295,7 +3295,7 @@ function Go(r) {
|
|
|
3295
3295
|
case m.ObjectIdentifier:
|
|
3296
3296
|
return ad;
|
|
3297
3297
|
case m.OctetString:
|
|
3298
|
-
return
|
|
3298
|
+
return ji;
|
|
3299
3299
|
case m.PrintableString:
|
|
3300
3300
|
return pd;
|
|
3301
3301
|
case m.TeletexString:
|
|
@@ -3379,7 +3379,7 @@ class Cd {
|
|
|
3379
3379
|
c = new p({
|
|
3380
3380
|
name: "",
|
|
3381
3381
|
value: [
|
|
3382
|
-
new
|
|
3382
|
+
new Ti({
|
|
3383
3383
|
name: u,
|
|
3384
3384
|
value: c
|
|
3385
3385
|
})
|
|
@@ -3389,7 +3389,7 @@ class Cd {
|
|
|
3389
3389
|
if (a.context !== null && a.context !== void 0)
|
|
3390
3390
|
if (a.implicit)
|
|
3391
3391
|
if (typeof a.type == "number" || St(a.type)) {
|
|
3392
|
-
const p = a.repeated ? qe :
|
|
3392
|
+
const p = a.repeated ? qe : ci;
|
|
3393
3393
|
n.push(new p({
|
|
3394
3394
|
name: u,
|
|
3395
3395
|
optional: f,
|
|
@@ -3465,7 +3465,7 @@ class Pa extends Error {
|
|
|
3465
3465
|
}
|
|
3466
3466
|
class Bd {
|
|
3467
3467
|
static parse(e, t) {
|
|
3468
|
-
const i =
|
|
3468
|
+
const i = hr(e);
|
|
3469
3469
|
if (i.result.error)
|
|
3470
3470
|
throw new Error(i.result.error);
|
|
3471
3471
|
return this.fromASN(i.result, t);
|
|
@@ -3518,7 +3518,7 @@ class Bd {
|
|
|
3518
3518
|
if (p.implicit) {
|
|
3519
3519
|
const A = p.repeated === "sequence" ? kt : At, d = new A();
|
|
3520
3520
|
d.valueBlock = f.valueBlock;
|
|
3521
|
-
const g =
|
|
3521
|
+
const g = hr(d.toBER(!1));
|
|
3522
3522
|
if (g.offset === -1)
|
|
3523
3523
|
throw new Error(`Cannot parse the child item. ${g.result.error}`);
|
|
3524
3524
|
if (!("value" in g.result.valueBlock && Array.isArray(g.result.valueBlock.value)))
|
|
@@ -3539,7 +3539,7 @@ class Bd {
|
|
|
3539
3539
|
throw new Error(`Cannot get '${g}' class from asn1js module`);
|
|
3540
3540
|
d = new h();
|
|
3541
3541
|
}
|
|
3542
|
-
d.valueBlock = A.valueBlock, A =
|
|
3542
|
+
d.valueBlock = A.valueBlock, A = hr(d.toBER(!1)).result;
|
|
3543
3543
|
}
|
|
3544
3544
|
u[c] = P.fromASN(A);
|
|
3545
3545
|
}
|
|
@@ -3588,7 +3588,7 @@ class Wo {
|
|
|
3588
3588
|
if (u.implicit)
|
|
3589
3589
|
if (!u.repeated && (typeof u.type == "number" || St(u.type))) {
|
|
3590
3590
|
const p = {};
|
|
3591
|
-
p.valueHex = f instanceof er ? f.valueBeforeDecodeView : f.valueBlock.toBER(), n.push(new
|
|
3591
|
+
p.valueHex = f instanceof er ? f.valueBeforeDecodeView : f.valueBlock.toBER(), n.push(new ci({
|
|
3592
3592
|
optional: u.optional,
|
|
3593
3593
|
idBlock: {
|
|
3594
3594
|
tagClass: 3,
|
|
@@ -3679,7 +3679,7 @@ class z {
|
|
|
3679
3679
|
return Bd.parse(e, t);
|
|
3680
3680
|
}
|
|
3681
3681
|
static toString(e) {
|
|
3682
|
-
const t = U.isBufferSource(e) ? U.toArrayBuffer(e) : z.serialize(e), i =
|
|
3682
|
+
const t = U.isBufferSource(e) ? U.toArrayBuffer(e) : z.serialize(e), i = hr(t);
|
|
3683
3683
|
if (i.offset === -1)
|
|
3684
3684
|
throw new Error(`Cannot decode ASN.1 data. ${i.result.error}`);
|
|
3685
3685
|
return i.result.toString();
|
|
@@ -4202,7 +4202,7 @@ o([
|
|
|
4202
4202
|
je = o([
|
|
4203
4203
|
j({ type: N.Choice })
|
|
4204
4204
|
], je);
|
|
4205
|
-
let
|
|
4205
|
+
let mr = class extends je {
|
|
4206
4206
|
constructor(e = {}) {
|
|
4207
4207
|
super(e), Object.assign(this, e);
|
|
4208
4208
|
}
|
|
@@ -4212,39 +4212,39 @@ let vr = class extends je {
|
|
|
4212
4212
|
};
|
|
4213
4213
|
o([
|
|
4214
4214
|
l({ type: m.IA5String })
|
|
4215
|
-
],
|
|
4215
|
+
], mr.prototype, "ia5String", void 0);
|
|
4216
4216
|
o([
|
|
4217
4217
|
l({ type: m.Any })
|
|
4218
|
-
],
|
|
4219
|
-
|
|
4218
|
+
], mr.prototype, "anyValue", void 0);
|
|
4219
|
+
mr = o([
|
|
4220
4220
|
j({ type: N.Choice })
|
|
4221
|
-
],
|
|
4221
|
+
], mr);
|
|
4222
4222
|
class Jr {
|
|
4223
4223
|
constructor(e = {}) {
|
|
4224
|
-
this.type = "", this.value = new
|
|
4224
|
+
this.type = "", this.value = new mr(), Object.assign(this, e);
|
|
4225
4225
|
}
|
|
4226
4226
|
}
|
|
4227
4227
|
o([
|
|
4228
4228
|
l({ type: m.ObjectIdentifier })
|
|
4229
4229
|
], Jr.prototype, "type", void 0);
|
|
4230
4230
|
o([
|
|
4231
|
-
l({ type:
|
|
4231
|
+
l({ type: mr })
|
|
4232
4232
|
], Jr.prototype, "value", void 0);
|
|
4233
|
-
let
|
|
4233
|
+
let br = ws = class extends ve {
|
|
4234
4234
|
constructor(e) {
|
|
4235
4235
|
super(e), Object.setPrototypeOf(this, ws.prototype);
|
|
4236
4236
|
}
|
|
4237
4237
|
};
|
|
4238
|
-
|
|
4238
|
+
br = ws = o([
|
|
4239
4239
|
j({ type: N.Set, itemType: Jr })
|
|
4240
|
-
],
|
|
4240
|
+
], br);
|
|
4241
4241
|
let As = Ss = class extends ve {
|
|
4242
4242
|
constructor(e) {
|
|
4243
4243
|
super(e), Object.setPrototypeOf(this, Ss.prototype);
|
|
4244
4244
|
}
|
|
4245
4245
|
};
|
|
4246
4246
|
As = Ss = o([
|
|
4247
|
-
j({ type: N.Sequence, itemType:
|
|
4247
|
+
j({ type: N.Sequence, itemType: br })
|
|
4248
4248
|
], As);
|
|
4249
4249
|
let _e = ks = class extends As {
|
|
4250
4250
|
constructor(e) {
|
|
@@ -4255,8 +4255,8 @@ _e = ks = o([
|
|
|
4255
4255
|
j({ type: N.Sequence })
|
|
4256
4256
|
], _e);
|
|
4257
4257
|
const Id = {
|
|
4258
|
-
fromASN: (r) => Ra.toString(
|
|
4259
|
-
toASN: (r) =>
|
|
4258
|
+
fromASN: (r) => Ra.toString(ji.fromASN(r)),
|
|
4259
|
+
toASN: (r) => ji.toASN(Ra.fromString(r))
|
|
4260
4260
|
};
|
|
4261
4261
|
class Yr {
|
|
4262
4262
|
constructor(e = {}) {
|
|
@@ -4315,7 +4315,7 @@ o([
|
|
|
4315
4315
|
se = o([
|
|
4316
4316
|
j({ type: N.Choice })
|
|
4317
4317
|
], se);
|
|
4318
|
-
const Ed = "1.3.6.1.5.5.7", jr = `${Ed}.3`,
|
|
4318
|
+
const Ed = "1.3.6.1.5.5.7", jr = `${Ed}.3`, cr = "2.5.29";
|
|
4319
4319
|
var xs;
|
|
4320
4320
|
class In {
|
|
4321
4321
|
constructor(e = {}) {
|
|
@@ -4336,7 +4336,7 @@ let Va = xs = class extends ve {
|
|
|
4336
4336
|
Va = xs = o([
|
|
4337
4337
|
j({ type: N.Sequence, itemType: In })
|
|
4338
4338
|
], Va);
|
|
4339
|
-
const Cs = `${
|
|
4339
|
+
const Cs = `${cr}.35`;
|
|
4340
4340
|
class Yo extends de {
|
|
4341
4341
|
}
|
|
4342
4342
|
class zt {
|
|
@@ -4359,18 +4359,18 @@ o([
|
|
|
4359
4359
|
converter: Ae
|
|
4360
4360
|
})
|
|
4361
4361
|
], zt.prototype, "authorityCertSerialNumber", void 0);
|
|
4362
|
-
const yu = `${
|
|
4363
|
-
class
|
|
4362
|
+
const yu = `${cr}.19`;
|
|
4363
|
+
class Pi {
|
|
4364
4364
|
constructor(e = {}) {
|
|
4365
4365
|
this.cA = !1, Object.assign(this, e);
|
|
4366
4366
|
}
|
|
4367
4367
|
}
|
|
4368
4368
|
o([
|
|
4369
4369
|
l({ type: m.Boolean, defaultValue: !1 })
|
|
4370
|
-
],
|
|
4370
|
+
], Pi.prototype, "cA", void 0);
|
|
4371
4371
|
o([
|
|
4372
4372
|
l({ type: m.Integer, optional: !0 })
|
|
4373
|
-
],
|
|
4373
|
+
], Pi.prototype, "pathLenConstraint", void 0);
|
|
4374
4374
|
var Bs;
|
|
4375
4375
|
let Me = Bs = class extends ve {
|
|
4376
4376
|
constructor(e) {
|
|
@@ -4390,7 +4390,7 @@ Ua = Is = o([
|
|
|
4390
4390
|
j({ type: N.Sequence })
|
|
4391
4391
|
], Ua);
|
|
4392
4392
|
var Es;
|
|
4393
|
-
const gu = `${
|
|
4393
|
+
const gu = `${cr}.32`;
|
|
4394
4394
|
let Ct = class {
|
|
4395
4395
|
constructor(e = {}) {
|
|
4396
4396
|
Object.assign(this, e);
|
|
@@ -4436,20 +4436,20 @@ o([
|
|
|
4436
4436
|
o([
|
|
4437
4437
|
l({ type: Ct, optional: !0 })
|
|
4438
4438
|
], Qo.prototype, "explicitText", void 0);
|
|
4439
|
-
let
|
|
4439
|
+
let $i = class {
|
|
4440
4440
|
constructor(e = {}) {
|
|
4441
4441
|
Object.assign(this, e);
|
|
4442
4442
|
}
|
|
4443
4443
|
};
|
|
4444
4444
|
o([
|
|
4445
4445
|
l({ type: m.IA5String })
|
|
4446
|
-
],
|
|
4446
|
+
], $i.prototype, "cPSuri", void 0);
|
|
4447
4447
|
o([
|
|
4448
4448
|
l({ type: Qo })
|
|
4449
|
-
],
|
|
4450
|
-
|
|
4449
|
+
], $i.prototype, "userNotice", void 0);
|
|
4450
|
+
$i = o([
|
|
4451
4451
|
j({ type: N.Choice })
|
|
4452
|
-
],
|
|
4452
|
+
], $i);
|
|
4453
4453
|
class Xo {
|
|
4454
4454
|
constructor(e = {}) {
|
|
4455
4455
|
this.policyQualifierId = "", this.qualifier = new ArrayBuffer(0), Object.assign(this, e);
|
|
@@ -4472,26 +4472,26 @@ o([
|
|
|
4472
4472
|
o([
|
|
4473
4473
|
l({ type: Xo, repeated: "sequence", optional: !0 })
|
|
4474
4474
|
], En.prototype, "policyQualifiers", void 0);
|
|
4475
|
-
let
|
|
4475
|
+
let Ri = Es = class extends ve {
|
|
4476
4476
|
constructor(e) {
|
|
4477
4477
|
super(e), Object.setPrototypeOf(this, Es.prototype);
|
|
4478
4478
|
}
|
|
4479
4479
|
};
|
|
4480
|
-
|
|
4480
|
+
Ri = Es = o([
|
|
4481
4481
|
j({ type: N.Sequence, itemType: En })
|
|
4482
|
-
],
|
|
4483
|
-
let
|
|
4482
|
+
], Ri);
|
|
4483
|
+
let Vi = class {
|
|
4484
4484
|
constructor(e = 0) {
|
|
4485
4485
|
this.value = e;
|
|
4486
4486
|
}
|
|
4487
4487
|
};
|
|
4488
4488
|
o([
|
|
4489
4489
|
l({ type: m.Integer })
|
|
4490
|
-
],
|
|
4491
|
-
|
|
4490
|
+
], Vi.prototype, "value", void 0);
|
|
4491
|
+
Vi = o([
|
|
4492
4492
|
j({ type: N.Choice })
|
|
4493
|
-
],
|
|
4494
|
-
let Ma = class extends
|
|
4493
|
+
], Vi);
|
|
4494
|
+
let Ma = class extends Vi {
|
|
4495
4495
|
};
|
|
4496
4496
|
Ma = o([
|
|
4497
4497
|
j({ type: N.Choice })
|
|
@@ -4509,41 +4509,41 @@ class vu extends Bn {
|
|
|
4509
4509
|
return `[${this.toJSON().join(", ")}]`;
|
|
4510
4510
|
}
|
|
4511
4511
|
}
|
|
4512
|
-
let
|
|
4512
|
+
let wr = class {
|
|
4513
4513
|
constructor(e = {}) {
|
|
4514
4514
|
Object.assign(this, e);
|
|
4515
4515
|
}
|
|
4516
4516
|
};
|
|
4517
4517
|
o([
|
|
4518
4518
|
l({ type: se, context: 0, repeated: "sequence", implicit: !0 })
|
|
4519
|
-
],
|
|
4519
|
+
], wr.prototype, "fullName", void 0);
|
|
4520
4520
|
o([
|
|
4521
|
-
l({ type:
|
|
4522
|
-
],
|
|
4523
|
-
|
|
4521
|
+
l({ type: br, context: 1, implicit: !0 })
|
|
4522
|
+
], wr.prototype, "nameRelativeToCRLIssuer", void 0);
|
|
4523
|
+
wr = o([
|
|
4524
4524
|
j({ type: N.Choice })
|
|
4525
|
-
],
|
|
4526
|
-
class
|
|
4525
|
+
], wr);
|
|
4526
|
+
class fi {
|
|
4527
4527
|
constructor(e = {}) {
|
|
4528
4528
|
Object.assign(this, e);
|
|
4529
4529
|
}
|
|
4530
4530
|
}
|
|
4531
4531
|
o([
|
|
4532
|
-
l({ type:
|
|
4533
|
-
],
|
|
4532
|
+
l({ type: wr, context: 0, optional: !0 })
|
|
4533
|
+
], fi.prototype, "distributionPoint", void 0);
|
|
4534
4534
|
o([
|
|
4535
4535
|
l({ type: vu, context: 1, optional: !0, implicit: !0 })
|
|
4536
|
-
],
|
|
4536
|
+
], fi.prototype, "reasons", void 0);
|
|
4537
4537
|
o([
|
|
4538
4538
|
l({ type: se, context: 2, optional: !0, repeated: "sequence", implicit: !0 })
|
|
4539
|
-
],
|
|
4539
|
+
], fi.prototype, "cRLIssuer", void 0);
|
|
4540
4540
|
let Ns = _s = class extends ve {
|
|
4541
4541
|
constructor(e) {
|
|
4542
4542
|
super(e), Object.setPrototypeOf(this, _s.prototype);
|
|
4543
4543
|
}
|
|
4544
4544
|
};
|
|
4545
4545
|
Ns = _s = o([
|
|
4546
|
-
j({ type: N.Sequence, itemType:
|
|
4546
|
+
j({ type: N.Sequence, itemType: fi })
|
|
4547
4547
|
], Ns);
|
|
4548
4548
|
var Os;
|
|
4549
4549
|
let Da = Os = class extends Ns {
|
|
@@ -4552,7 +4552,7 @@ let Da = Os = class extends Ns {
|
|
|
4552
4552
|
}
|
|
4553
4553
|
};
|
|
4554
4554
|
Da = Os = o([
|
|
4555
|
-
j({ type: N.Sequence, itemType:
|
|
4555
|
+
j({ type: N.Sequence, itemType: fi })
|
|
4556
4556
|
], Da);
|
|
4557
4557
|
class Pe {
|
|
4558
4558
|
constructor(e = {}) {
|
|
@@ -4561,7 +4561,7 @@ class Pe {
|
|
|
4561
4561
|
}
|
|
4562
4562
|
Pe.ONLY = !1;
|
|
4563
4563
|
o([
|
|
4564
|
-
l({ type:
|
|
4564
|
+
l({ type: wr, context: 0, optional: !0 })
|
|
4565
4565
|
], Pe.prototype, "distributionPoint", void 0);
|
|
4566
4566
|
o([
|
|
4567
4567
|
l({ type: m.Boolean, context: 1, defaultValue: Pe.ONLY, implicit: !0 })
|
|
@@ -4600,15 +4600,15 @@ Ts = o([
|
|
|
4600
4600
|
j({ type: N.Choice })
|
|
4601
4601
|
], Ts);
|
|
4602
4602
|
var js;
|
|
4603
|
-
const mu = `${
|
|
4604
|
-
let
|
|
4603
|
+
const mu = `${cr}.37`;
|
|
4604
|
+
let Ui = js = class extends ve {
|
|
4605
4605
|
constructor(e) {
|
|
4606
4606
|
super(e), Object.setPrototypeOf(this, js.prototype);
|
|
4607
4607
|
}
|
|
4608
4608
|
};
|
|
4609
|
-
|
|
4609
|
+
Ui = js = o([
|
|
4610
4610
|
j({ type: N.Sequence, itemType: m.ObjectIdentifier })
|
|
4611
|
-
],
|
|
4611
|
+
], Ui);
|
|
4612
4612
|
const _d = `${jr}.1`, Nd = `${jr}.2`, Od = `${jr}.3`, Td = `${jr}.4`, jd = `${jr}.8`, Pd = `${jr}.9`;
|
|
4613
4613
|
let Ps = class {
|
|
4614
4614
|
constructor(e = new ArrayBuffer(0)) {
|
|
@@ -4641,7 +4641,7 @@ let La = Rs = class extends Me {
|
|
|
4641
4641
|
La = Rs = o([
|
|
4642
4642
|
j({ type: N.Sequence })
|
|
4643
4643
|
], La);
|
|
4644
|
-
const bu = `${
|
|
4644
|
+
const bu = `${cr}.15`;
|
|
4645
4645
|
var ot;
|
|
4646
4646
|
(function(r) {
|
|
4647
4647
|
r[r.digitalSignature = 1] = "digitalSignature", r[r.nonRepudiation = 2] = "nonRepudiation", r[r.keyEncipherment = 4] = "keyEncipherment", r[r.dataEncipherment = 8] = "dataEncipherment", r[r.keyAgreement = 16] = "keyAgreement", r[r.keyCertSign = 32] = "keyCertSign", r[r.cRLSign = 64] = "cRLSign", r[r.encipherOnly = 128] = "encipherOnly", r[r.decipherOnly = 256] = "decipherOnly";
|
|
@@ -4670,24 +4670,24 @@ o([
|
|
|
4670
4670
|
o([
|
|
4671
4671
|
l({ type: m.Integer, context: 1, optional: !0, implicit: !0 })
|
|
4672
4672
|
], _n.prototype, "maximum", void 0);
|
|
4673
|
-
let
|
|
4673
|
+
let Mi = Vs = class extends ve {
|
|
4674
4674
|
constructor(e) {
|
|
4675
4675
|
super(e), Object.setPrototypeOf(this, Vs.prototype);
|
|
4676
4676
|
}
|
|
4677
4677
|
};
|
|
4678
|
-
|
|
4678
|
+
Mi = Vs = o([
|
|
4679
4679
|
j({ type: N.Sequence, itemType: _n })
|
|
4680
|
-
],
|
|
4680
|
+
], Mi);
|
|
4681
4681
|
class wu {
|
|
4682
4682
|
constructor(e = {}) {
|
|
4683
4683
|
Object.assign(this, e);
|
|
4684
4684
|
}
|
|
4685
4685
|
}
|
|
4686
4686
|
o([
|
|
4687
|
-
l({ type:
|
|
4687
|
+
l({ type: Mi, context: 0, optional: !0, implicit: !0 })
|
|
4688
4688
|
], wu.prototype, "permittedSubtrees", void 0);
|
|
4689
4689
|
o([
|
|
4690
|
-
l({ type:
|
|
4690
|
+
l({ type: Mi, context: 1, optional: !0, implicit: !0 })
|
|
4691
4691
|
], wu.prototype, "excludedSubtrees", void 0);
|
|
4692
4692
|
class Su {
|
|
4693
4693
|
constructor(e = {}) {
|
|
@@ -4733,7 +4733,7 @@ Ha = Us = o([
|
|
|
4733
4733
|
j({ type: N.Sequence, itemType: ea })
|
|
4734
4734
|
], Ha);
|
|
4735
4735
|
var Ms;
|
|
4736
|
-
const ku = `${
|
|
4736
|
+
const ku = `${cr}.17`;
|
|
4737
4737
|
let Ds = Ms = class extends Me {
|
|
4738
4738
|
constructor(e) {
|
|
4739
4739
|
super(e), Object.setPrototypeOf(this, Ms.prototype);
|
|
@@ -4762,7 +4762,7 @@ let Ka = Ls = class extends ve {
|
|
|
4762
4762
|
Ka = Ls = o([
|
|
4763
4763
|
j({ type: N.Sequence, itemType: Bt })
|
|
4764
4764
|
], Ka);
|
|
4765
|
-
const Au = `${
|
|
4765
|
+
const Au = `${cr}.14`;
|
|
4766
4766
|
class Vt extends Yo {
|
|
4767
4767
|
}
|
|
4768
4768
|
class xu {
|
|
@@ -4906,20 +4906,20 @@ let rr = Ks = class extends ve {
|
|
|
4906
4906
|
rr = Ks = o([
|
|
4907
4907
|
j({ type: N.Sequence, itemType: at })
|
|
4908
4908
|
], rr);
|
|
4909
|
-
var
|
|
4909
|
+
var Sr;
|
|
4910
4910
|
(function(r) {
|
|
4911
4911
|
r[r.v1 = 0] = "v1", r[r.v2 = 1] = "v2", r[r.v3 = 2] = "v3";
|
|
4912
|
-
})(
|
|
4912
|
+
})(Sr || (Sr = {}));
|
|
4913
4913
|
class nt {
|
|
4914
4914
|
constructor(e = {}) {
|
|
4915
|
-
this.version =
|
|
4915
|
+
this.version = Sr.v1, this.serialNumber = new ArrayBuffer(0), this.signature = new q(), this.issuer = new _e(), this.validity = new Nn(), this.subject = new _e(), this.subjectPublicKeyInfo = new xt(), Object.assign(this, e);
|
|
4916
4916
|
}
|
|
4917
4917
|
}
|
|
4918
4918
|
o([
|
|
4919
4919
|
l({
|
|
4920
4920
|
type: m.Integer,
|
|
4921
4921
|
context: 0,
|
|
4922
|
-
defaultValue:
|
|
4922
|
+
defaultValue: Sr.v1
|
|
4923
4923
|
})
|
|
4924
4924
|
], nt.prototype, "version", void 0);
|
|
4925
4925
|
o([
|
|
@@ -4957,20 +4957,20 @@ o([
|
|
|
4957
4957
|
o([
|
|
4958
4958
|
l({ type: rr, context: 3, optional: !0 })
|
|
4959
4959
|
], nt.prototype, "extensions", void 0);
|
|
4960
|
-
class
|
|
4960
|
+
class kr {
|
|
4961
4961
|
constructor(e = {}) {
|
|
4962
4962
|
this.tbsCertificate = new nt(), this.signatureAlgorithm = new q(), this.signatureValue = new ArrayBuffer(0), Object.assign(this, e);
|
|
4963
4963
|
}
|
|
4964
4964
|
}
|
|
4965
4965
|
o([
|
|
4966
4966
|
l({ type: nt })
|
|
4967
|
-
],
|
|
4967
|
+
], kr.prototype, "tbsCertificate", void 0);
|
|
4968
4968
|
o([
|
|
4969
4969
|
l({ type: q })
|
|
4970
|
-
],
|
|
4970
|
+
], kr.prototype, "signatureAlgorithm", void 0);
|
|
4971
4971
|
o([
|
|
4972
4972
|
l({ type: m.BitString })
|
|
4973
|
-
],
|
|
4973
|
+
], kr.prototype, "signatureValue", void 0);
|
|
4974
4974
|
class On {
|
|
4975
4975
|
constructor(e = {}) {
|
|
4976
4976
|
this.userCertificate = new ArrayBuffer(0), this.revocationDate = new $e(), Object.assign(this, e);
|
|
@@ -5051,14 +5051,14 @@ o([
|
|
|
5051
5051
|
l({ type: Bt, repeated: "sequence" })
|
|
5052
5052
|
], ra.prototype, "attrs", void 0);
|
|
5053
5053
|
var Fs;
|
|
5054
|
-
let
|
|
5054
|
+
let Di = Fs = class extends ve {
|
|
5055
5055
|
constructor(e) {
|
|
5056
5056
|
super(e), Object.setPrototypeOf(this, Fs.prototype);
|
|
5057
5057
|
}
|
|
5058
5058
|
};
|
|
5059
|
-
|
|
5059
|
+
Di = Fs = o([
|
|
5060
5060
|
j({ type: N.Sequence, itemType: m.ObjectIdentifier })
|
|
5061
|
-
],
|
|
5061
|
+
], Di);
|
|
5062
5062
|
class Tn {
|
|
5063
5063
|
constructor(e = {}) {
|
|
5064
5064
|
this.permitUnSpecified = !0, Object.assign(this, e);
|
|
@@ -5068,49 +5068,49 @@ o([
|
|
|
5068
5068
|
l({ type: m.Integer, optional: !0 })
|
|
5069
5069
|
], Tn.prototype, "pathLenConstraint", void 0);
|
|
5070
5070
|
o([
|
|
5071
|
-
l({ type:
|
|
5071
|
+
l({ type: Di, implicit: !0, context: 0, optional: !0 })
|
|
5072
5072
|
], Tn.prototype, "permittedAttrs", void 0);
|
|
5073
5073
|
o([
|
|
5074
|
-
l({ type:
|
|
5074
|
+
l({ type: Di, implicit: !0, context: 1, optional: !0 })
|
|
5075
5075
|
], Tn.prototype, "excludedAttrs", void 0);
|
|
5076
5076
|
o([
|
|
5077
5077
|
l({ type: m.Boolean, defaultValue: !0 })
|
|
5078
5078
|
], Tn.prototype, "permitUnSpecified", void 0);
|
|
5079
|
-
class
|
|
5079
|
+
class lr {
|
|
5080
5080
|
constructor(e = {}) {
|
|
5081
5081
|
this.issuer = new Me(), this.serial = new ArrayBuffer(0), this.issuerUID = new ArrayBuffer(0), Object.assign(this, e);
|
|
5082
5082
|
}
|
|
5083
5083
|
}
|
|
5084
5084
|
o([
|
|
5085
5085
|
l({ type: Me })
|
|
5086
|
-
],
|
|
5086
|
+
], lr.prototype, "issuer", void 0);
|
|
5087
5087
|
o([
|
|
5088
5088
|
l({ type: m.Integer, converter: Ae })
|
|
5089
|
-
],
|
|
5089
|
+
], lr.prototype, "serial", void 0);
|
|
5090
5090
|
o([
|
|
5091
5091
|
l({ type: m.BitString, optional: !0 })
|
|
5092
|
-
],
|
|
5092
|
+
], lr.prototype, "issuerUID", void 0);
|
|
5093
5093
|
var qs;
|
|
5094
5094
|
(function(r) {
|
|
5095
5095
|
r[r.publicKey = 0] = "publicKey", r[r.publicKeyCert = 1] = "publicKeyCert", r[r.otherObjectTypes = 2] = "otherObjectTypes";
|
|
5096
5096
|
})(qs || (qs = {}));
|
|
5097
|
-
class
|
|
5097
|
+
class ur {
|
|
5098
5098
|
constructor(e = {}) {
|
|
5099
5099
|
this.digestedObjectType = qs.publicKey, this.digestAlgorithm = new q(), this.objectDigest = new ArrayBuffer(0), Object.assign(this, e);
|
|
5100
5100
|
}
|
|
5101
5101
|
}
|
|
5102
5102
|
o([
|
|
5103
5103
|
l({ type: m.Enumerated })
|
|
5104
|
-
],
|
|
5104
|
+
], ur.prototype, "digestedObjectType", void 0);
|
|
5105
5105
|
o([
|
|
5106
5106
|
l({ type: m.ObjectIdentifier, optional: !0 })
|
|
5107
|
-
],
|
|
5107
|
+
], ur.prototype, "otherObjectTypeID", void 0);
|
|
5108
5108
|
o([
|
|
5109
5109
|
l({ type: q })
|
|
5110
|
-
],
|
|
5110
|
+
], ur.prototype, "digestAlgorithm", void 0);
|
|
5111
5111
|
o([
|
|
5112
5112
|
l({ type: m.BitString })
|
|
5113
|
-
],
|
|
5113
|
+
], ur.prototype, "objectDigest", void 0);
|
|
5114
5114
|
class jn {
|
|
5115
5115
|
constructor(e = {}) {
|
|
5116
5116
|
Object.assign(this, e);
|
|
@@ -5120,25 +5120,25 @@ o([
|
|
|
5120
5120
|
l({ type: Me, optional: !0 })
|
|
5121
5121
|
], jn.prototype, "issuerName", void 0);
|
|
5122
5122
|
o([
|
|
5123
|
-
l({ type:
|
|
5123
|
+
l({ type: lr, context: 0, implicit: !0, optional: !0 })
|
|
5124
5124
|
], jn.prototype, "baseCertificateID", void 0);
|
|
5125
5125
|
o([
|
|
5126
|
-
l({ type:
|
|
5126
|
+
l({ type: ur, context: 1, implicit: !0, optional: !0 })
|
|
5127
5127
|
], jn.prototype, "objectDigestInfo", void 0);
|
|
5128
|
-
let
|
|
5128
|
+
let Ar = class {
|
|
5129
5129
|
constructor(e = {}) {
|
|
5130
5130
|
Object.assign(this, e);
|
|
5131
5131
|
}
|
|
5132
5132
|
};
|
|
5133
5133
|
o([
|
|
5134
5134
|
l({ type: se, repeated: "sequence" })
|
|
5135
|
-
],
|
|
5135
|
+
], Ar.prototype, "v1Form", void 0);
|
|
5136
5136
|
o([
|
|
5137
5137
|
l({ type: jn, context: 0, implicit: !0 })
|
|
5138
|
-
],
|
|
5139
|
-
|
|
5138
|
+
], Ar.prototype, "v2Form", void 0);
|
|
5139
|
+
Ar = o([
|
|
5140
5140
|
j({ type: N.Choice })
|
|
5141
|
-
],
|
|
5141
|
+
], Ar);
|
|
5142
5142
|
class Pn {
|
|
5143
5143
|
constructor(e = {}) {
|
|
5144
5144
|
this.notBeforeTime = /* @__PURE__ */ new Date(), this.notAfterTime = /* @__PURE__ */ new Date(), Object.assign(this, e);
|
|
@@ -5150,37 +5150,37 @@ o([
|
|
|
5150
5150
|
o([
|
|
5151
5151
|
l({ type: m.GeneralizedTime })
|
|
5152
5152
|
], Pn.prototype, "notAfterTime", void 0);
|
|
5153
|
-
class
|
|
5153
|
+
class di {
|
|
5154
5154
|
constructor(e = {}) {
|
|
5155
5155
|
Object.assign(this, e);
|
|
5156
5156
|
}
|
|
5157
5157
|
}
|
|
5158
5158
|
o([
|
|
5159
|
-
l({ type:
|
|
5160
|
-
],
|
|
5159
|
+
l({ type: lr, implicit: !0, context: 0, optional: !0 })
|
|
5160
|
+
], di.prototype, "baseCertificateID", void 0);
|
|
5161
5161
|
o([
|
|
5162
5162
|
l({ type: Me, implicit: !0, context: 1, optional: !0 })
|
|
5163
|
-
],
|
|
5163
|
+
], di.prototype, "entityName", void 0);
|
|
5164
5164
|
o([
|
|
5165
|
-
l({ type:
|
|
5166
|
-
],
|
|
5165
|
+
l({ type: ur, implicit: !0, context: 2, optional: !0 })
|
|
5166
|
+
], di.prototype, "objectDigestInfo", void 0);
|
|
5167
5167
|
var zs;
|
|
5168
5168
|
(function(r) {
|
|
5169
5169
|
r[r.v2 = 1] = "v2";
|
|
5170
5170
|
})(zs || (zs = {}));
|
|
5171
5171
|
class lt {
|
|
5172
5172
|
constructor(e = {}) {
|
|
5173
|
-
this.version = zs.v2, this.holder = new
|
|
5173
|
+
this.version = zs.v2, this.holder = new di(), this.issuer = new Ar(), this.signature = new q(), this.serialNumber = new ArrayBuffer(0), this.attrCertValidityPeriod = new Pn(), this.attributes = [], Object.assign(this, e);
|
|
5174
5174
|
}
|
|
5175
5175
|
}
|
|
5176
5176
|
o([
|
|
5177
5177
|
l({ type: m.Integer })
|
|
5178
5178
|
], lt.prototype, "version", void 0);
|
|
5179
5179
|
o([
|
|
5180
|
-
l({ type:
|
|
5180
|
+
l({ type: di })
|
|
5181
5181
|
], lt.prototype, "holder", void 0);
|
|
5182
5182
|
o([
|
|
5183
|
-
l({ type:
|
|
5183
|
+
l({ type: Ar })
|
|
5184
5184
|
], lt.prototype, "issuer", void 0);
|
|
5185
5185
|
o([
|
|
5186
5186
|
l({ type: q })
|
|
@@ -5214,10 +5214,10 @@ o([
|
|
|
5214
5214
|
o([
|
|
5215
5215
|
l({ type: m.BitString })
|
|
5216
5216
|
], $n.prototype, "signatureValue", void 0);
|
|
5217
|
-
var
|
|
5217
|
+
var Li;
|
|
5218
5218
|
(function(r) {
|
|
5219
5219
|
r[r.unmarked = 1] = "unmarked", r[r.unclassified = 2] = "unclassified", r[r.restricted = 4] = "restricted", r[r.confidential = 8] = "confidential", r[r.secret = 16] = "secret", r[r.topSecret = 32] = "topSecret";
|
|
5220
|
-
})(
|
|
5220
|
+
})(Li || (Li = {}));
|
|
5221
5221
|
class Gs extends Bn {
|
|
5222
5222
|
}
|
|
5223
5223
|
class ia {
|
|
@@ -5233,14 +5233,14 @@ o([
|
|
|
5233
5233
|
], ia.prototype, "value", void 0);
|
|
5234
5234
|
class na {
|
|
5235
5235
|
constructor(e = {}) {
|
|
5236
|
-
this.policyId = "", this.classList = new Gs(
|
|
5236
|
+
this.policyId = "", this.classList = new Gs(Li.unclassified), Object.assign(this, e);
|
|
5237
5237
|
}
|
|
5238
5238
|
}
|
|
5239
5239
|
o([
|
|
5240
5240
|
l({ type: m.ObjectIdentifier })
|
|
5241
5241
|
], na.prototype, "policyId", void 0);
|
|
5242
5242
|
o([
|
|
5243
|
-
l({ type: Gs, defaultValue: new Gs(
|
|
5243
|
+
l({ type: Gs, defaultValue: new Gs(Li.unclassified) })
|
|
5244
5244
|
], na.prototype, "classList", void 0);
|
|
5245
5245
|
o([
|
|
5246
5246
|
l({ type: ia, repeated: "set" })
|
|
@@ -5273,42 +5273,42 @@ o([
|
|
|
5273
5273
|
var Ws;
|
|
5274
5274
|
class Vn {
|
|
5275
5275
|
constructor(e = {}) {
|
|
5276
|
-
this.targetCertificate = new
|
|
5276
|
+
this.targetCertificate = new lr(), Object.assign(this, e);
|
|
5277
5277
|
}
|
|
5278
5278
|
}
|
|
5279
5279
|
o([
|
|
5280
|
-
l({ type:
|
|
5280
|
+
l({ type: lr })
|
|
5281
5281
|
], Vn.prototype, "targetCertificate", void 0);
|
|
5282
5282
|
o([
|
|
5283
5283
|
l({ type: se, optional: !0 })
|
|
5284
5284
|
], Vn.prototype, "targetName", void 0);
|
|
5285
5285
|
o([
|
|
5286
|
-
l({ type:
|
|
5286
|
+
l({ type: ur, optional: !0 })
|
|
5287
5287
|
], Vn.prototype, "certDigestInfo", void 0);
|
|
5288
|
-
let
|
|
5288
|
+
let xr = class {
|
|
5289
5289
|
constructor(e = {}) {
|
|
5290
5290
|
Object.assign(this, e);
|
|
5291
5291
|
}
|
|
5292
5292
|
};
|
|
5293
5293
|
o([
|
|
5294
5294
|
l({ type: se, context: 0, implicit: !0 })
|
|
5295
|
-
],
|
|
5295
|
+
], xr.prototype, "targetName", void 0);
|
|
5296
5296
|
o([
|
|
5297
5297
|
l({ type: se, context: 1, implicit: !0 })
|
|
5298
|
-
],
|
|
5298
|
+
], xr.prototype, "targetGroup", void 0);
|
|
5299
5299
|
o([
|
|
5300
5300
|
l({ type: Vn, context: 2, implicit: !0 })
|
|
5301
|
-
],
|
|
5302
|
-
|
|
5301
|
+
], xr.prototype, "targetCert", void 0);
|
|
5302
|
+
xr = o([
|
|
5303
5303
|
j({ type: N.Choice })
|
|
5304
|
-
],
|
|
5304
|
+
], xr);
|
|
5305
5305
|
let Js = Ws = class extends ve {
|
|
5306
5306
|
constructor(e) {
|
|
5307
5307
|
super(e), Object.setPrototypeOf(this, Ws.prototype);
|
|
5308
5308
|
}
|
|
5309
5309
|
};
|
|
5310
5310
|
Js = Ws = o([
|
|
5311
|
-
j({ type: N.Sequence, itemType:
|
|
5311
|
+
j({ type: N.Sequence, itemType: xr })
|
|
5312
5312
|
], Js);
|
|
5313
5313
|
var Ys;
|
|
5314
5314
|
let qa = Ys = class extends ve {
|
|
@@ -5356,31 +5356,31 @@ o([
|
|
|
5356
5356
|
o([
|
|
5357
5357
|
l({ type: m.Any })
|
|
5358
5358
|
], oa.prototype, "otherCert", void 0);
|
|
5359
|
-
let
|
|
5359
|
+
let Cr = class {
|
|
5360
5360
|
constructor(e = {}) {
|
|
5361
5361
|
Object.assign(this, e);
|
|
5362
5362
|
}
|
|
5363
5363
|
};
|
|
5364
5364
|
o([
|
|
5365
|
-
l({ type:
|
|
5366
|
-
],
|
|
5365
|
+
l({ type: kr })
|
|
5366
|
+
], Cr.prototype, "certificate", void 0);
|
|
5367
5367
|
o([
|
|
5368
5368
|
l({ type: $n, context: 2, implicit: !0 })
|
|
5369
|
-
],
|
|
5369
|
+
], Cr.prototype, "v2AttrCert", void 0);
|
|
5370
5370
|
o([
|
|
5371
5371
|
l({ type: oa, context: 3, implicit: !0 })
|
|
5372
|
-
],
|
|
5373
|
-
|
|
5372
|
+
], Cr.prototype, "other", void 0);
|
|
5373
|
+
Cr = o([
|
|
5374
5374
|
j({ type: N.Choice })
|
|
5375
|
-
],
|
|
5376
|
-
let
|
|
5375
|
+
], Cr);
|
|
5376
|
+
let Hi = Zs = class extends ve {
|
|
5377
5377
|
constructor(e) {
|
|
5378
5378
|
super(e), Object.setPrototypeOf(this, Zs.prototype);
|
|
5379
5379
|
}
|
|
5380
5380
|
};
|
|
5381
|
-
|
|
5382
|
-
j({ type: N.Set, itemType:
|
|
5383
|
-
],
|
|
5381
|
+
Hi = Zs = o([
|
|
5382
|
+
j({ type: N.Set, itemType: Cr })
|
|
5383
|
+
], Hi);
|
|
5384
5384
|
class $r {
|
|
5385
5385
|
constructor(e = {}) {
|
|
5386
5386
|
this.contentType = "", this.content = new ArrayBuffer(0), Object.assign(this, e);
|
|
@@ -5426,21 +5426,21 @@ let Qr = class extends q {
|
|
|
5426
5426
|
Qr = o([
|
|
5427
5427
|
j({ type: N.Sequence })
|
|
5428
5428
|
], Qr);
|
|
5429
|
-
let
|
|
5429
|
+
let Ki = class extends q {
|
|
5430
5430
|
};
|
|
5431
|
-
|
|
5431
|
+
Ki = o([
|
|
5432
5432
|
j({ type: N.Sequence })
|
|
5433
|
-
],
|
|
5433
|
+
], Ki);
|
|
5434
5434
|
let dt = class extends q {
|
|
5435
5435
|
};
|
|
5436
5436
|
dt = o([
|
|
5437
5437
|
j({ type: N.Sequence })
|
|
5438
5438
|
], dt);
|
|
5439
|
-
let
|
|
5439
|
+
let Fi = class extends q {
|
|
5440
5440
|
};
|
|
5441
|
-
|
|
5441
|
+
Fi = o([
|
|
5442
5442
|
j({ type: N.Sequence })
|
|
5443
|
-
],
|
|
5443
|
+
], Fi);
|
|
5444
5444
|
let za = class extends q {
|
|
5445
5445
|
};
|
|
5446
5446
|
za = o([
|
|
@@ -5465,20 +5465,20 @@ o([
|
|
|
5465
5465
|
Xr = o([
|
|
5466
5466
|
j({ type: N.Choice })
|
|
5467
5467
|
], Xr);
|
|
5468
|
-
class
|
|
5468
|
+
class pi {
|
|
5469
5469
|
constructor(e = {}) {
|
|
5470
|
-
this.contentType = "", this.contentEncryptionAlgorithm = new
|
|
5470
|
+
this.contentType = "", this.contentEncryptionAlgorithm = new Fi(), Object.assign(this, e);
|
|
5471
5471
|
}
|
|
5472
5472
|
}
|
|
5473
5473
|
o([
|
|
5474
5474
|
l({ type: m.ObjectIdentifier })
|
|
5475
|
-
],
|
|
5475
|
+
], pi.prototype, "contentType", void 0);
|
|
5476
5476
|
o([
|
|
5477
|
-
l({ type:
|
|
5478
|
-
],
|
|
5477
|
+
l({ type: Fi })
|
|
5478
|
+
], pi.prototype, "contentEncryptionAlgorithm", void 0);
|
|
5479
5479
|
o([
|
|
5480
5480
|
l({ type: Xr, optional: !0 })
|
|
5481
|
-
],
|
|
5481
|
+
], pi.prototype, "encryptedContent", void 0);
|
|
5482
5482
|
class Rr {
|
|
5483
5483
|
constructor(e = {}) {
|
|
5484
5484
|
this.issuer = new _e(), this.serialNumber = new ArrayBuffer(0), Object.assign(this, e);
|
|
@@ -5516,39 +5516,39 @@ o([
|
|
|
5516
5516
|
o([
|
|
5517
5517
|
l({ type: Mn, optional: !0 })
|
|
5518
5518
|
], Dn.prototype, "other", void 0);
|
|
5519
|
-
let
|
|
5519
|
+
let Br = class {
|
|
5520
5520
|
constructor(e = {}) {
|
|
5521
5521
|
Object.assign(this, e);
|
|
5522
5522
|
}
|
|
5523
5523
|
};
|
|
5524
5524
|
o([
|
|
5525
5525
|
l({ type: Dn, context: 0, implicit: !0, optional: !0 })
|
|
5526
|
-
],
|
|
5526
|
+
], Br.prototype, "rKeyId", void 0);
|
|
5527
5527
|
o([
|
|
5528
5528
|
l({ type: Rr, optional: !0 })
|
|
5529
|
-
],
|
|
5530
|
-
|
|
5529
|
+
], Br.prototype, "issuerAndSerialNumber", void 0);
|
|
5530
|
+
Br = o([
|
|
5531
5531
|
j({ type: N.Choice })
|
|
5532
|
-
],
|
|
5532
|
+
], Br);
|
|
5533
5533
|
class aa {
|
|
5534
5534
|
constructor(e = {}) {
|
|
5535
|
-
this.rid = new
|
|
5535
|
+
this.rid = new Br(), this.encryptedKey = new de(), Object.assign(this, e);
|
|
5536
5536
|
}
|
|
5537
5537
|
}
|
|
5538
5538
|
o([
|
|
5539
|
-
l({ type:
|
|
5539
|
+
l({ type: Br })
|
|
5540
5540
|
], aa.prototype, "rid", void 0);
|
|
5541
5541
|
o([
|
|
5542
5542
|
l({ type: de })
|
|
5543
5543
|
], aa.prototype, "encryptedKey", void 0);
|
|
5544
|
-
let
|
|
5544
|
+
let qi = Xs = class extends ve {
|
|
5545
5545
|
constructor(e) {
|
|
5546
5546
|
super(e), Object.setPrototypeOf(this, Xs.prototype);
|
|
5547
5547
|
}
|
|
5548
5548
|
};
|
|
5549
|
-
|
|
5549
|
+
qi = Xs = o([
|
|
5550
5550
|
j({ type: N.Sequence, itemType: aa })
|
|
5551
|
-
],
|
|
5551
|
+
], qi);
|
|
5552
5552
|
class ca {
|
|
5553
5553
|
constructor(e = {}) {
|
|
5554
5554
|
this.algorithm = new q(), this.publicKey = new ArrayBuffer(0), Object.assign(this, e);
|
|
@@ -5579,7 +5579,7 @@ ir = o([
|
|
|
5579
5579
|
], ir);
|
|
5580
5580
|
class Vr {
|
|
5581
5581
|
constructor(e = {}) {
|
|
5582
|
-
this.version = It.v3, this.originator = new ir(), this.keyEncryptionAlgorithm = new dt(), this.recipientEncryptedKeys = new
|
|
5582
|
+
this.version = It.v3, this.originator = new ir(), this.keyEncryptionAlgorithm = new dt(), this.recipientEncryptedKeys = new qi(), Object.assign(this, e);
|
|
5583
5583
|
}
|
|
5584
5584
|
}
|
|
5585
5585
|
o([
|
|
@@ -5595,87 +5595,87 @@ o([
|
|
|
5595
5595
|
l({ type: dt })
|
|
5596
5596
|
], Vr.prototype, "keyEncryptionAlgorithm", void 0);
|
|
5597
5597
|
o([
|
|
5598
|
-
l({ type:
|
|
5598
|
+
l({ type: qi })
|
|
5599
5599
|
], Vr.prototype, "recipientEncryptedKeys", void 0);
|
|
5600
|
-
let
|
|
5600
|
+
let Ir = class {
|
|
5601
5601
|
constructor(e = {}) {
|
|
5602
5602
|
Object.assign(this, e);
|
|
5603
5603
|
}
|
|
5604
5604
|
};
|
|
5605
5605
|
o([
|
|
5606
5606
|
l({ type: Vt, context: 0, implicit: !0 })
|
|
5607
|
-
],
|
|
5607
|
+
], Ir.prototype, "subjectKeyIdentifier", void 0);
|
|
5608
5608
|
o([
|
|
5609
5609
|
l({ type: Rr })
|
|
5610
|
-
],
|
|
5611
|
-
|
|
5610
|
+
], Ir.prototype, "issuerAndSerialNumber", void 0);
|
|
5611
|
+
Ir = o([
|
|
5612
5612
|
j({ type: N.Choice })
|
|
5613
|
-
],
|
|
5614
|
-
class
|
|
5613
|
+
], Ir);
|
|
5614
|
+
class hi {
|
|
5615
5615
|
constructor(e = {}) {
|
|
5616
|
-
this.version = It.v0, this.rid = new
|
|
5616
|
+
this.version = It.v0, this.rid = new Ir(), this.keyEncryptionAlgorithm = new dt(), this.encryptedKey = new de(), Object.assign(this, e);
|
|
5617
5617
|
}
|
|
5618
5618
|
}
|
|
5619
5619
|
o([
|
|
5620
5620
|
l({ type: m.Integer })
|
|
5621
|
-
],
|
|
5621
|
+
], hi.prototype, "version", void 0);
|
|
5622
5622
|
o([
|
|
5623
|
-
l({ type:
|
|
5624
|
-
],
|
|
5623
|
+
l({ type: Ir })
|
|
5624
|
+
], hi.prototype, "rid", void 0);
|
|
5625
5625
|
o([
|
|
5626
5626
|
l({ type: dt })
|
|
5627
|
-
],
|
|
5627
|
+
], hi.prototype, "keyEncryptionAlgorithm", void 0);
|
|
5628
5628
|
o([
|
|
5629
5629
|
l({ type: de })
|
|
5630
|
-
],
|
|
5631
|
-
class
|
|
5630
|
+
], hi.prototype, "encryptedKey", void 0);
|
|
5631
|
+
class yi {
|
|
5632
5632
|
constructor(e = {}) {
|
|
5633
5633
|
this.keyIdentifier = new de(), Object.assign(this, e);
|
|
5634
5634
|
}
|
|
5635
5635
|
}
|
|
5636
5636
|
o([
|
|
5637
5637
|
l({ type: de })
|
|
5638
|
-
],
|
|
5638
|
+
], yi.prototype, "keyIdentifier", void 0);
|
|
5639
5639
|
o([
|
|
5640
5640
|
l({ type: m.GeneralizedTime, optional: !0 })
|
|
5641
|
-
],
|
|
5641
|
+
], yi.prototype, "date", void 0);
|
|
5642
5642
|
o([
|
|
5643
5643
|
l({ type: Mn, optional: !0 })
|
|
5644
|
-
],
|
|
5645
|
-
class
|
|
5644
|
+
], yi.prototype, "other", void 0);
|
|
5645
|
+
class gi {
|
|
5646
5646
|
constructor(e = {}) {
|
|
5647
|
-
this.version = It.v4, this.kekid = new
|
|
5647
|
+
this.version = It.v4, this.kekid = new yi(), this.keyEncryptionAlgorithm = new dt(), this.encryptedKey = new de(), Object.assign(this, e);
|
|
5648
5648
|
}
|
|
5649
5649
|
}
|
|
5650
5650
|
o([
|
|
5651
5651
|
l({ type: m.Integer })
|
|
5652
|
-
],
|
|
5652
|
+
], gi.prototype, "version", void 0);
|
|
5653
5653
|
o([
|
|
5654
|
-
l({ type:
|
|
5655
|
-
],
|
|
5654
|
+
l({ type: yi })
|
|
5655
|
+
], gi.prototype, "kekid", void 0);
|
|
5656
5656
|
o([
|
|
5657
5657
|
l({ type: dt })
|
|
5658
|
-
],
|
|
5658
|
+
], gi.prototype, "keyEncryptionAlgorithm", void 0);
|
|
5659
5659
|
o([
|
|
5660
5660
|
l({ type: de })
|
|
5661
|
-
],
|
|
5662
|
-
class
|
|
5661
|
+
], gi.prototype, "encryptedKey", void 0);
|
|
5662
|
+
class vi {
|
|
5663
5663
|
constructor(e = {}) {
|
|
5664
5664
|
this.version = It.v0, this.keyEncryptionAlgorithm = new dt(), this.encryptedKey = new de(), Object.assign(this, e);
|
|
5665
5665
|
}
|
|
5666
5666
|
}
|
|
5667
5667
|
o([
|
|
5668
5668
|
l({ type: m.Integer })
|
|
5669
|
-
],
|
|
5669
|
+
], vi.prototype, "version", void 0);
|
|
5670
5670
|
o([
|
|
5671
5671
|
l({ type: Qs, context: 0, optional: !0 })
|
|
5672
|
-
],
|
|
5672
|
+
], vi.prototype, "keyDerivationAlgorithm", void 0);
|
|
5673
5673
|
o([
|
|
5674
5674
|
l({ type: dt })
|
|
5675
|
-
],
|
|
5675
|
+
], vi.prototype, "keyEncryptionAlgorithm", void 0);
|
|
5676
5676
|
o([
|
|
5677
5677
|
l({ type: de })
|
|
5678
|
-
],
|
|
5678
|
+
], vi.prototype, "encryptedKey", void 0);
|
|
5679
5679
|
class la {
|
|
5680
5680
|
constructor(e = {}) {
|
|
5681
5681
|
this.oriType = "", this.oriValue = new ArrayBuffer(0), Object.assign(this, e);
|
|
@@ -5693,16 +5693,16 @@ let Mt = class {
|
|
|
5693
5693
|
}
|
|
5694
5694
|
};
|
|
5695
5695
|
o([
|
|
5696
|
-
l({ type:
|
|
5696
|
+
l({ type: hi, optional: !0 })
|
|
5697
5697
|
], Mt.prototype, "ktri", void 0);
|
|
5698
5698
|
o([
|
|
5699
5699
|
l({ type: Vr, context: 1, implicit: !0, optional: !0 })
|
|
5700
5700
|
], Mt.prototype, "kari", void 0);
|
|
5701
5701
|
o([
|
|
5702
|
-
l({ type:
|
|
5702
|
+
l({ type: gi, context: 2, implicit: !0, optional: !0 })
|
|
5703
5703
|
], Mt.prototype, "kekri", void 0);
|
|
5704
5704
|
o([
|
|
5705
|
-
l({ type:
|
|
5705
|
+
l({ type: vi, context: 3, implicit: !0, optional: !0 })
|
|
5706
5706
|
], Mt.prototype, "pwri", void 0);
|
|
5707
5707
|
o([
|
|
5708
5708
|
l({ type: la, context: 4, implicit: !0, optional: !0 })
|
|
@@ -5711,14 +5711,14 @@ Mt = o([
|
|
|
5711
5711
|
j({ type: N.Choice })
|
|
5712
5712
|
], Mt);
|
|
5713
5713
|
var eo;
|
|
5714
|
-
let
|
|
5714
|
+
let zi = eo = class extends ve {
|
|
5715
5715
|
constructor(e) {
|
|
5716
5716
|
super(e), Object.setPrototypeOf(this, eo.prototype);
|
|
5717
5717
|
}
|
|
5718
5718
|
};
|
|
5719
|
-
|
|
5719
|
+
zi = eo = o([
|
|
5720
5720
|
j({ type: N.Set, itemType: Mt })
|
|
5721
|
-
],
|
|
5721
|
+
], zi);
|
|
5722
5722
|
var to;
|
|
5723
5723
|
class Ln {
|
|
5724
5724
|
constructor(e = {}) {
|
|
@@ -5756,7 +5756,7 @@ class ua {
|
|
|
5756
5756
|
}
|
|
5757
5757
|
}
|
|
5758
5758
|
o([
|
|
5759
|
-
l({ type:
|
|
5759
|
+
l({ type: Hi, context: 0, implicit: !0, optional: !0 })
|
|
5760
5760
|
], ua.prototype, "certs", void 0);
|
|
5761
5761
|
o([
|
|
5762
5762
|
l({ type: ro, context: 1, implicit: !0, optional: !0 })
|
|
@@ -5770,52 +5770,52 @@ let no = io = class extends ve {
|
|
|
5770
5770
|
no = io = o([
|
|
5771
5771
|
j({ type: N.Set, itemType: Pr })
|
|
5772
5772
|
], no);
|
|
5773
|
-
class
|
|
5773
|
+
class mi {
|
|
5774
5774
|
constructor(e = {}) {
|
|
5775
|
-
this.version = It.v0, this.recipientInfos = new
|
|
5775
|
+
this.version = It.v0, this.recipientInfos = new zi(), this.encryptedContentInfo = new pi(), Object.assign(this, e);
|
|
5776
5776
|
}
|
|
5777
5777
|
}
|
|
5778
5778
|
o([
|
|
5779
5779
|
l({ type: m.Integer })
|
|
5780
|
-
],
|
|
5780
|
+
], mi.prototype, "version", void 0);
|
|
5781
5781
|
o([
|
|
5782
5782
|
l({ type: ua, context: 0, implicit: !0, optional: !0 })
|
|
5783
|
-
],
|
|
5783
|
+
], mi.prototype, "originatorInfo", void 0);
|
|
5784
5784
|
o([
|
|
5785
|
-
l({ type:
|
|
5786
|
-
],
|
|
5785
|
+
l({ type: zi })
|
|
5786
|
+
], mi.prototype, "recipientInfos", void 0);
|
|
5787
5787
|
o([
|
|
5788
|
-
l({ type:
|
|
5789
|
-
],
|
|
5788
|
+
l({ type: pi })
|
|
5789
|
+
], mi.prototype, "encryptedContentInfo", void 0);
|
|
5790
5790
|
o([
|
|
5791
5791
|
l({ type: no, context: 1, implicit: !0, optional: !0 })
|
|
5792
|
-
],
|
|
5792
|
+
], mi.prototype, "unprotectedAttrs", void 0);
|
|
5793
5793
|
const $d = "1.2.840.113549.1.7.2";
|
|
5794
|
-
let
|
|
5794
|
+
let Er = class {
|
|
5795
5795
|
constructor(e = {}) {
|
|
5796
5796
|
Object.assign(this, e);
|
|
5797
5797
|
}
|
|
5798
5798
|
};
|
|
5799
5799
|
o([
|
|
5800
5800
|
l({ type: Vt, context: 0, implicit: !0 })
|
|
5801
|
-
],
|
|
5801
|
+
], Er.prototype, "subjectKeyIdentifier", void 0);
|
|
5802
5802
|
o([
|
|
5803
5803
|
l({ type: Rr })
|
|
5804
|
-
],
|
|
5805
|
-
|
|
5804
|
+
], Er.prototype, "issuerAndSerialNumber", void 0);
|
|
5805
|
+
Er = o([
|
|
5806
5806
|
j({ type: N.Choice })
|
|
5807
|
-
],
|
|
5807
|
+
], Er);
|
|
5808
5808
|
var so;
|
|
5809
5809
|
class Tt {
|
|
5810
5810
|
constructor(e = {}) {
|
|
5811
|
-
this.version = It.v0, this.sid = new
|
|
5811
|
+
this.version = It.v0, this.sid = new Er(), this.digestAlgorithm = new Qr(), this.signatureAlgorithm = new Ki(), this.signature = new de(), Object.assign(this, e);
|
|
5812
5812
|
}
|
|
5813
5813
|
}
|
|
5814
5814
|
o([
|
|
5815
5815
|
l({ type: m.Integer })
|
|
5816
5816
|
], Tt.prototype, "version", void 0);
|
|
5817
5817
|
o([
|
|
5818
|
-
l({ type:
|
|
5818
|
+
l({ type: Er })
|
|
5819
5819
|
], Tt.prototype, "sid", void 0);
|
|
5820
5820
|
o([
|
|
5821
5821
|
l({ type: Qr })
|
|
@@ -5824,7 +5824,7 @@ o([
|
|
|
5824
5824
|
l({ type: Pr, repeated: "set", context: 0, implicit: !0, optional: !0 })
|
|
5825
5825
|
], Tt.prototype, "signedAttrs", void 0);
|
|
5826
5826
|
o([
|
|
5827
|
-
l({ type:
|
|
5827
|
+
l({ type: Ki })
|
|
5828
5828
|
], Tt.prototype, "signatureAlgorithm", void 0);
|
|
5829
5829
|
o([
|
|
5830
5830
|
l({ type: de })
|
|
@@ -5832,64 +5832,64 @@ o([
|
|
|
5832
5832
|
o([
|
|
5833
5833
|
l({ type: Pr, repeated: "set", context: 1, implicit: !0, optional: !0 })
|
|
5834
5834
|
], Tt.prototype, "unsignedAttrs", void 0);
|
|
5835
|
-
let
|
|
5835
|
+
let Gi = so = class extends ve {
|
|
5836
5836
|
constructor(e) {
|
|
5837
5837
|
super(e), Object.setPrototypeOf(this, so.prototype);
|
|
5838
5838
|
}
|
|
5839
5839
|
};
|
|
5840
|
-
|
|
5840
|
+
Gi = so = o([
|
|
5841
5841
|
j({ type: N.Set, itemType: Tt })
|
|
5842
|
-
],
|
|
5842
|
+
], Gi);
|
|
5843
5843
|
var oo;
|
|
5844
|
-
let
|
|
5844
|
+
let Wi = oo = class extends ve {
|
|
5845
5845
|
constructor(e) {
|
|
5846
5846
|
super(e), Object.setPrototypeOf(this, oo.prototype);
|
|
5847
5847
|
}
|
|
5848
5848
|
};
|
|
5849
|
-
|
|
5849
|
+
Wi = oo = o([
|
|
5850
5850
|
j({ type: N.Set, itemType: Qr })
|
|
5851
|
-
],
|
|
5851
|
+
], Wi);
|
|
5852
5852
|
class Ur {
|
|
5853
5853
|
constructor(e = {}) {
|
|
5854
|
-
this.version = It.v0, this.digestAlgorithms = new
|
|
5854
|
+
this.version = It.v0, this.digestAlgorithms = new Wi(), this.encapContentInfo = new Un(), this.signerInfos = new Gi(), Object.assign(this, e);
|
|
5855
5855
|
}
|
|
5856
5856
|
}
|
|
5857
5857
|
o([
|
|
5858
5858
|
l({ type: m.Integer })
|
|
5859
5859
|
], Ur.prototype, "version", void 0);
|
|
5860
5860
|
o([
|
|
5861
|
-
l({ type:
|
|
5861
|
+
l({ type: Wi })
|
|
5862
5862
|
], Ur.prototype, "digestAlgorithms", void 0);
|
|
5863
5863
|
o([
|
|
5864
5864
|
l({ type: Un })
|
|
5865
5865
|
], Ur.prototype, "encapContentInfo", void 0);
|
|
5866
5866
|
o([
|
|
5867
|
-
l({ type:
|
|
5867
|
+
l({ type: Hi, context: 0, implicit: !0, optional: !0 })
|
|
5868
5868
|
], Ur.prototype, "certificates", void 0);
|
|
5869
5869
|
o([
|
|
5870
5870
|
l({ type: ei, context: 1, implicit: !0, optional: !0 })
|
|
5871
5871
|
], Ur.prototype, "crls", void 0);
|
|
5872
5872
|
o([
|
|
5873
|
-
l({ type:
|
|
5873
|
+
l({ type: Gi })
|
|
5874
5874
|
], Ur.prototype, "signerInfos", void 0);
|
|
5875
5875
|
const ti = "1.2.840.10045.2.1", fa = "1.2.840.10045.4.1", Nu = "1.2.840.10045.4.3.1", da = "1.2.840.10045.4.3.2", pa = "1.2.840.10045.4.3.3", ha = "1.2.840.10045.4.3.4", Ga = "1.2.840.10045.3.1.7", Wa = "1.3.132.0.34", Ja = "1.3.132.0.35";
|
|
5876
|
-
function
|
|
5876
|
+
function bi(r) {
|
|
5877
5877
|
return new q({ algorithm: r });
|
|
5878
5878
|
}
|
|
5879
|
-
const Rd =
|
|
5880
|
-
|
|
5881
|
-
const Vd =
|
|
5882
|
-
let
|
|
5879
|
+
const Rd = bi(fa);
|
|
5880
|
+
bi(Nu);
|
|
5881
|
+
const Vd = bi(da), Ud = bi(pa), Md = bi(ha);
|
|
5882
|
+
let _r = class {
|
|
5883
5883
|
constructor(e = {}) {
|
|
5884
5884
|
Object.assign(this, e);
|
|
5885
5885
|
}
|
|
5886
5886
|
};
|
|
5887
5887
|
o([
|
|
5888
5888
|
l({ type: m.ObjectIdentifier })
|
|
5889
|
-
],
|
|
5890
|
-
|
|
5889
|
+
], _r.prototype, "namedCurve", void 0);
|
|
5890
|
+
_r = o([
|
|
5891
5891
|
j({ type: N.Choice })
|
|
5892
|
-
],
|
|
5892
|
+
], _r);
|
|
5893
5893
|
class Hn {
|
|
5894
5894
|
constructor(e = {}) {
|
|
5895
5895
|
this.version = 1, this.privateKey = new de(), Object.assign(this, e);
|
|
@@ -5902,23 +5902,23 @@ o([
|
|
|
5902
5902
|
l({ type: de })
|
|
5903
5903
|
], Hn.prototype, "privateKey", void 0);
|
|
5904
5904
|
o([
|
|
5905
|
-
l({ type:
|
|
5905
|
+
l({ type: _r, context: 0, optional: !0 })
|
|
5906
5906
|
], Hn.prototype, "parameters", void 0);
|
|
5907
5907
|
o([
|
|
5908
5908
|
l({ type: m.BitString, context: 1, optional: !0 })
|
|
5909
5909
|
], Hn.prototype, "publicKey", void 0);
|
|
5910
|
-
class
|
|
5910
|
+
class Ji {
|
|
5911
5911
|
constructor(e = {}) {
|
|
5912
5912
|
this.r = new ArrayBuffer(0), this.s = new ArrayBuffer(0), Object.assign(this, e);
|
|
5913
5913
|
}
|
|
5914
5914
|
}
|
|
5915
5915
|
o([
|
|
5916
5916
|
l({ type: m.Integer, converter: Ae })
|
|
5917
|
-
],
|
|
5917
|
+
], Ji.prototype, "r", void 0);
|
|
5918
5918
|
o([
|
|
5919
5919
|
l({ type: m.Integer, converter: Ae })
|
|
5920
|
-
],
|
|
5921
|
-
const Ge = "1.2.840.113549.1.1",
|
|
5920
|
+
], Ji.prototype, "s", void 0);
|
|
5921
|
+
const Ge = "1.2.840.113549.1.1", Nr = `${Ge}.1`, Dd = `${Ge}.7`, Ld = `${Ge}.9`, Hd = `${Ge}.10`, Kd = `${Ge}.2`, Fd = `${Ge}.4`, Yi = `${Ge}.5`, qd = `${Ge}.14`, ao = `${Ge}.11`, Zi = `${Ge}.12`, Qi = `${Ge}.13`, Ou = `${Ge}.15`, Tu = `${Ge}.16`, ju = "1.3.14.3.2.26", Pu = "2.16.840.1.101.3.4.2.4", $u = "2.16.840.1.101.3.4.2.1", Ru = "2.16.840.1.101.3.4.2.2", Vu = "2.16.840.1.101.3.4.2.3", zd = "2.16.840.1.101.3.4.2.5", Gd = "2.16.840.1.101.3.4.2.6", Wd = "1.2.840.113549.2.2", Jd = "1.2.840.113549.2.5", ya = `${Ge}.8`;
|
|
5922
5922
|
function Ne(r) {
|
|
5923
5923
|
return new q({ algorithm: r, parameters: null });
|
|
5924
5924
|
}
|
|
@@ -5936,16 +5936,16 @@ const Uu = new q({
|
|
|
5936
5936
|
parameters: z.serialize(nr)
|
|
5937
5937
|
}), Mu = new q({
|
|
5938
5938
|
algorithm: Ld,
|
|
5939
|
-
parameters: z.serialize(
|
|
5939
|
+
parameters: z.serialize(ji.toASN(new Uint8Array([218, 57, 163, 238, 94, 107, 75, 13, 50, 85, 191, 239, 149, 96, 24, 144, 175, 216, 7, 9]).buffer))
|
|
5940
5940
|
});
|
|
5941
|
-
Ne(
|
|
5941
|
+
Ne(Nr);
|
|
5942
5942
|
Ne(Kd);
|
|
5943
5943
|
Ne(Fd);
|
|
5944
|
-
Ne(
|
|
5944
|
+
Ne(Yi);
|
|
5945
5945
|
Ne(Ou);
|
|
5946
5946
|
Ne(Tu);
|
|
5947
|
+
Ne(Zi);
|
|
5947
5948
|
Ne(Qi);
|
|
5948
|
-
Ne(Xi);
|
|
5949
5949
|
Ne(Ou);
|
|
5950
5950
|
Ne(Tu);
|
|
5951
5951
|
class Kn {
|
|
@@ -5969,7 +5969,7 @@ new q({
|
|
|
5969
5969
|
algorithm: Dd,
|
|
5970
5970
|
parameters: z.serialize(new Kn())
|
|
5971
5971
|
});
|
|
5972
|
-
class
|
|
5972
|
+
class wi {
|
|
5973
5973
|
constructor(e = {}) {
|
|
5974
5974
|
this.hashAlgorithm = new q(nr), this.maskGenAlgorithm = new q({
|
|
5975
5975
|
algorithm: ya,
|
|
@@ -5979,19 +5979,19 @@ class Si {
|
|
|
5979
5979
|
}
|
|
5980
5980
|
o([
|
|
5981
5981
|
l({ type: q, context: 0, defaultValue: nr })
|
|
5982
|
-
],
|
|
5982
|
+
], wi.prototype, "hashAlgorithm", void 0);
|
|
5983
5983
|
o([
|
|
5984
5984
|
l({ type: q, context: 1, defaultValue: Uu })
|
|
5985
|
-
],
|
|
5985
|
+
], wi.prototype, "maskGenAlgorithm", void 0);
|
|
5986
5986
|
o([
|
|
5987
5987
|
l({ type: m.Integer, context: 2, defaultValue: 20 })
|
|
5988
|
-
],
|
|
5988
|
+
], wi.prototype, "saltLength", void 0);
|
|
5989
5989
|
o([
|
|
5990
5990
|
l({ type: m.Integer, context: 3, defaultValue: 1 })
|
|
5991
|
-
],
|
|
5991
|
+
], wi.prototype, "trailerField", void 0);
|
|
5992
5992
|
new q({
|
|
5993
5993
|
algorithm: Hd,
|
|
5994
|
-
parameters: z.serialize(new
|
|
5994
|
+
parameters: z.serialize(new wi())
|
|
5995
5995
|
});
|
|
5996
5996
|
class Fn {
|
|
5997
5997
|
constructor(e = {}) {
|
|
@@ -6199,7 +6199,7 @@ function Zd(r, e) {
|
|
|
6199
6199
|
return { value: f[0] ? f[1] : void 0, done: !0 };
|
|
6200
6200
|
}
|
|
6201
6201
|
}
|
|
6202
|
-
function
|
|
6202
|
+
function Ai(r) {
|
|
6203
6203
|
var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], i = 0;
|
|
6204
6204
|
if (t)
|
|
6205
6205
|
return t.call(r);
|
|
@@ -6211,7 +6211,7 @@ function xi(r) {
|
|
|
6211
6211
|
};
|
|
6212
6212
|
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
6213
6213
|
}
|
|
6214
|
-
function
|
|
6214
|
+
function Xi(r, e) {
|
|
6215
6215
|
var t = typeof Symbol == "function" && r[Symbol.iterator];
|
|
6216
6216
|
if (!t)
|
|
6217
6217
|
return r;
|
|
@@ -6233,7 +6233,7 @@ function en(r, e) {
|
|
|
6233
6233
|
}
|
|
6234
6234
|
function Ft() {
|
|
6235
6235
|
for (var r = [], e = 0; e < arguments.length; e++)
|
|
6236
|
-
r = r.concat(
|
|
6236
|
+
r = r.concat(Xi(arguments[e]));
|
|
6237
6237
|
return r;
|
|
6238
6238
|
}
|
|
6239
6239
|
var Qd = "injectionTokens";
|
|
@@ -6283,7 +6283,7 @@ var Lu = function() {
|
|
|
6283
6283
|
return this.reflectMethods.forEach(i), t;
|
|
6284
6284
|
}, r;
|
|
6285
6285
|
}();
|
|
6286
|
-
function
|
|
6286
|
+
function pr(r) {
|
|
6287
6287
|
return typeof r == "string" || typeof r == "symbol";
|
|
6288
6288
|
}
|
|
6289
6289
|
function ep(r) {
|
|
@@ -6295,14 +6295,14 @@ function Ya(r) {
|
|
|
6295
6295
|
function tp(r) {
|
|
6296
6296
|
return typeof r == "function" || r instanceof Lu;
|
|
6297
6297
|
}
|
|
6298
|
-
function
|
|
6298
|
+
function Ii(r) {
|
|
6299
6299
|
return !!r.useToken;
|
|
6300
6300
|
}
|
|
6301
|
-
function
|
|
6301
|
+
function Ei(r) {
|
|
6302
6302
|
return r.useValue != null;
|
|
6303
6303
|
}
|
|
6304
6304
|
function rp(r) {
|
|
6305
|
-
return Du(r) ||
|
|
6305
|
+
return Du(r) || Ei(r) || Ii(r) || po(r);
|
|
6306
6306
|
}
|
|
6307
6307
|
var ma = function() {
|
|
6308
6308
|
function r() {
|
|
@@ -6353,7 +6353,7 @@ function sp(r, e, t) {
|
|
|
6353
6353
|
`);
|
|
6354
6354
|
}
|
|
6355
6355
|
function op(r, e, t) {
|
|
6356
|
-
var i =
|
|
6356
|
+
var i = Xi(r.toString().match(/constructor\(([\w, ]+)\)/) || [], 2), n = i[1], s = n === void 0 ? null : n, a = np(s, e);
|
|
6357
6357
|
return sp("Cannot inject the dependency " + a + ' of "' + r.name + '" constructor. Reason:', t);
|
|
6358
6358
|
}
|
|
6359
6359
|
function ap(r) {
|
|
@@ -6386,20 +6386,20 @@ var cp = function(r) {
|
|
|
6386
6386
|
return r.prototype.register = function(e, t, i) {
|
|
6387
6387
|
i === void 0 && (i = { lifecycle: He.Transient }), this.ensureNotDisposed();
|
|
6388
6388
|
var n;
|
|
6389
|
-
if (rp(t) ? n = t : n = { useClass: t },
|
|
6389
|
+
if (rp(t) ? n = t : n = { useClass: t }, Ii(n))
|
|
6390
6390
|
for (var s = [e], a = n; a != null; ) {
|
|
6391
6391
|
var u = a.useToken;
|
|
6392
6392
|
if (s.includes(u))
|
|
6393
6393
|
throw new Error("Token registration cycle detected! " + Ft(s, [u]).join(" -> "));
|
|
6394
6394
|
s.push(u);
|
|
6395
6395
|
var c = this._registry.get(u);
|
|
6396
|
-
c &&
|
|
6396
|
+
c && Ii(c.provider) ? a = c.provider : a = null;
|
|
6397
6397
|
}
|
|
6398
|
-
if ((i.lifecycle === He.Singleton || i.lifecycle == He.ContainerScoped || i.lifecycle == He.ResolutionScoped) && (
|
|
6398
|
+
if ((i.lifecycle === He.Singleton || i.lifecycle == He.ContainerScoped || i.lifecycle == He.ResolutionScoped) && (Ei(n) || po(n)))
|
|
6399
6399
|
throw new Error('Cannot use lifecycle "' + He[i.lifecycle] + '" with ValueProviders or FactoryProviders');
|
|
6400
6400
|
return this._registry.set(e, { provider: n, options: i }), this;
|
|
6401
6401
|
}, r.prototype.registerType = function(e, t) {
|
|
6402
|
-
return this.ensureNotDisposed(),
|
|
6402
|
+
return this.ensureNotDisposed(), pr(t) ? this.register(e, {
|
|
6403
6403
|
useToken: t
|
|
6404
6404
|
}) : this.register(e, {
|
|
6405
6405
|
useClass: t
|
|
@@ -6409,8 +6409,8 @@ var cp = function(r) {
|
|
|
6409
6409
|
useValue: t
|
|
6410
6410
|
});
|
|
6411
6411
|
}, r.prototype.registerSingleton = function(e, t) {
|
|
6412
|
-
if (this.ensureNotDisposed(),
|
|
6413
|
-
if (
|
|
6412
|
+
if (this.ensureNotDisposed(), pr(e)) {
|
|
6413
|
+
if (pr(t))
|
|
6414
6414
|
return this.register(e, {
|
|
6415
6415
|
useToken: t
|
|
6416
6416
|
}, { lifecycle: He.Singleton });
|
|
@@ -6421,13 +6421,13 @@ var cp = function(r) {
|
|
|
6421
6421
|
throw new Error('Cannot register a type name as a singleton without a "to" token');
|
|
6422
6422
|
}
|
|
6423
6423
|
var i = e;
|
|
6424
|
-
return t && !
|
|
6424
|
+
return t && !pr(t) && (i = t), this.register(e, {
|
|
6425
6425
|
useClass: i
|
|
6426
6426
|
}, { lifecycle: He.Singleton });
|
|
6427
6427
|
}, r.prototype.resolve = function(e, t) {
|
|
6428
6428
|
t === void 0 && (t = new Za()), this.ensureNotDisposed();
|
|
6429
6429
|
var i = this.getRegistration(e);
|
|
6430
|
-
if (!i &&
|
|
6430
|
+
if (!i && pr(e))
|
|
6431
6431
|
throw new Error('Attempted to resolve unregistered dependency token: "' + e.toString() + '"');
|
|
6432
6432
|
if (this.executePreResolutionInterceptor(e, "Single"), i) {
|
|
6433
6433
|
var n = this.resolveRegistration(i, t);
|
|
@@ -6443,7 +6443,7 @@ var cp = function(r) {
|
|
|
6443
6443
|
if (this.interceptors.preResolution.has(e)) {
|
|
6444
6444
|
var s = [];
|
|
6445
6445
|
try {
|
|
6446
|
-
for (var a =
|
|
6446
|
+
for (var a = Ai(this.interceptors.preResolution.getAll(e)), u = a.next(); !u.done; u = a.next()) {
|
|
6447
6447
|
var c = u.value;
|
|
6448
6448
|
c.options.frequency != "Once" && s.push(c), c.callback(e, t);
|
|
6449
6449
|
}
|
|
@@ -6464,7 +6464,7 @@ var cp = function(r) {
|
|
|
6464
6464
|
if (this.interceptors.postResolution.has(e)) {
|
|
6465
6465
|
var a = [];
|
|
6466
6466
|
try {
|
|
6467
|
-
for (var u =
|
|
6467
|
+
for (var u = Ai(this.interceptors.postResolution.getAll(e)), c = u.next(); !c.done; c = u.next()) {
|
|
6468
6468
|
var f = c.value;
|
|
6469
6469
|
f.options.frequency != "Once" && a.push(f), f.callback(e, t, i);
|
|
6470
6470
|
}
|
|
@@ -6484,12 +6484,12 @@ var cp = function(r) {
|
|
|
6484
6484
|
if (this.ensureNotDisposed(), e.options.lifecycle === He.ResolutionScoped && t.scopedResolutions.has(e))
|
|
6485
6485
|
return t.scopedResolutions.get(e);
|
|
6486
6486
|
var i = e.options.lifecycle === He.Singleton, n = e.options.lifecycle === He.ContainerScoped, s = i || n, a;
|
|
6487
|
-
return
|
|
6487
|
+
return Ei(e.provider) ? a = e.provider.useValue : Ii(e.provider) ? a = s ? e.instance || (e.instance = this.resolve(e.provider.useToken, t)) : this.resolve(e.provider.useToken, t) : Du(e.provider) ? a = s ? e.instance || (e.instance = this.construct(e.provider.useClass, t)) : this.construct(e.provider.useClass, t) : po(e.provider) ? a = e.provider.useFactory(this) : a = this.construct(e.provider, t), e.options.lifecycle === He.ResolutionScoped && t.scopedResolutions.set(e, a), a;
|
|
6488
6488
|
}, r.prototype.resolveAll = function(e, t) {
|
|
6489
6489
|
var i = this;
|
|
6490
6490
|
t === void 0 && (t = new Za()), this.ensureNotDisposed();
|
|
6491
6491
|
var n = this.getAllRegistrations(e);
|
|
6492
|
-
if (!n &&
|
|
6492
|
+
if (!n && pr(e))
|
|
6493
6493
|
throw new Error('Attempted to resolve unregistered dependency token: "' + e.toString() + '"');
|
|
6494
6494
|
if (this.executePreResolutionInterceptor(e, "All"), n) {
|
|
6495
6495
|
var s = n.map(function(u) {
|
|
@@ -6507,10 +6507,10 @@ var cp = function(r) {
|
|
|
6507
6507
|
var e, t;
|
|
6508
6508
|
this.ensureNotDisposed();
|
|
6509
6509
|
try {
|
|
6510
|
-
for (var i =
|
|
6511
|
-
var s =
|
|
6510
|
+
for (var i = Ai(this._registry.entries()), n = i.next(); !n.done; n = i.next()) {
|
|
6511
|
+
var s = Xi(n.value, 2), a = s[0], u = s[1];
|
|
6512
6512
|
this._registry.setAll(a, u.filter(function(c) {
|
|
6513
|
-
return !
|
|
6513
|
+
return !Ei(c.provider);
|
|
6514
6514
|
}).map(function(c) {
|
|
6515
6515
|
return c.instance = void 0, c;
|
|
6516
6516
|
}));
|
|
@@ -6530,8 +6530,8 @@ var cp = function(r) {
|
|
|
6530
6530
|
this.ensureNotDisposed();
|
|
6531
6531
|
var i = new r(this);
|
|
6532
6532
|
try {
|
|
6533
|
-
for (var n =
|
|
6534
|
-
var a =
|
|
6533
|
+
for (var n = Ai(this._registry.entries()), s = n.next(); !s.done; s = n.next()) {
|
|
6534
|
+
var a = Xi(s.value, 2), u = a[0], c = a[1];
|
|
6535
6535
|
c.some(function(f) {
|
|
6536
6536
|
var p = f.options;
|
|
6537
6537
|
return p.lifecycle === He.ContainerScoped;
|
|
@@ -6699,24 +6699,24 @@ let mo = go = class extends ve {
|
|
|
6699
6699
|
mo = go = o([
|
|
6700
6700
|
j({ type: N.Sequence, itemType: Bt })
|
|
6701
6701
|
], mo);
|
|
6702
|
-
class
|
|
6702
|
+
class Si {
|
|
6703
6703
|
constructor(e = {}) {
|
|
6704
6704
|
this.version = vo.v1, this.privateKeyAlgorithm = new q(), this.privateKey = new zu(), Object.assign(this, e);
|
|
6705
6705
|
}
|
|
6706
6706
|
}
|
|
6707
6707
|
o([
|
|
6708
6708
|
l({ type: m.Integer })
|
|
6709
|
-
],
|
|
6709
|
+
], Si.prototype, "version", void 0);
|
|
6710
6710
|
o([
|
|
6711
6711
|
l({ type: q })
|
|
6712
|
-
],
|
|
6712
|
+
], Si.prototype, "privateKeyAlgorithm", void 0);
|
|
6713
6713
|
o([
|
|
6714
6714
|
l({ type: zu })
|
|
6715
|
-
],
|
|
6715
|
+
], Si.prototype, "privateKey", void 0);
|
|
6716
6716
|
o([
|
|
6717
6717
|
l({ type: mo, implicit: !0, context: 0, optional: !0 })
|
|
6718
|
-
],
|
|
6719
|
-
let ec = class extends
|
|
6718
|
+
], Si.prototype, "attributes", void 0);
|
|
6719
|
+
let ec = class extends Si {
|
|
6720
6720
|
};
|
|
6721
6721
|
ec = o([
|
|
6722
6722
|
j({ type: N.Sequence })
|
|
@@ -6737,23 +6737,23 @@ o([
|
|
|
6737
6737
|
o([
|
|
6738
6738
|
l({ type: m.Any, context: 0 })
|
|
6739
6739
|
], Gu.prototype, "secretValue", void 0);
|
|
6740
|
-
class
|
|
6740
|
+
class ki {
|
|
6741
6741
|
constructor(e = {}) {
|
|
6742
6742
|
this.mac = new Fn(), this.macSalt = new de(), this.iterations = 1, Object.assign(this, e);
|
|
6743
6743
|
}
|
|
6744
6744
|
}
|
|
6745
6745
|
o([
|
|
6746
6746
|
l({ type: Fn })
|
|
6747
|
-
],
|
|
6747
|
+
], ki.prototype, "mac", void 0);
|
|
6748
6748
|
o([
|
|
6749
6749
|
l({ type: de })
|
|
6750
|
-
],
|
|
6750
|
+
], ki.prototype, "macSalt", void 0);
|
|
6751
6751
|
o([
|
|
6752
6752
|
l({ type: m.Integer, defaultValue: 1 })
|
|
6753
|
-
],
|
|
6753
|
+
], ki.prototype, "iterations", void 0);
|
|
6754
6754
|
class Wn {
|
|
6755
6755
|
constructor(e = {}) {
|
|
6756
|
-
this.version = 3, this.authSafe = new $r(), this.macData = new
|
|
6756
|
+
this.version = 3, this.authSafe = new $r(), this.macData = new ki(), Object.assign(this, e);
|
|
6757
6757
|
}
|
|
6758
6758
|
}
|
|
6759
6759
|
o([
|
|
@@ -6763,7 +6763,7 @@ o([
|
|
|
6763
6763
|
l({ type: $r })
|
|
6764
6764
|
], Wn.prototype, "authSafe", void 0);
|
|
6765
6765
|
o([
|
|
6766
|
-
l({ type:
|
|
6766
|
+
l({ type: ki, optional: !0 })
|
|
6767
6767
|
], Wn.prototype, "macData", void 0);
|
|
6768
6768
|
var bo;
|
|
6769
6769
|
class Jn {
|
|
@@ -6790,7 +6790,7 @@ rc = bo = o([
|
|
|
6790
6790
|
], rc);
|
|
6791
6791
|
var wo, So, ko;
|
|
6792
6792
|
const Wu = "1.2.840.113549.1.9", Ju = `${Wu}.7`, wa = `${Wu}.14`;
|
|
6793
|
-
let
|
|
6793
|
+
let en = class extends je {
|
|
6794
6794
|
constructor(e = {}) {
|
|
6795
6795
|
super(e);
|
|
6796
6796
|
}
|
|
@@ -6800,10 +6800,10 @@ let tn = class extends je {
|
|
|
6800
6800
|
};
|
|
6801
6801
|
o([
|
|
6802
6802
|
l({ type: m.IA5String })
|
|
6803
|
-
],
|
|
6804
|
-
|
|
6803
|
+
], en.prototype, "ia5String", void 0);
|
|
6804
|
+
en = o([
|
|
6805
6805
|
j({ type: N.Choice })
|
|
6806
|
-
],
|
|
6806
|
+
], en);
|
|
6807
6807
|
let ic = class extends $r {
|
|
6808
6808
|
};
|
|
6809
6809
|
ic = o([
|
|
@@ -6833,7 +6833,7 @@ o([
|
|
|
6833
6833
|
Ao = o([
|
|
6834
6834
|
j({ type: N.Choice })
|
|
6835
6835
|
], Ao);
|
|
6836
|
-
let oc = class extends
|
|
6836
|
+
let oc = class extends en {
|
|
6837
6837
|
};
|
|
6838
6838
|
oc = o([
|
|
6839
6839
|
j({ type: N.Choice })
|
|
@@ -6873,7 +6873,7 @@ o([
|
|
|
6873
6873
|
Co = o([
|
|
6874
6874
|
j({ type: N.Choice })
|
|
6875
6875
|
], Co);
|
|
6876
|
-
let
|
|
6876
|
+
let tn = class {
|
|
6877
6877
|
constructor(e = "") {
|
|
6878
6878
|
this.value = e;
|
|
6879
6879
|
}
|
|
@@ -6883,11 +6883,11 @@ let rn = class {
|
|
|
6883
6883
|
};
|
|
6884
6884
|
o([
|
|
6885
6885
|
l({ type: m.PrintableString })
|
|
6886
|
-
],
|
|
6887
|
-
|
|
6886
|
+
], tn.prototype, "value", void 0);
|
|
6887
|
+
tn = o([
|
|
6888
6888
|
j({ type: N.Choice })
|
|
6889
|
-
],
|
|
6890
|
-
let lc = class extends
|
|
6889
|
+
], tn);
|
|
6890
|
+
let lc = class extends tn {
|
|
6891
6891
|
};
|
|
6892
6892
|
lc = o([
|
|
6893
6893
|
j({ type: N.Choice })
|
|
@@ -6935,11 +6935,11 @@ let dc = class extends Tt {
|
|
|
6935
6935
|
dc = o([
|
|
6936
6936
|
j({ type: N.Sequence })
|
|
6937
6937
|
], dc);
|
|
6938
|
-
let
|
|
6938
|
+
let rn = class extends je {
|
|
6939
6939
|
};
|
|
6940
|
-
|
|
6940
|
+
rn = o([
|
|
6941
6941
|
j({ type: N.Choice })
|
|
6942
|
-
],
|
|
6942
|
+
], rn);
|
|
6943
6943
|
let pc = wo = class extends rr {
|
|
6944
6944
|
constructor(e) {
|
|
6945
6945
|
super(e), Object.setPrototypeOf(this, wo.prototype);
|
|
@@ -6984,17 +6984,17 @@ yc = ko = o([
|
|
|
6984
6984
|
j({ type: N.Sequence, itemType: _o })
|
|
6985
6985
|
], yc);
|
|
6986
6986
|
var No;
|
|
6987
|
-
let
|
|
6987
|
+
let nn = No = class extends ve {
|
|
6988
6988
|
constructor(e) {
|
|
6989
6989
|
super(e), Object.setPrototypeOf(this, No.prototype);
|
|
6990
6990
|
}
|
|
6991
6991
|
};
|
|
6992
|
-
|
|
6992
|
+
nn = No = o([
|
|
6993
6993
|
j({ type: N.Sequence, itemType: Bt })
|
|
6994
|
-
],
|
|
6994
|
+
], nn);
|
|
6995
6995
|
class Mr {
|
|
6996
6996
|
constructor(e = {}) {
|
|
6997
|
-
this.version = 0, this.subject = new _e(), this.subjectPKInfo = new xt(), this.attributes = new
|
|
6997
|
+
this.version = 0, this.subject = new _e(), this.subjectPKInfo = new xt(), this.attributes = new nn(), Object.assign(this, e);
|
|
6998
6998
|
}
|
|
6999
6999
|
}
|
|
7000
7000
|
o([
|
|
@@ -7007,7 +7007,7 @@ o([
|
|
|
7007
7007
|
l({ type: xt })
|
|
7008
7008
|
], Mr.prototype, "subjectPKInfo", void 0);
|
|
7009
7009
|
o([
|
|
7010
|
-
l({ type:
|
|
7010
|
+
l({ type: nn, implicit: !0, context: 0 })
|
|
7011
7011
|
], Mr.prototype, "attributes", void 0);
|
|
7012
7012
|
class ri {
|
|
7013
7013
|
constructor(e = {}) {
|
|
@@ -7085,9 +7085,9 @@ class dp {
|
|
|
7085
7085
|
}
|
|
7086
7086
|
const Zn = "crypto.algorithmProvider";
|
|
7087
7087
|
rt.registerSingleton(Zn, dp);
|
|
7088
|
-
var
|
|
7088
|
+
var _i;
|
|
7089
7089
|
const We = "1.3.36.3.3.2.8.1.1", gc = `${We}.1`, vc = `${We}.2`, mc = `${We}.3`, bc = `${We}.4`, wc = `${We}.5`, Sc = `${We}.6`, kc = `${We}.7`, Ac = `${We}.8`, xc = `${We}.9`, Cc = `${We}.10`, Bc = `${We}.11`, Ic = `${We}.12`, Ec = `${We}.13`, _c = `${We}.14`, Nc = "brainpoolP160r1", Oc = "brainpoolP160t1", Tc = "brainpoolP192r1", jc = "brainpoolP192t1", Pc = "brainpoolP224r1", $c = "brainpoolP224t1", Rc = "brainpoolP256r1", Vc = "brainpoolP256t1", Uc = "brainpoolP320r1", Mc = "brainpoolP320t1", Dc = "brainpoolP384r1", Lc = "brainpoolP384t1", Hc = "brainpoolP512r1", Kc = "brainpoolP512t1", xe = "ECDSA";
|
|
7090
|
-
let ii =
|
|
7090
|
+
let ii = _i = class {
|
|
7091
7091
|
toAsnAlgorithm(e) {
|
|
7092
7092
|
switch (e.name.toLowerCase()) {
|
|
7093
7093
|
case xe.toLowerCase():
|
|
@@ -7109,7 +7109,7 @@ let ii = Ni = class {
|
|
|
7109
7109
|
t = Ga;
|
|
7110
7110
|
break;
|
|
7111
7111
|
case "K-256":
|
|
7112
|
-
t =
|
|
7112
|
+
t = _i.SECP256K1;
|
|
7113
7113
|
break;
|
|
7114
7114
|
case "P-384":
|
|
7115
7115
|
t = Wa;
|
|
@@ -7163,7 +7163,7 @@ let ii = Ni = class {
|
|
|
7163
7163
|
if (t)
|
|
7164
7164
|
return new q({
|
|
7165
7165
|
algorithm: ti,
|
|
7166
|
-
parameters: z.serialize(new
|
|
7166
|
+
parameters: z.serialize(new _r({ namedCurve: t }))
|
|
7167
7167
|
});
|
|
7168
7168
|
}
|
|
7169
7169
|
}
|
|
@@ -7182,10 +7182,10 @@ let ii = Ni = class {
|
|
|
7182
7182
|
case ti: {
|
|
7183
7183
|
if (!e.parameters)
|
|
7184
7184
|
throw new TypeError("Cannot get required parameters from EC algorithm");
|
|
7185
|
-
switch (z.parse(e.parameters,
|
|
7185
|
+
switch (z.parse(e.parameters, _r).namedCurve) {
|
|
7186
7186
|
case Ga:
|
|
7187
7187
|
return { name: xe, namedCurve: "P-256" };
|
|
7188
|
-
case
|
|
7188
|
+
case _i.SECP256K1:
|
|
7189
7189
|
return { name: xe, namedCurve: "K-256" };
|
|
7190
7190
|
case Wa:
|
|
7191
7191
|
return { name: xe, namedCurve: "P-384" };
|
|
@@ -7226,7 +7226,7 @@ let ii = Ni = class {
|
|
|
7226
7226
|
}
|
|
7227
7227
|
};
|
|
7228
7228
|
ii.SECP256K1 = "1.3.132.0.10";
|
|
7229
|
-
ii =
|
|
7229
|
+
ii = _i = o([
|
|
7230
7230
|
ba()
|
|
7231
7231
|
], ii);
|
|
7232
7232
|
rt.registerSingleton(Yn, ii);
|
|
@@ -7268,12 +7268,12 @@ Dt.items = {
|
|
|
7268
7268
|
[$u]: "sha256",
|
|
7269
7269
|
[Ru]: "sha384",
|
|
7270
7270
|
[Vu]: "sha512",
|
|
7271
|
-
[
|
|
7272
|
-
[
|
|
7271
|
+
[Nr]: "rsaEncryption",
|
|
7272
|
+
[Yi]: "sha1WithRSAEncryption",
|
|
7273
7273
|
[qd]: "sha224WithRSAEncryption",
|
|
7274
7274
|
[ao]: "sha256WithRSAEncryption",
|
|
7275
|
-
[
|
|
7276
|
-
[
|
|
7275
|
+
[Zi]: "sha384WithRSAEncryption",
|
|
7276
|
+
[Qi]: "sha512WithRSAEncryption",
|
|
7277
7277
|
[ti]: "ecPublicKey",
|
|
7278
7278
|
[fa]: "ecdsaWithSHA1",
|
|
7279
7279
|
[Nu]: "ecdsaWithSHA224",
|
|
@@ -7563,14 +7563,14 @@ class Ut {
|
|
|
7563
7563
|
b && (u = b[1]), u = u.replace(/\\0a/ig, `
|
|
7564
7564
|
`).replace(/\\0d/ig, "\r").replace(/\\0g/ig, " ").replace(/\\(.)/g, "$1"), a === this.getName("E") || a === this.getName("DC") ? p.value.ia5String = u : Ut.isASCII(u) ? p.value.printableString = u : p.value.utf8String = u;
|
|
7565
7565
|
}
|
|
7566
|
-
s === "+" ? t[t.length - 1].push(p) : t.push(new
|
|
7566
|
+
s === "+" ? t[t.length - 1].push(p) : t.push(new br([p])), s = f;
|
|
7567
7567
|
}
|
|
7568
7568
|
return t;
|
|
7569
7569
|
}
|
|
7570
7570
|
fromJSON(e) {
|
|
7571
7571
|
const t = new _e();
|
|
7572
7572
|
for (const i of e) {
|
|
7573
|
-
const n = new
|
|
7573
|
+
const n = new br();
|
|
7574
7574
|
for (const s in i) {
|
|
7575
7575
|
let a = s;
|
|
7576
7576
|
if (/[\d.]+/.test(s) || (a = this.getName(s) || ""), !a)
|
|
@@ -7615,7 +7615,7 @@ class Ut {
|
|
|
7615
7615
|
return e.length >= 1 && !(!((t = e[0]) === null || t === void 0) && t.subtle) ? (n = e[0] || n, i = e[1] || Ze.get()) : i = e[0] || Ze.get(), await i.subtle.digest(n, this.toArrayBuffer());
|
|
7616
7616
|
}
|
|
7617
7617
|
}
|
|
7618
|
-
const ef = "Cannot initialize GeneralName from ASN.1 data.", Fc = `${ef} Unsupported string format in use.`, mp = `${ef} Value doesn't match to GUID regular expression.`, qc = /^([0-9a-f]{8})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{12})$/i, zc = "1.3.6.1.4.1.311.25.1", Gc = "1.3.6.1.4.1.311.20.2.3", cs = "dns", ls = "dn", us = "email", fs = "ip", ds = "url", ps = "guid", hs = "upn",
|
|
7618
|
+
const ef = "Cannot initialize GeneralName from ASN.1 data.", Fc = `${ef} Unsupported string format in use.`, mp = `${ef} Value doesn't match to GUID regular expression.`, qc = /^([0-9a-f]{8})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{12})$/i, zc = "1.3.6.1.4.1.311.25.1", Gc = "1.3.6.1.4.1.311.20.2.3", cs = "dns", ls = "dn", us = "email", fs = "ip", ds = "url", ps = "guid", hs = "upn", xi = "id";
|
|
7619
7619
|
class Wc extends Lt {
|
|
7620
7620
|
constructor(...e) {
|
|
7621
7621
|
let t;
|
|
@@ -7648,7 +7648,7 @@ class Wc extends Lt {
|
|
|
7648
7648
|
case fs:
|
|
7649
7649
|
t = new se({ iPAddress: e[1] });
|
|
7650
7650
|
break;
|
|
7651
|
-
case
|
|
7651
|
+
case xi:
|
|
7652
7652
|
t = new se({ registeredID: e[1] });
|
|
7653
7653
|
break;
|
|
7654
7654
|
case hs: {
|
|
@@ -7680,7 +7680,7 @@ class Wc extends Lt {
|
|
|
7680
7680
|
else if (e.uniformResourceIdentifier != null)
|
|
7681
7681
|
this.type = ds, this.value = e.uniformResourceIdentifier;
|
|
7682
7682
|
else if (e.registeredID != null)
|
|
7683
|
-
this.type =
|
|
7683
|
+
this.type = xi, this.value = e.registeredID;
|
|
7684
7684
|
else if (e.directoryName != null)
|
|
7685
7685
|
this.type = ls, this.value = new Ut(e.directoryName).toString();
|
|
7686
7686
|
else if (e.otherName != null)
|
|
@@ -7710,7 +7710,7 @@ class Wc extends Lt {
|
|
|
7710
7710
|
case cs:
|
|
7711
7711
|
case ps:
|
|
7712
7712
|
case fs:
|
|
7713
|
-
case
|
|
7713
|
+
case xi:
|
|
7714
7714
|
case hs:
|
|
7715
7715
|
case ds:
|
|
7716
7716
|
e = this.type.toUpperCase();
|
|
@@ -7722,7 +7722,7 @@ class Wc extends Lt {
|
|
|
7722
7722
|
throw new Error("Unsupported GeneralName type");
|
|
7723
7723
|
}
|
|
7724
7724
|
let t = this.value;
|
|
7725
|
-
return this.type ===
|
|
7725
|
+
return this.type === xi && (t = Dt.toString(t)), new ge(e, void 0, t);
|
|
7726
7726
|
}
|
|
7727
7727
|
}
|
|
7728
7728
|
class ni extends Lt {
|
|
@@ -7773,7 +7773,7 @@ class ni extends Lt {
|
|
|
7773
7773
|
}
|
|
7774
7774
|
}
|
|
7775
7775
|
ni.NAME = "GeneralNames";
|
|
7776
|
-
const qr = "-{5}", si = "\\n", bp = `[^${si}]+`, wp = `${qr}BEGIN (${bp}(?=${qr}))${qr}`, Sp = `${qr}END \\1${qr}`,
|
|
7776
|
+
const qr = "-{5}", si = "\\n", bp = `[^${si}]+`, wp = `${qr}BEGIN (${bp}(?=${qr}))${qr}`, Sp = `${qr}END \\1${qr}`, Or = "\\n", kp = `[^:${si}]+`, Ap = `(?:[^${si}]+${Or}(?: +[^${si}]+${Or})*)`, xp = "[a-zA-Z0-9=+/]+", Cp = `(?:${xp}${Or})+`, Jc = `${wp}${Or}(?:((?:${kp}: ${Ap})+))?${Or}?(${Cp})${Sp}`;
|
|
7777
7777
|
class Qe {
|
|
7778
7778
|
static isPem(e) {
|
|
7779
7779
|
return typeof e == "string" && new RegExp(Jc, "g").test(e);
|
|
@@ -7789,7 +7789,7 @@ class Qe {
|
|
|
7789
7789
|
rawData: H.FromBase64(s)
|
|
7790
7790
|
}, u = n[2];
|
|
7791
7791
|
if (u) {
|
|
7792
|
-
const c = u.split(new RegExp(
|
|
7792
|
+
const c = u.split(new RegExp(Or, "g"));
|
|
7793
7793
|
let f = null;
|
|
7794
7794
|
for (const p of c) {
|
|
7795
7795
|
const [b, P] = p.split(/:(.*)/);
|
|
@@ -7906,7 +7906,7 @@ class Yt extends Et {
|
|
|
7906
7906
|
onInit(e) {
|
|
7907
7907
|
const t = rt.resolve(Zn), i = this.algorithm = t.toWebAlgorithm(e.algorithm);
|
|
7908
7908
|
switch (e.algorithm.algorithm) {
|
|
7909
|
-
case
|
|
7909
|
+
case Nr: {
|
|
7910
7910
|
const n = z.parse(e.subjectPublicKey, ga), s = U.toUint8Array(n.modulus);
|
|
7911
7911
|
i.publicExponent = U.toUint8Array(n.publicExponent), i.modulusLength = (s[0] ? s : s.slice(1)).byteLength << 3;
|
|
7912
7912
|
break;
|
|
@@ -7929,7 +7929,7 @@ class Yt extends Et {
|
|
|
7929
7929
|
case ti:
|
|
7930
7930
|
e["EC Point"] = t.subjectPublicKey;
|
|
7931
7931
|
break;
|
|
7932
|
-
case
|
|
7932
|
+
case Nr:
|
|
7933
7933
|
default:
|
|
7934
7934
|
e["Raw Data"] = t.subjectPublicKey;
|
|
7935
7935
|
}
|
|
@@ -7955,9 +7955,9 @@ class Bp {
|
|
|
7955
7955
|
return U.toArrayBuffer(t);
|
|
7956
7956
|
}
|
|
7957
7957
|
}
|
|
7958
|
-
class
|
|
7958
|
+
class sn extends Et {
|
|
7959
7959
|
constructor(e) {
|
|
7960
|
-
Et.isAsnEncoded(e) ? super(e,
|
|
7960
|
+
Et.isAsnEncoded(e) ? super(e, kr) : super(e), this.tag = Qe.CertificateTag;
|
|
7961
7961
|
}
|
|
7962
7962
|
onInit(e) {
|
|
7963
7963
|
const t = e.tbsCertificate;
|
|
@@ -8026,8 +8026,8 @@ class on extends Et {
|
|
|
8026
8026
|
return this.subject === this.issuer && await this.verify({ signatureOnly: !0 }, e);
|
|
8027
8027
|
}
|
|
8028
8028
|
toTextObject() {
|
|
8029
|
-
const e = this.toTextObjectEmpty(), t = z.parse(this.rawData,
|
|
8030
|
-
Version: `${
|
|
8029
|
+
const e = this.toTextObjectEmpty(), t = z.parse(this.rawData, kr), i = t.tbsCertificate, n = new ge("", {
|
|
8030
|
+
Version: `${Sr[i.version]} (${i.version})`,
|
|
8031
8031
|
"Serial Number": i.serialNumber,
|
|
8032
8032
|
"Signature Algorithm": sr.serializeAlgorithm(i.signature),
|
|
8033
8033
|
Issuer: this.issuer,
|
|
@@ -8052,11 +8052,11 @@ class on extends Et {
|
|
|
8052
8052
|
}), e;
|
|
8053
8053
|
}
|
|
8054
8054
|
}
|
|
8055
|
-
|
|
8055
|
+
sn.NAME = "Certificate";
|
|
8056
8056
|
class oi extends gt {
|
|
8057
8057
|
static async create(e, t = !1, i = Ze.get()) {
|
|
8058
|
-
if (e instanceof
|
|
8059
|
-
const n = e instanceof
|
|
8058
|
+
if (e instanceof sn || Jt.isCryptoKey(e)) {
|
|
8059
|
+
const n = e instanceof sn ? await e.publicKey.export(i) : e, s = await i.subtle.exportKey("spki", n), u = await new Yt(s).getKeyIdentifier(i);
|
|
8060
8060
|
return new oi(H.ToHex(u), t);
|
|
8061
8061
|
} else
|
|
8062
8062
|
return new oi(e, t);
|
|
@@ -8093,10 +8093,10 @@ class tf extends gt {
|
|
|
8093
8093
|
constructor(...e) {
|
|
8094
8094
|
if (U.isBufferSource(e[0])) {
|
|
8095
8095
|
super(e[0]);
|
|
8096
|
-
const t = z.parse(this.value,
|
|
8096
|
+
const t = z.parse(this.value, Pi);
|
|
8097
8097
|
this.ca = t.cA, this.pathLength = t.pathLenConstraint;
|
|
8098
8098
|
} else {
|
|
8099
|
-
const t = new
|
|
8099
|
+
const t = new Pi({
|
|
8100
8100
|
cA: e[0],
|
|
8101
8101
|
pathLenConstraint: e[1]
|
|
8102
8102
|
});
|
|
@@ -8117,10 +8117,10 @@ class rf extends gt {
|
|
|
8117
8117
|
constructor(...e) {
|
|
8118
8118
|
if (U.isBufferSource(e[0])) {
|
|
8119
8119
|
super(e[0]);
|
|
8120
|
-
const t = z.parse(this.value,
|
|
8120
|
+
const t = z.parse(this.value, Ui);
|
|
8121
8121
|
this.usages = t.map((i) => i);
|
|
8122
8122
|
} else {
|
|
8123
|
-
const t = new
|
|
8123
|
+
const t = new Ui(e[0]);
|
|
8124
8124
|
super(mu, e[1], z.serialize(t)), this.usages = e[0];
|
|
8125
8125
|
}
|
|
8126
8126
|
}
|
|
@@ -8196,10 +8196,10 @@ class nf extends gt {
|
|
|
8196
8196
|
var t;
|
|
8197
8197
|
if (U.isBufferSource(e[0])) {
|
|
8198
8198
|
super(e[0]);
|
|
8199
|
-
const i = z.parse(this.value,
|
|
8199
|
+
const i = z.parse(this.value, Ri);
|
|
8200
8200
|
this.policies = i.map((n) => n.policyIdentifier);
|
|
8201
8201
|
} else {
|
|
8202
|
-
const i = e[0], n = (t = e[1]) !== null && t !== void 0 ? t : !1, s = new
|
|
8202
|
+
const i = e[0], n = (t = e[1]) !== null && t !== void 0 ? t : !1, s = new Ri(i.map((a) => new En({
|
|
8203
8203
|
policyIdentifier: a
|
|
8204
8204
|
})));
|
|
8205
8205
|
super(gu, n, z.serialize(s)), this.policies = i;
|
|
@@ -8242,7 +8242,7 @@ class sf extends Dr {
|
|
|
8242
8242
|
if (U.isBufferSource(e[0]))
|
|
8243
8243
|
super(e[0]);
|
|
8244
8244
|
else {
|
|
8245
|
-
const i = new
|
|
8245
|
+
const i = new rn({
|
|
8246
8246
|
printableString: e[0]
|
|
8247
8247
|
});
|
|
8248
8248
|
super(Ju, [z.serialize(i)]);
|
|
@@ -8251,7 +8251,7 @@ class sf extends Dr {
|
|
|
8251
8251
|
}
|
|
8252
8252
|
onInit(e) {
|
|
8253
8253
|
if (super.onInit(e), this.values[0]) {
|
|
8254
|
-
const t = z.parse(this.values[0],
|
|
8254
|
+
const t = z.parse(this.values[0], rn);
|
|
8255
8255
|
this.password = t.toString();
|
|
8256
8256
|
}
|
|
8257
8257
|
}
|
|
@@ -8312,30 +8312,30 @@ let To = class {
|
|
|
8312
8312
|
throw new Error("Cannot get hash algorithm name");
|
|
8313
8313
|
switch (t.toLowerCase()) {
|
|
8314
8314
|
case "sha-1":
|
|
8315
|
-
return new q({ algorithm:
|
|
8315
|
+
return new q({ algorithm: Yi, parameters: null });
|
|
8316
8316
|
case "sha-256":
|
|
8317
8317
|
return new q({ algorithm: ao, parameters: null });
|
|
8318
8318
|
case "sha-384":
|
|
8319
|
-
return new q({ algorithm:
|
|
8319
|
+
return new q({ algorithm: Zi, parameters: null });
|
|
8320
8320
|
case "sha-512":
|
|
8321
|
-
return new q({ algorithm:
|
|
8321
|
+
return new q({ algorithm: Qi, parameters: null });
|
|
8322
8322
|
}
|
|
8323
8323
|
} else
|
|
8324
|
-
return new q({ algorithm:
|
|
8324
|
+
return new q({ algorithm: Nr, parameters: null });
|
|
8325
8325
|
}
|
|
8326
8326
|
return null;
|
|
8327
8327
|
}
|
|
8328
8328
|
toWebAlgorithm(e) {
|
|
8329
8329
|
switch (e.algorithm) {
|
|
8330
|
-
case
|
|
8330
|
+
case Nr:
|
|
8331
8331
|
return { name: "RSASSA-PKCS1-v1_5" };
|
|
8332
|
-
case
|
|
8332
|
+
case Yi:
|
|
8333
8333
|
return { name: "RSASSA-PKCS1-v1_5", hash: { name: "SHA-1" } };
|
|
8334
8334
|
case ao:
|
|
8335
8335
|
return { name: "RSASSA-PKCS1-v1_5", hash: { name: "SHA-256" } };
|
|
8336
|
-
case
|
|
8336
|
+
case Zi:
|
|
8337
8337
|
return { name: "RSASSA-PKCS1-v1_5", hash: { name: "SHA-384" } };
|
|
8338
|
-
case
|
|
8338
|
+
case Qi:
|
|
8339
8339
|
return { name: "RSASSA-PKCS1-v1_5", hash: { name: "SHA-512" } };
|
|
8340
8340
|
}
|
|
8341
8341
|
return null;
|
|
@@ -8365,14 +8365,14 @@ class tt {
|
|
|
8365
8365
|
}
|
|
8366
8366
|
toAsnSignature(e, t) {
|
|
8367
8367
|
if (e.name === "ECDSA") {
|
|
8368
|
-
const i = e.namedCurve, n = tt.namedCurveSize.get(i) || tt.defaultNamedCurveSize, s = new
|
|
8368
|
+
const i = e.namedCurve, n = tt.namedCurveSize.get(i) || tt.defaultNamedCurveSize, s = new Ji(), a = U.toUint8Array(t);
|
|
8369
8369
|
return s.r = this.removePadding(a.slice(0, n), !0), s.s = this.removePadding(a.slice(n, n + n), !0), z.serialize(s);
|
|
8370
8370
|
}
|
|
8371
8371
|
return null;
|
|
8372
8372
|
}
|
|
8373
8373
|
toWebSignature(e, t) {
|
|
8374
8374
|
if (e.name === "ECDSA") {
|
|
8375
|
-
const i = z.parse(t,
|
|
8375
|
+
const i = z.parse(t, Ji), n = e.namedCurve, s = tt.namedCurveSize.get(n) || tt.defaultNamedCurveSize, a = this.addPadding(s, this.removePadding(i.r)), u = this.addPadding(s, this.removePadding(i.s));
|
|
8376
8376
|
return Df(a, u);
|
|
8377
8377
|
}
|
|
8378
8378
|
return null;
|
|
@@ -8468,7 +8468,7 @@ class Ip extends Et {
|
|
|
8468
8468
|
}
|
|
8469
8469
|
toTextObject() {
|
|
8470
8470
|
const e = this.toTextObjectEmpty(), t = z.parse(this.rawData, ri), i = t.certificationRequestInfo, n = new ge("", {
|
|
8471
|
-
Version: `${
|
|
8471
|
+
Version: `${Sr[i.version]} (${i.version})`,
|
|
8472
8472
|
Subject: this.subject,
|
|
8473
8473
|
"Subject Public Key Info": this.publicKey
|
|
8474
8474
|
});
|
|
@@ -8510,7 +8510,7 @@ function of() {
|
|
|
8510
8510
|
parseMetaCertificateData: (e) => {
|
|
8511
8511
|
if (/{vault:\/\/.*}/g.test(e))
|
|
8512
8512
|
throw new Error("not a X.509 certificate");
|
|
8513
|
-
const t = new
|
|
8513
|
+
const t = new sn(e), i = {
|
|
8514
8514
|
subject: t.subjectName.toString(),
|
|
8515
8515
|
issuer: t.issuer,
|
|
8516
8516
|
notAfter: t.notAfter
|
|
@@ -8855,7 +8855,7 @@ const pt = {
|
|
|
8855
8855
|
])
|
|
8856
8856
|
}, M(c.value), 3)
|
|
8857
8857
|
], 8, Up)) : Ie("", !0),
|
|
8858
|
-
(_(), fe(
|
|
8858
|
+
(_(), fe(an(r.tooltip ? "KTooltip" : "div"), Po(u.value, { class: "uuid-icon-wrapper" }), {
|
|
8859
8859
|
default: x(() => [
|
|
8860
8860
|
$(d, null, {
|
|
8861
8861
|
default: x(({ copyToClipboard: g }) => [
|
|
@@ -8863,7 +8863,7 @@ const pt = {
|
|
|
8863
8863
|
"data-testid": "copy-to-clipboard",
|
|
8864
8864
|
role: "button",
|
|
8865
8865
|
tabindex: "0",
|
|
8866
|
-
onClick:
|
|
8866
|
+
onClick: yr((h) => p(g), ["stop"])
|
|
8867
8867
|
}, [
|
|
8868
8868
|
$(A, {
|
|
8869
8869
|
class: "uuid-icon",
|
|
@@ -9355,7 +9355,7 @@ const Re = {
|
|
|
9355
9355
|
])
|
|
9356
9356
|
}, M(c.value), 3)
|
|
9357
9357
|
], 8, vh)) : Ie("", !0),
|
|
9358
|
-
(_(), fe(
|
|
9358
|
+
(_(), fe(an(r.tooltip ? "KTooltip" : "div"), Po(u.value, { class: "uuid-icon-wrapper" }), {
|
|
9359
9359
|
default: x(() => [
|
|
9360
9360
|
$(d, null, {
|
|
9361
9361
|
default: x(({ copyToClipboard: g }) => [
|
|
@@ -9363,7 +9363,7 @@ const Re = {
|
|
|
9363
9363
|
"data-testid": "copy-to-clipboard",
|
|
9364
9364
|
role: "button",
|
|
9365
9365
|
tabindex: "0",
|
|
9366
|
-
onClick:
|
|
9366
|
+
onClick: yr((h) => p(g), ["stop"])
|
|
9367
9367
|
}, [
|
|
9368
9368
|
$(A, {
|
|
9369
9369
|
class: "uuid-icon",
|
|
@@ -9415,7 +9415,7 @@ const Re = {
|
|
|
9415
9415
|
var c;
|
|
9416
9416
|
return e.isArrayItem ? (c = s.value) != null && c.name ? i(s.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: e.index }) : "";
|
|
9417
9417
|
});
|
|
9418
|
-
return (c, f) => (_(), fe(
|
|
9418
|
+
return (c, f) => (_(), fe(an(r.isArrayItem ? "fieldset" : "div"), {
|
|
9419
9419
|
class: Qt(r.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
|
|
9420
9420
|
}, {
|
|
9421
9421
|
default: x(() => [
|
|
@@ -9653,7 +9653,7 @@ const Re = {
|
|
|
9653
9653
|
"data-testid": `${r.item.key}-label`
|
|
9654
9654
|
}, [
|
|
9655
9655
|
Ce(b.$slots, "label", { item: r.item }, () => [
|
|
9656
|
-
$(A, { "tooltip-attributes": { maxWidth: "500px" } },
|
|
9656
|
+
$(A, { "tooltip-attributes": { maxWidth: "500px" } }, gr({
|
|
9657
9657
|
default: x(() => [
|
|
9658
9658
|
ue(M(r.item.label) + " ", 1)
|
|
9659
9659
|
]),
|
|
@@ -9683,7 +9683,7 @@ const Re = {
|
|
|
9683
9683
|
rowValue: r.item.value
|
|
9684
9684
|
}, () => [
|
|
9685
9685
|
a.value ? (_(), K("div", $h, [
|
|
9686
|
-
(_(), fe(
|
|
9686
|
+
(_(), fe(an(p.value.tag), Nf(Of(p.value.attrs)), {
|
|
9687
9687
|
default: x(() => [
|
|
9688
9688
|
p.value.additionalComponent === "KBadge" ? (_(), K("div", {
|
|
9689
9689
|
key: 0,
|
|
@@ -9922,9 +9922,9 @@ const Re = {
|
|
|
9922
9922
|
}), B = (E) => {
|
|
9923
9923
|
A.value && E(JSON.stringify(A.value)) ? e("copy:success", A.value) : e("copy:error");
|
|
9924
9924
|
};
|
|
9925
|
-
return
|
|
9925
|
+
return or(p, (E) => {
|
|
9926
9926
|
e("loading", E);
|
|
9927
|
-
}, { immediate: !0 }),
|
|
9927
|
+
}, { immediate: !0 }), cn(async () => {
|
|
9928
9928
|
b.value = !1, p.value = !0;
|
|
9929
9929
|
try {
|
|
9930
9930
|
const { data: E } = await c.get(y.value);
|
|
@@ -9949,7 +9949,7 @@ const Re = {
|
|
|
9949
9949
|
return _(), fe(F, {
|
|
9950
9950
|
"border-variant": "noBorder",
|
|
9951
9951
|
class: "kong-ui-entity-base-config-card"
|
|
9952
|
-
},
|
|
9952
|
+
}, gr({
|
|
9953
9953
|
actions: x(() => [
|
|
9954
9954
|
oe("div", Fh, [
|
|
9955
9955
|
Ce(E.$slots, "actions", {}, void 0, !0),
|
|
@@ -9997,7 +9997,7 @@ const Re = {
|
|
|
9997
9997
|
(_(!0), K(Fe, null, Ue(h.value[Q], (G) => (_(), fe(ts, {
|
|
9998
9998
|
key: G.key,
|
|
9999
9999
|
item: G
|
|
10000
|
-
},
|
|
10000
|
+
}, gr({
|
|
10001
10001
|
label: x(() => [
|
|
10002
10002
|
Ce(E.$slots, `${G.key}-label`, { row: G }, void 0, !0)
|
|
10003
10003
|
]),
|
|
@@ -10089,7 +10089,7 @@ const Re = {
|
|
|
10089
10089
|
emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
|
|
10090
10090
|
setup(r, { emit: e }) {
|
|
10091
10091
|
var t;
|
|
10092
|
-
const i = r, n =
|
|
10092
|
+
const i = r, n = ai(), { i18n: { t: s } } = Re.useI18n(), { getMessageFromError: a } = Re.useErrors(), { axiosInstance: u } = Re.useAxios({
|
|
10093
10093
|
headers: (t = i.config) == null ? void 0 : t.requestHeaders
|
|
10094
10094
|
}), c = te(!1), f = te(!1), p = te(""), b = L(() => i.canSubmit === !1 || i.isReadonly), P = L(() => {
|
|
10095
10095
|
var h, v;
|
|
@@ -10104,9 +10104,9 @@ const Re = {
|
|
|
10104
10104
|
}, g = () => {
|
|
10105
10105
|
b.value || e("submit");
|
|
10106
10106
|
};
|
|
10107
|
-
return
|
|
10107
|
+
return or(() => c.value, (h) => {
|
|
10108
10108
|
e("loading", h);
|
|
10109
|
-
}, { immediate: !0 }),
|
|
10109
|
+
}, { immediate: !0 }), cn(async () => {
|
|
10110
10110
|
if (i.editId)
|
|
10111
10111
|
try {
|
|
10112
10112
|
f.value = !1, c.value = !0;
|
|
@@ -10139,8 +10139,8 @@ const Re = {
|
|
|
10139
10139
|
}, 8, ["cta-text"])) : (_(), K("form", {
|
|
10140
10140
|
key: 2,
|
|
10141
10141
|
"data-testid": "form-content",
|
|
10142
|
-
onReset:
|
|
10143
|
-
onSubmit:
|
|
10142
|
+
onReset: yr(d, ["prevent"]),
|
|
10143
|
+
onSubmit: yr(g, ["prevent"])
|
|
10144
10144
|
}, [
|
|
10145
10145
|
Ce(h.$slots, "default", {}, void 0, !0),
|
|
10146
10146
|
r.errorMessage ? (_(), fe(B, {
|
|
@@ -10211,7 +10211,7 @@ const Re = {
|
|
|
10211
10211
|
}, u = () => {
|
|
10212
10212
|
var g, h, v;
|
|
10213
10213
|
f.value = ((g = i.value) == null ? void 0 : g.getBoundingClientRect().width) || 0, p.value = ((h = t.value) == null ? void 0 : h.clientWidth) || 0, b.value = ((v = c.value) == null ? void 0 : v.innerText) || "";
|
|
10214
|
-
}, c = te({}), f = te(0), p = te(0), b = te(""), P = L(() => [i.value, t.value]), A =
|
|
10214
|
+
}, c = te({}), f = te(0), p = te(0), b = te(""), P = L(() => [i.value, t.value]), A = or(
|
|
10215
10215
|
P,
|
|
10216
10216
|
(g) => {
|
|
10217
10217
|
if (n.value && (a(), "ResizeObserver" in window && window)) {
|
|
@@ -10444,15 +10444,15 @@ const Re = {
|
|
|
10444
10444
|
"onRow:click": A,
|
|
10445
10445
|
onSort: B[0] || (B[0] = (R) => d(R)),
|
|
10446
10446
|
"onUpdate:tablePreferences": w
|
|
10447
|
-
},
|
|
10447
|
+
}, gr({
|
|
10448
10448
|
toolbar: x(({ state: R }) => [
|
|
10449
|
-
|
|
10449
|
+
Ci(oe("div", ty, [
|
|
10450
10450
|
Ce(y.$slots, "toolbar-filter", {}, void 0, !0),
|
|
10451
10451
|
y.$slots["toolbar-button"] ? (_(), K("div", ry, [
|
|
10452
10452
|
Ce(y.$slots, "toolbar-button", {}, void 0, !0)
|
|
10453
10453
|
])) : Ie("", !0)
|
|
10454
10454
|
], 512), [
|
|
10455
|
-
[
|
|
10455
|
+
[Bi, s(R)]
|
|
10456
10456
|
])
|
|
10457
10457
|
]),
|
|
10458
10458
|
actions: x(({ row: R, rowKey: F, rowValue: Q }) => [
|
|
@@ -10595,7 +10595,7 @@ const Re = {
|
|
|
10595
10595
|
class: "message",
|
|
10596
10596
|
keypath: t.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
|
|
10597
10597
|
tag: "p"
|
|
10598
|
-
},
|
|
10598
|
+
}, gr({
|
|
10599
10599
|
entityType: x(() => [
|
|
10600
10600
|
ue(M(t.entityType), 1)
|
|
10601
10601
|
]),
|
|
@@ -10693,7 +10693,7 @@ const Re = {
|
|
|
10693
10693
|
value: v
|
|
10694
10694
|
}));
|
|
10695
10695
|
});
|
|
10696
|
-
|
|
10696
|
+
or(() => t.modelValue, (h) => {
|
|
10697
10697
|
s.value = {}, new URLSearchParams(h).forEach((v, w) => {
|
|
10698
10698
|
s.value[w] = v;
|
|
10699
10699
|
});
|
|
@@ -10749,13 +10749,13 @@ const Re = {
|
|
|
10749
10749
|
]),
|
|
10750
10750
|
_: 1
|
|
10751
10751
|
}),
|
|
10752
|
-
|
|
10752
|
+
Ci(oe("div", {
|
|
10753
10753
|
class: "kong-ui-entity-filter-backdrop",
|
|
10754
10754
|
onClick: c
|
|
10755
10755
|
}, null, 512), [
|
|
10756
|
-
[
|
|
10756
|
+
[Bi, n.value]
|
|
10757
10757
|
]),
|
|
10758
|
-
|
|
10758
|
+
Ci($(I, { class: "kong-ui-entity-filter-menu" }, {
|
|
10759
10759
|
body: x(() => [
|
|
10760
10760
|
(_(!0), K(Fe, null, Ue(u.value, (T, ce) => (_(), fe(E, {
|
|
10761
10761
|
key: T.value,
|
|
@@ -10766,8 +10766,8 @@ const Re = {
|
|
|
10766
10766
|
itemTitle: x(() => [
|
|
10767
10767
|
oe("span", yy, [
|
|
10768
10768
|
ue(M(T.label) + " ", 1),
|
|
10769
|
-
|
|
10770
|
-
[
|
|
10769
|
+
Ci(oe("span", gy, null, 512), [
|
|
10770
|
+
[Bi, a.value.includes(T.value)]
|
|
10771
10771
|
])
|
|
10772
10772
|
])
|
|
10773
10773
|
]),
|
|
@@ -10837,7 +10837,7 @@ const Re = {
|
|
|
10837
10837
|
]),
|
|
10838
10838
|
_: 1
|
|
10839
10839
|
}, 512), [
|
|
10840
|
-
[
|
|
10840
|
+
[Bi, n.value]
|
|
10841
10841
|
])
|
|
10842
10842
|
]));
|
|
10843
10843
|
};
|
|
@@ -10865,9 +10865,9 @@ const Re = {
|
|
|
10865
10865
|
},
|
|
10866
10866
|
setup(r) {
|
|
10867
10867
|
const e = r, t = te(void 0), i = L(() => t.value === !0 || t.value !== void 0 && e.forceShow === !0);
|
|
10868
|
-
return
|
|
10868
|
+
return or(() => e.authFunction, async () => {
|
|
10869
10869
|
t.value = await e.authFunction();
|
|
10870
|
-
}), (n, s) => i.value ? Ce(n.$slots, "default", {
|
|
10870
|
+
}, { immediate: !0 }), (n, s) => i.value ? Ce(n.$slots, "default", {
|
|
10871
10871
|
key: 0,
|
|
10872
10872
|
isAllowed: t.value
|
|
10873
10873
|
}) : Ie("", !0);
|
|
@@ -10931,7 +10931,7 @@ const Re = {
|
|
|
10931
10931
|
])
|
|
10932
10932
|
], 2));
|
|
10933
10933
|
}
|
|
10934
|
-
}),
|
|
10934
|
+
}), on = /* @__PURE__ */ mt(By, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: rs, useDeleteUrlBuilder: vf, useErrors: mf, useFetchUrlBuilder: Yv, useFetcher: bf, useDebouncedFilter: Zv, useStringHelpers: wf, useGatewayFeatureSupported: Qv } = Re;
|
|
10935
10935
|
const Iy = { class: "kong-ui-entities-certificates-list" }, Ey = { key: 0 }, _y = { key: 1 }, Ny = { key: 0 }, Oy = { key: 1 }, Ty = { key: 0 }, jy = { key: 1 }, Py = { key: 1 }, $y = { key: 1 }, Ry = /* @__PURE__ */ Be({
|
|
10936
10936
|
__name: "CertificateList",
|
|
10937
10937
|
props: {
|
|
@@ -10980,7 +10980,7 @@ const Iy = { class: "kong-ui-entities-certificates-list" }, Ey = { key: 0 }, _y
|
|
|
10980
10980
|
emits: ["error", "copy:success", "copy:error", "delete:success"],
|
|
10981
10981
|
setup(r, { emit: e }) {
|
|
10982
10982
|
var be;
|
|
10983
|
-
const t = r, { i18n: { t: i, formatUnixTimeStamp: n }, i18nT: s } = pt.useI18n(), a =
|
|
10983
|
+
const t = r, { i18n: { t: i, formatUnixTimeStamp: n }, i18nT: s } = pt.useI18n(), a = ai(), { axiosInstance: u } = rs({
|
|
10984
10984
|
headers: (be = t.config) == null ? void 0 : be.requestHeaders
|
|
10985
10985
|
}), c = te(1), f = L(() => t.config.app !== "kongManager" || !!t.config.disableSorting), b = {
|
|
10986
10986
|
subject: { label: i("certificates.list.table_headers.subject") },
|
|
@@ -11058,7 +11058,7 @@ const Iy = { class: "kong-ui-entities-certificates-list" }, Ey = { key: 0 }, _y
|
|
|
11058
11058
|
label: i("certificates.actions.addSni"),
|
|
11059
11059
|
to: t.config.getCreateSniRoute(J)
|
|
11060
11060
|
};
|
|
11061
|
-
}, F = te(void 0), Q = te(!1), G = te(!1), ke = te(""), Le = vf(t.config, P.value), { certificateDataCache: Ve, getCertificateData: bt } = pt.useCertificate(),
|
|
11061
|
+
}, F = te(void 0), Q = te(!1), G = te(!1), ke = te(""), Le = vf(t.config, P.value), { certificateDataCache: Ve, getCertificateData: bt } = pt.useCertificate(), fr = (J) => {
|
|
11062
11062
|
F.value = J, Q.value = !0;
|
|
11063
11063
|
}, jt = () => {
|
|
11064
11064
|
Q.value = !1;
|
|
@@ -11075,7 +11075,7 @@ const Iy = { class: "kong-ui-entities-certificates-list" }, Ey = { key: 0 }, _y
|
|
|
11075
11075
|
}
|
|
11076
11076
|
}
|
|
11077
11077
|
};
|
|
11078
|
-
|
|
11078
|
+
or(h, (J) => {
|
|
11079
11079
|
if (J.status === $t.Error) {
|
|
11080
11080
|
y.value = i("certificates.errors.general"), e("error", J.error);
|
|
11081
11081
|
return;
|
|
@@ -11088,10 +11088,10 @@ const Iy = { class: "kong-ui-entities-certificates-list" }, Ey = { key: 0 }, _y
|
|
|
11088
11088
|
message: i("certificates.list.empty_state.description"),
|
|
11089
11089
|
title: i("certificates.title")
|
|
11090
11090
|
});
|
|
11091
|
-
return
|
|
11091
|
+
return cn(async () => {
|
|
11092
11092
|
await t.canCreate() && (W.value.title = i("certificates.list.empty_state.title"), W.value.ctaText = i("certificates.actions.create"));
|
|
11093
11093
|
}), (J, ie) => {
|
|
11094
|
-
const Ee = ee("KButton"), Je = ee("KBadge"),
|
|
11094
|
+
const Ee = ee("KButton"), Je = ee("KBadge"), dr = ee("KTruncate"), ne = ee("KDropdownItem"), we = ee("KClipboardProvider");
|
|
11095
11095
|
return _(), K("div", Iy, [
|
|
11096
11096
|
$(k(hf), {
|
|
11097
11097
|
"cache-identifier": r.cacheIdentifier,
|
|
@@ -11167,11 +11167,11 @@ const Iy = { class: "kong-ui-entities-certificates-list" }, Ey = { key: 0 }, _y
|
|
|
11167
11167
|
tags: x(({ row: Z }) => {
|
|
11168
11168
|
var Se;
|
|
11169
11169
|
return [
|
|
11170
|
-
((Se = Z == null ? void 0 : Z.tags) == null ? void 0 : Se.length) > 0 ? (_(), fe(
|
|
11170
|
+
((Se = Z == null ? void 0 : Z.tags) == null ? void 0 : Se.length) > 0 ? (_(), fe(dr, { key: 0 }, {
|
|
11171
11171
|
default: x(() => [
|
|
11172
11172
|
(_(!0), K(Fe, null, Ue(Z == null ? void 0 : Z.tags, (Kt) => (_(), fe(Je, {
|
|
11173
11173
|
key: Kt,
|
|
11174
|
-
onClick: ie[1] || (ie[1] =
|
|
11174
|
+
onClick: ie[1] || (ie[1] = yr(() => {
|
|
11175
11175
|
}, ["stop"]))
|
|
11176
11176
|
}, {
|
|
11177
11177
|
default: x(() => [
|
|
@@ -11256,7 +11256,7 @@ const Iy = { class: "kong-ui-entities-certificates-list" }, Ey = { key: 0 }, _y
|
|
|
11256
11256
|
"data-testid": "action-entity-delete",
|
|
11257
11257
|
"has-divider": "",
|
|
11258
11258
|
"is-dangerous": "",
|
|
11259
|
-
onClick: (Se) =>
|
|
11259
|
+
onClick: (Se) => fr(Z)
|
|
11260
11260
|
}, {
|
|
11261
11261
|
default: x(() => [
|
|
11262
11262
|
ue(M(k(i)("certificates.actions.delete")), 1)
|
|
@@ -11320,9 +11320,9 @@ const Lr = (r, e) => {
|
|
|
11320
11320
|
emits: ["update", "error", "loading"],
|
|
11321
11321
|
setup(r, { emit: e }) {
|
|
11322
11322
|
var w;
|
|
11323
|
-
const t = r, i =
|
|
11323
|
+
const t = r, i = ai(), { i18nT: n, i18n: { t: s } } = pt.useI18n(), { getMessageFromError: a } = mf(), { axiosInstance: u } = rs({
|
|
11324
11324
|
headers: (w = t.config) == null ? void 0 : w.requestHeaders
|
|
11325
|
-
}), c = L(() => zr.form[t.config.app].edit), f = L(() => t.certificateId ? Zt.Edit : Zt.Create), p =
|
|
11325
|
+
}), c = L(() => zr.form[t.config.app].edit), f = L(() => t.certificateId ? Zt.Edit : Zt.Create), p = Ni({
|
|
11326
11326
|
fields: {
|
|
11327
11327
|
cert: "",
|
|
11328
11328
|
key: "",
|
|
@@ -11332,7 +11332,7 @@ const Lr = (r, e) => {
|
|
|
11332
11332
|
},
|
|
11333
11333
|
isReadonly: !1,
|
|
11334
11334
|
errorMessage: ""
|
|
11335
|
-
}), b =
|
|
11335
|
+
}), b = Ni({
|
|
11336
11336
|
cert: "",
|
|
11337
11337
|
key: "",
|
|
11338
11338
|
certAlt: "",
|
|
@@ -11387,7 +11387,7 @@ const Lr = (r, e) => {
|
|
|
11387
11387
|
onSubmit: v
|
|
11388
11388
|
}, {
|
|
11389
11389
|
default: x(() => [
|
|
11390
|
-
$(k(
|
|
11390
|
+
$(k(on), {
|
|
11391
11391
|
description: k(s)("certificates.form.sections.ssl.description"),
|
|
11392
11392
|
title: k(s)("certificates.form.sections.ssl.title")
|
|
11393
11393
|
}, {
|
|
@@ -11463,7 +11463,7 @@ const Lr = (r, e) => {
|
|
|
11463
11463
|
]),
|
|
11464
11464
|
_: 1
|
|
11465
11465
|
}, 8, ["description", "title"]),
|
|
11466
|
-
$(k(
|
|
11466
|
+
$(k(on), {
|
|
11467
11467
|
description: k(s)("certificates.form.sections.general.description"),
|
|
11468
11468
|
title: k(s)("certificates.form.sections.general.title")
|
|
11469
11469
|
}, {
|
|
@@ -11684,7 +11684,7 @@ const tm = /* @__PURE__ */ Lr(Ly, [["__scopeId", "data-v-c7364467"]]), Hy = { cl
|
|
|
11684
11684
|
emits: ["error", "copy:success", "copy:error", "delete:success"],
|
|
11685
11685
|
setup(r, { emit: e }) {
|
|
11686
11686
|
var Ht;
|
|
11687
|
-
const t = r, { i18n: { t: i, formatUnixTimeStamp: n }, i18nT: s } = pt.useI18n(), a =
|
|
11687
|
+
const t = r, { i18n: { t: i, formatUnixTimeStamp: n }, i18nT: s } = pt.useI18n(), a = ai(), { axiosInstance: u } = rs({
|
|
11688
11688
|
headers: (Ht = t.config) == null ? void 0 : Ht.requestHeaders
|
|
11689
11689
|
}), c = te(1), f = L(() => t.config.app !== "kongManager" || !!t.config.disableSorting), b = {
|
|
11690
11690
|
issuer: { label: i("ca-certificates.list.table_headers.issuer") },
|
|
@@ -11748,7 +11748,7 @@ const tm = /* @__PURE__ */ Lr(Ly, [["__scopeId", "data-v-c7364467"]]), Hy = { cl
|
|
|
11748
11748
|
re.value = W, R.value = !0;
|
|
11749
11749
|
}, bt = () => {
|
|
11750
11750
|
R.value = !1;
|
|
11751
|
-
},
|
|
11751
|
+
}, fr = async () => {
|
|
11752
11752
|
var W, be, J;
|
|
11753
11753
|
if ((W = re.value) != null && W.id) {
|
|
11754
11754
|
F.value = !0;
|
|
@@ -11761,7 +11761,7 @@ const tm = /* @__PURE__ */ Lr(Ly, [["__scopeId", "data-v-c7364467"]]), Hy = { cl
|
|
|
11761
11761
|
}
|
|
11762
11762
|
}
|
|
11763
11763
|
};
|
|
11764
|
-
|
|
11764
|
+
or(h, (W) => {
|
|
11765
11765
|
if (W.status === $t.Error) {
|
|
11766
11766
|
y.value = i("ca-certificates.errors.general"), e("error", W.error);
|
|
11767
11767
|
return;
|
|
@@ -11774,10 +11774,10 @@ const tm = /* @__PURE__ */ Lr(Ly, [["__scopeId", "data-v-c7364467"]]), Hy = { cl
|
|
|
11774
11774
|
message: i("ca-certificates.list.empty_state.description"),
|
|
11775
11775
|
title: i("ca-certificates.title")
|
|
11776
11776
|
});
|
|
11777
|
-
return
|
|
11777
|
+
return cn(async () => {
|
|
11778
11778
|
await t.canCreate() && (jt.value.title = i("ca-certificates.list.empty_state.title"), jt.value.ctaText = i("ca-certificates.actions.create"));
|
|
11779
11779
|
}), (W, be) => {
|
|
11780
|
-
const J = ee("KButton"), ie = ee("KBadge"), Ee = ee("KTruncate"), Je = ee("KDropdownItem"),
|
|
11780
|
+
const J = ee("KButton"), ie = ee("KBadge"), Ee = ee("KTruncate"), Je = ee("KDropdownItem"), dr = ee("KClipboardProvider");
|
|
11781
11781
|
return _(), K("div", Hy, [
|
|
11782
11782
|
$(k(hf), {
|
|
11783
11783
|
"cache-identifier": r.cacheIdentifier,
|
|
@@ -11842,7 +11842,7 @@ const tm = /* @__PURE__ */ Lr(Ly, [["__scopeId", "data-v-c7364467"]]), Hy = { cl
|
|
|
11842
11842
|
default: x(() => [
|
|
11843
11843
|
(_(!0), K(Fe, null, Ue(ne == null ? void 0 : ne.tags, (Z) => (_(), fe(ie, {
|
|
11844
11844
|
key: Z,
|
|
11845
|
-
onClick: be[1] || (be[1] =
|
|
11845
|
+
onClick: be[1] || (be[1] = yr(() => {
|
|
11846
11846
|
}, ["stop"]))
|
|
11847
11847
|
}, {
|
|
11848
11848
|
default: x(() => [
|
|
@@ -11856,7 +11856,7 @@ const tm = /* @__PURE__ */ Lr(Ly, [["__scopeId", "data-v-c7364467"]]), Hy = { cl
|
|
|
11856
11856
|
];
|
|
11857
11857
|
}),
|
|
11858
11858
|
actions: x(({ row: ne }) => [
|
|
11859
|
-
$(
|
|
11859
|
+
$(dr, null, {
|
|
11860
11860
|
default: x(({ copyToClipboard: we }) => [
|
|
11861
11861
|
$(Je, {
|
|
11862
11862
|
"data-testid": "action-entity-copy-id",
|
|
@@ -11870,7 +11870,7 @@ const tm = /* @__PURE__ */ Lr(Ly, [["__scopeId", "data-v-c7364467"]]), Hy = { cl
|
|
|
11870
11870
|
]),
|
|
11871
11871
|
_: 2
|
|
11872
11872
|
}, 1024),
|
|
11873
|
-
$(
|
|
11873
|
+
$(dr, null, {
|
|
11874
11874
|
default: x(({ copyToClipboard: we }) => [
|
|
11875
11875
|
$(Je, {
|
|
11876
11876
|
"data-testid": "action-entity-copy-json",
|
|
@@ -11935,7 +11935,7 @@ const tm = /* @__PURE__ */ Lr(Ly, [["__scopeId", "data-v-c7364467"]]), Hy = { cl
|
|
|
11935
11935
|
title: k(i)("ca-certificates.delete.title"),
|
|
11936
11936
|
visible: R.value,
|
|
11937
11937
|
onCancel: bt,
|
|
11938
|
-
onProceed:
|
|
11938
|
+
onProceed: fr
|
|
11939
11939
|
}, {
|
|
11940
11940
|
description: x(() => [
|
|
11941
11941
|
$(k(s), {
|
|
@@ -11974,9 +11974,9 @@ const rm = /* @__PURE__ */ Lr(Wy, [["__scopeId", "data-v-a9e99180"]]), Jy = { cl
|
|
|
11974
11974
|
emits: ["update", "error", "loading"],
|
|
11975
11975
|
setup(r, { emit: e }) {
|
|
11976
11976
|
var v;
|
|
11977
|
-
const t = r, i =
|
|
11977
|
+
const t = r, i = ai(), { i18n: { t: n } } = pt.useI18n(), { getMessageFromError: s } = mf(), { axiosInstance: a } = rs({
|
|
11978
11978
|
headers: (v = t.config) == null ? void 0 : v.requestHeaders
|
|
11979
|
-
}), u = L(() => Gr.form[t.config.app].edit), c = L(() => t.certificateId ? Zt.Edit : Zt.Create), f =
|
|
11979
|
+
}), u = L(() => Gr.form[t.config.app].edit), c = L(() => t.certificateId ? Zt.Edit : Zt.Create), f = Ni({
|
|
11980
11980
|
fields: {
|
|
11981
11981
|
cert: "",
|
|
11982
11982
|
certDigest: "",
|
|
@@ -11984,7 +11984,7 @@ const rm = /* @__PURE__ */ Lr(Wy, [["__scopeId", "data-v-a9e99180"]]), Jy = { cl
|
|
|
11984
11984
|
},
|
|
11985
11985
|
isReadonly: !1,
|
|
11986
11986
|
errorMessage: ""
|
|
11987
|
-
}), p =
|
|
11987
|
+
}), p = Ni({
|
|
11988
11988
|
cert: "",
|
|
11989
11989
|
certDigest: "",
|
|
11990
11990
|
tags: ""
|
|
@@ -12035,7 +12035,7 @@ const rm = /* @__PURE__ */ Lr(Wy, [["__scopeId", "data-v-a9e99180"]]), Jy = { cl
|
|
|
12035
12035
|
onSubmit: h
|
|
12036
12036
|
}, {
|
|
12037
12037
|
default: x(() => [
|
|
12038
|
-
$(k(
|
|
12038
|
+
$(k(on), {
|
|
12039
12039
|
description: k(n)("ca-certificates.form.sections.cert.description"),
|
|
12040
12040
|
title: k(n)("ca-certificates.form.sections.cert.title")
|
|
12041
12041
|
}, {
|
|
@@ -12065,7 +12065,7 @@ const rm = /* @__PURE__ */ Lr(Wy, [["__scopeId", "data-v-a9e99180"]]), Jy = { cl
|
|
|
12065
12065
|
]),
|
|
12066
12066
|
_: 1
|
|
12067
12067
|
}, 8, ["description", "title"]),
|
|
12068
|
-
$(k(
|
|
12068
|
+
$(k(on), {
|
|
12069
12069
|
description: k(n)("ca-certificates.form.sections.general.description"),
|
|
12070
12070
|
title: k(n)("ca-certificates.form.sections.general.title")
|
|
12071
12071
|
}, {
|
|
@@ -12212,7 +12212,7 @@ const im = /* @__PURE__ */ Lr(Yy, [["__scopeId", "data-v-a1cf8ed1"]]), Zy = { cl
|
|
|
12212
12212
|
"onFetch:error": T[1] || (T[1] = (R) => I.$emit("fetch:error", R)),
|
|
12213
12213
|
"onFetch:success": b,
|
|
12214
12214
|
onLoading: T[2] || (T[2] = (R) => I.$emit("loading", R))
|
|
12215
|
-
},
|
|
12215
|
+
}, gr({
|
|
12216
12216
|
"cert-label-tooltip": x(() => [
|
|
12217
12217
|
$(k(s), {
|
|
12218
12218
|
keypath: "certificates.form.fields.cert.tooltip",
|