@solibo/solibo-sdk 1.0.47 → 1.1.0
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.
- package/KmLogging-logging.mjs +110 -110
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1562 -1562
- package/KotlinBigInteger-bignum.mjs +1198 -1198
- package/MultiplatformSettings-multiplatform-settings.mjs +17 -17
- package/Stately-stately-concurrency.mjs +5 -5
- package/cryptography-kotlin-cryptography-bigint.mjs +33 -33
- package/cryptography-kotlin-cryptography-core.mjs +52 -52
- package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +175 -175
- package/cryptography-kotlin-cryptography-random.mjs +26 -26
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +204 -204
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +340 -340
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +16 -16
- package/index.js +2 -1
- package/kotlin-kotlin-stdlib.mjs +2908 -2340
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-coroutines-core.mjs +2141 -2112
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.mjs +32 -32
- package/kotlinx-io-kotlinx-io-core.mjs +454 -454
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1829 -1829
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1383 -1383
- package/ktor-ktor-client-auth.mjs +463 -463
- package/ktor-ktor-client-content-negotiation.mjs +184 -184
- package/ktor-ktor-client-core.mjs +4292 -4284
- package/ktor-ktor-client-logging.mjs +1083 -1083
- package/ktor-ktor-client-mock.mjs +288 -0
- package/ktor-ktor-client-mock.mjs.map +1 -1
- package/ktor-ktor-events.mjs +6 -6
- package/ktor-ktor-http-cio.mjs +480 -480
- package/ktor-ktor-http.mjs +995 -991
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-io.mjs +1090 -1090
- package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
- package/ktor-ktor-serialization-kotlinx.mjs +234 -234
- package/ktor-ktor-serialization.mjs +108 -108
- package/ktor-ktor-utils.mjs +871 -871
- package/ktor-ktor-websockets.mjs +742 -742
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +54019 -54000
- package/solibo-sdk-sdk.d.mts +51 -0
- package/solibo-sdk-sdk.mjs +3361 -2493
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -68,56 +68,56 @@ initMetadataForObject(RsaKeyAlgorithmIdentifier, 'RsaKeyAlgorithmIdentifier', VO
|
|
|
68
68
|
function AlgorithmIdentifier() {
|
|
69
69
|
}
|
|
70
70
|
function AlgorithmIdentifierSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
71
|
-
$this$buildSerialDescriptor.
|
|
72
|
-
$this$buildSerialDescriptor.
|
|
71
|
+
$this$buildSerialDescriptor.rt('algorithm', Companion_instance.t63().ys());
|
|
72
|
+
$this$buildSerialDescriptor.rt('parameters', buildSerialDescriptor('Any', CONTEXTUAL_getInstance(), []));
|
|
73
73
|
return Unit_instance;
|
|
74
74
|
}
|
|
75
75
|
function AlgorithmIdentifierSerializer() {
|
|
76
76
|
var tmp = this;
|
|
77
77
|
var tmp_0 = OPEN_getInstance();
|
|
78
|
-
tmp.
|
|
78
|
+
tmp.mob_1 = buildSerialDescriptor('AlgorithmIdentifier', tmp_0, [], AlgorithmIdentifierSerializer$descriptor$lambda);
|
|
79
79
|
}
|
|
80
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
81
|
-
_this__u8e3s4.
|
|
80
|
+
protoOf(AlgorithmIdentifierSerializer).pob = function (_this__u8e3s4, serializer, value) {
|
|
81
|
+
_this__u8e3s4.fy(this.mob_1, 1, serializer, value);
|
|
82
82
|
};
|
|
83
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
84
|
-
return _this__u8e3s4.
|
|
83
|
+
protoOf(AlgorithmIdentifierSerializer).qob = function (_this__u8e3s4, serializer) {
|
|
84
|
+
return _this__u8e3s4.cx(this.mob_1, 1, serializer);
|
|
85
85
|
};
|
|
86
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
87
|
-
return this.
|
|
86
|
+
protoOf(AlgorithmIdentifierSerializer).ys = function () {
|
|
87
|
+
return this.mob_1;
|
|
88
88
|
};
|
|
89
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
89
|
+
protoOf(AlgorithmIdentifierSerializer).rob = function (encoder, value) {
|
|
90
90
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
91
|
-
var descriptor = this.
|
|
92
|
-
var composite = encoder.
|
|
93
|
-
composite.
|
|
94
|
-
this.
|
|
95
|
-
composite.
|
|
91
|
+
var descriptor = this.mob_1;
|
|
92
|
+
var composite = encoder.nw(descriptor);
|
|
93
|
+
composite.ey(this.mob_1, 0, Companion_instance.t63(), new ObjectIdentifier(value.lob()));
|
|
94
|
+
this.nob(composite, value);
|
|
95
|
+
composite.ow(descriptor);
|
|
96
96
|
return Unit_instance;
|
|
97
97
|
};
|
|
98
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
99
|
-
return this.
|
|
98
|
+
protoOf(AlgorithmIdentifierSerializer).lt = function (encoder, value) {
|
|
99
|
+
return this.rob(encoder, (!(value == null) ? isInterface(value, AlgorithmIdentifier) : false) ? value : THROW_CCE());
|
|
100
100
|
};
|
|
101
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
101
|
+
protoOf(AlgorithmIdentifierSerializer).mt = function (decoder) {
|
|
102
102
|
// Inline function 'kotlinx.serialization.encoding.decodeStructure' call
|
|
103
|
-
var descriptor = this.
|
|
104
|
-
var composite = decoder.
|
|
103
|
+
var descriptor = this.mob_1;
|
|
104
|
+
var composite = decoder.nw(descriptor);
|
|
105
105
|
// Inline function 'kotlin.check' call
|
|
106
|
-
if (!(composite.
|
|
106
|
+
if (!(composite.ex(this.mob_1) === 0)) {
|
|
107
107
|
throw IllegalStateException_init_$Create$('Check failed.');
|
|
108
108
|
}
|
|
109
|
-
var algorithm = composite.
|
|
109
|
+
var algorithm = composite.ax(this.mob_1, 0, Companion_instance.t63()).hoa_1;
|
|
110
110
|
// Inline function 'kotlin.check' call
|
|
111
|
-
if (!(composite.
|
|
111
|
+
if (!(composite.ex(this.mob_1) === 1)) {
|
|
112
112
|
throw IllegalStateException_init_$Create$('Check failed.');
|
|
113
113
|
}
|
|
114
|
-
var parameters = this.
|
|
114
|
+
var parameters = this.oob(composite, algorithm);
|
|
115
115
|
// Inline function 'kotlin.check' call
|
|
116
|
-
if (!(composite.
|
|
116
|
+
if (!(composite.ex(this.mob_1) === -1)) {
|
|
117
117
|
throw IllegalStateException_init_$Create$('Check failed.');
|
|
118
118
|
}
|
|
119
119
|
var result = parameters;
|
|
120
|
-
composite.
|
|
120
|
+
composite.ow(descriptor);
|
|
121
121
|
return result;
|
|
122
122
|
};
|
|
123
123
|
function get_secp256r1(_this__u8e3s4) {
|
|
@@ -130,9 +130,9 @@ function get_secp521r1(_this__u8e3s4) {
|
|
|
130
130
|
return _ObjectIdentifier___init__impl__7hutfr('1.3.132.0.35');
|
|
131
131
|
}
|
|
132
132
|
function EcKeyAlgorithmIdentifier(parameters) {
|
|
133
|
-
this.
|
|
133
|
+
this.sob_1 = parameters;
|
|
134
134
|
}
|
|
135
|
-
protoOf(EcKeyAlgorithmIdentifier).
|
|
135
|
+
protoOf(EcKeyAlgorithmIdentifier).lob = function () {
|
|
136
136
|
return get_EC(Companion_instance);
|
|
137
137
|
};
|
|
138
138
|
function _EcParameters___init__impl__i4ww9z(namedCurve) {
|
|
@@ -143,7 +143,7 @@ function _EcParameters___get_namedCurve__impl__oibidm($this) {
|
|
|
143
143
|
}
|
|
144
144
|
function Companion() {
|
|
145
145
|
}
|
|
146
|
-
protoOf(Companion).
|
|
146
|
+
protoOf(Companion).t63 = function () {
|
|
147
147
|
return $serializer_getInstance_1();
|
|
148
148
|
};
|
|
149
149
|
var Companion_instance_0;
|
|
@@ -153,30 +153,30 @@ function Companion_getInstance() {
|
|
|
153
153
|
function $serializer() {
|
|
154
154
|
$serializer_instance = this;
|
|
155
155
|
var tmp0_serialDesc = new InlineClassDescriptor('dev.whyoleg.cryptography.serialization.asn1.modules.EcParameters', this);
|
|
156
|
-
tmp0_serialDesc.
|
|
157
|
-
this.
|
|
156
|
+
tmp0_serialDesc.a14('namedCurve', false);
|
|
157
|
+
this.tob_1 = tmp0_serialDesc;
|
|
158
158
|
}
|
|
159
|
-
protoOf($serializer).
|
|
160
|
-
var tmp0_inlineEncoder = encoder.
|
|
159
|
+
protoOf($serializer).uob = function (encoder, value) {
|
|
160
|
+
var tmp0_inlineEncoder = encoder.tx(this.tob_1);
|
|
161
161
|
if (tmp0_inlineEncoder == null)
|
|
162
162
|
null;
|
|
163
163
|
else {
|
|
164
|
-
tmp0_inlineEncoder.
|
|
164
|
+
tmp0_inlineEncoder.kt($serializer_getInstance(), new ObjectIdentifier(_EcParameters___get_namedCurve__impl__oibidm(value)));
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
|
-
protoOf($serializer).
|
|
168
|
-
return this.
|
|
167
|
+
protoOf($serializer).lt = function (encoder, value) {
|
|
168
|
+
return this.uob(encoder, value instanceof EcParameters ? value.vob_1 : THROW_CCE());
|
|
169
169
|
};
|
|
170
|
-
protoOf($serializer).
|
|
171
|
-
return _EcParameters___init__impl__i4ww9z(decoder.
|
|
170
|
+
protoOf($serializer).wob = function (decoder) {
|
|
171
|
+
return _EcParameters___init__impl__i4ww9z(decoder.lw(this.tob_1).nt($serializer_getInstance()).hoa_1);
|
|
172
172
|
};
|
|
173
|
-
protoOf($serializer).
|
|
174
|
-
return new EcParameters(this.
|
|
173
|
+
protoOf($serializer).mt = function (decoder) {
|
|
174
|
+
return new EcParameters(this.wob(decoder));
|
|
175
175
|
};
|
|
176
|
-
protoOf($serializer).
|
|
177
|
-
return this.
|
|
176
|
+
protoOf($serializer).ys = function () {
|
|
177
|
+
return this.tob_1;
|
|
178
178
|
};
|
|
179
|
-
protoOf($serializer).
|
|
179
|
+
protoOf($serializer).t14 = function () {
|
|
180
180
|
// Inline function 'kotlin.arrayOf' call
|
|
181
181
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
182
182
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -197,25 +197,25 @@ function EcParameters__hashCode_impl_prn1m($this) {
|
|
|
197
197
|
function EcParameters__equals_impl_5tm4e2($this, other) {
|
|
198
198
|
if (!(other instanceof EcParameters))
|
|
199
199
|
return false;
|
|
200
|
-
if (!($this === (other instanceof EcParameters ? other.
|
|
200
|
+
if (!($this === (other instanceof EcParameters ? other.vob_1 : THROW_CCE())))
|
|
201
201
|
return false;
|
|
202
202
|
return true;
|
|
203
203
|
}
|
|
204
204
|
function EcParameters(namedCurve) {
|
|
205
|
-
this.
|
|
205
|
+
this.vob_1 = namedCurve;
|
|
206
206
|
}
|
|
207
207
|
protoOf(EcParameters).toString = function () {
|
|
208
|
-
return EcParameters__toString_impl_mgxjuh(this.
|
|
208
|
+
return EcParameters__toString_impl_mgxjuh(this.vob_1);
|
|
209
209
|
};
|
|
210
210
|
protoOf(EcParameters).hashCode = function () {
|
|
211
|
-
return EcParameters__hashCode_impl_prn1m(this.
|
|
211
|
+
return EcParameters__hashCode_impl_prn1m(this.vob_1);
|
|
212
212
|
};
|
|
213
213
|
protoOf(EcParameters).equals = function (other) {
|
|
214
|
-
return EcParameters__equals_impl_5tm4e2(this.
|
|
214
|
+
return EcParameters__equals_impl_5tm4e2(this.vob_1, other);
|
|
215
215
|
};
|
|
216
216
|
function Companion_0() {
|
|
217
217
|
}
|
|
218
|
-
protoOf(Companion_0).
|
|
218
|
+
protoOf(Companion_0).t63 = function () {
|
|
219
219
|
return $serializer_getInstance_2();
|
|
220
220
|
};
|
|
221
221
|
var Companion_instance_1;
|
|
@@ -225,41 +225,41 @@ function Companion_getInstance_0() {
|
|
|
225
225
|
function $serializer_0() {
|
|
226
226
|
$serializer_instance_0 = this;
|
|
227
227
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('dev.whyoleg.cryptography.serialization.asn1.modules.EcPrivateKey', this, 4);
|
|
228
|
-
tmp0_serialDesc.
|
|
229
|
-
tmp0_serialDesc.
|
|
230
|
-
tmp0_serialDesc.
|
|
231
|
-
tmp0_serialDesc.
|
|
232
|
-
tmp0_serialDesc.
|
|
233
|
-
tmp0_serialDesc.
|
|
234
|
-
this.
|
|
235
|
-
}
|
|
236
|
-
protoOf($serializer_0).
|
|
237
|
-
var tmp0_desc = this.
|
|
238
|
-
var tmp1_output = encoder.
|
|
239
|
-
tmp1_output.
|
|
240
|
-
tmp1_output.
|
|
228
|
+
tmp0_serialDesc.a14('version', false);
|
|
229
|
+
tmp0_serialDesc.a14('privateKey', false);
|
|
230
|
+
tmp0_serialDesc.a14('parameters', true);
|
|
231
|
+
tmp0_serialDesc.k13(new ContextSpecificTag(0, TagType_EXPLICIT_getInstance()));
|
|
232
|
+
tmp0_serialDesc.a14('publicKey', true);
|
|
233
|
+
tmp0_serialDesc.k13(new ContextSpecificTag(1, TagType_EXPLICIT_getInstance()));
|
|
234
|
+
this.xob_1 = tmp0_serialDesc;
|
|
235
|
+
}
|
|
236
|
+
protoOf($serializer_0).yob = function (encoder, value) {
|
|
237
|
+
var tmp0_desc = this.xob_1;
|
|
238
|
+
var tmp1_output = encoder.nw(tmp0_desc);
|
|
239
|
+
tmp1_output.xx(tmp0_desc, 0, value.zob_1);
|
|
240
|
+
tmp1_output.ey(tmp0_desc, 1, ByteArraySerializer_getInstance(), value.aoc_1);
|
|
241
241
|
var tmp;
|
|
242
|
-
if (tmp1_output.
|
|
242
|
+
if (tmp1_output.jy(tmp0_desc, 2)) {
|
|
243
243
|
tmp = true;
|
|
244
244
|
} else {
|
|
245
|
-
var tmp_0 = value.
|
|
245
|
+
var tmp_0 = value.boc_1;
|
|
246
246
|
tmp = !((tmp_0 == null ? null : new EcParameters(tmp_0)) == null);
|
|
247
247
|
}
|
|
248
248
|
if (tmp) {
|
|
249
249
|
var tmp_1 = $serializer_getInstance_1();
|
|
250
|
-
var tmp_2 = value.
|
|
251
|
-
tmp1_output.
|
|
250
|
+
var tmp_2 = value.boc_1;
|
|
251
|
+
tmp1_output.fy(tmp0_desc, 2, tmp_1, tmp_2 == null ? null : new EcParameters(tmp_2));
|
|
252
252
|
}
|
|
253
|
-
if (tmp1_output.
|
|
254
|
-
tmp1_output.
|
|
253
|
+
if (tmp1_output.jy(tmp0_desc, 3) ? true : !(value.coc_1 == null)) {
|
|
254
|
+
tmp1_output.fy(tmp0_desc, 3, $serializer_getInstance_0(), value.coc_1);
|
|
255
255
|
}
|
|
256
|
-
tmp1_output.
|
|
256
|
+
tmp1_output.ow(tmp0_desc);
|
|
257
257
|
};
|
|
258
|
-
protoOf($serializer_0).
|
|
259
|
-
return this.
|
|
258
|
+
protoOf($serializer_0).lt = function (encoder, value) {
|
|
259
|
+
return this.yob(encoder, value instanceof EcPrivateKey ? value : THROW_CCE());
|
|
260
260
|
};
|
|
261
|
-
protoOf($serializer_0).
|
|
262
|
-
var tmp0_desc = this.
|
|
261
|
+
protoOf($serializer_0).mt = function (decoder) {
|
|
262
|
+
var tmp0_desc = this.xob_1;
|
|
263
263
|
var tmp1_flag = true;
|
|
264
264
|
var tmp2_index = 0;
|
|
265
265
|
var tmp3_bitMask0 = 0;
|
|
@@ -267,56 +267,56 @@ protoOf($serializer_0).dt = function (decoder) {
|
|
|
267
267
|
var tmp5_local1 = null;
|
|
268
268
|
var tmp6_local2 = null;
|
|
269
269
|
var tmp7_local3 = null;
|
|
270
|
-
var tmp8_input = decoder.
|
|
271
|
-
if (tmp8_input.
|
|
272
|
-
tmp4_local0 = tmp8_input.
|
|
270
|
+
var tmp8_input = decoder.nw(tmp0_desc);
|
|
271
|
+
if (tmp8_input.dx()) {
|
|
272
|
+
tmp4_local0 = tmp8_input.sw(tmp0_desc, 0);
|
|
273
273
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
274
|
-
tmp5_local1 = tmp8_input.
|
|
274
|
+
tmp5_local1 = tmp8_input.zw(tmp0_desc, 1, ByteArraySerializer_getInstance(), tmp5_local1);
|
|
275
275
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
276
276
|
var tmp = $serializer_getInstance_1();
|
|
277
277
|
var tmp_0 = tmp6_local2;
|
|
278
|
-
var tmp_1 = tmp8_input.
|
|
279
|
-
tmp6_local2 = tmp_1 == null ? null : tmp_1.
|
|
278
|
+
var tmp_1 = tmp8_input.bx(tmp0_desc, 2, tmp, tmp_0 == null ? null : new EcParameters(tmp_0));
|
|
279
|
+
tmp6_local2 = tmp_1 == null ? null : tmp_1.vob_1;
|
|
280
280
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
281
|
-
tmp7_local3 = tmp8_input.
|
|
281
|
+
tmp7_local3 = tmp8_input.bx(tmp0_desc, 3, $serializer_getInstance_0(), tmp7_local3);
|
|
282
282
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
283
283
|
} else
|
|
284
284
|
while (tmp1_flag) {
|
|
285
|
-
tmp2_index = tmp8_input.
|
|
285
|
+
tmp2_index = tmp8_input.ex(tmp0_desc);
|
|
286
286
|
switch (tmp2_index) {
|
|
287
287
|
case -1:
|
|
288
288
|
tmp1_flag = false;
|
|
289
289
|
break;
|
|
290
290
|
case 0:
|
|
291
|
-
tmp4_local0 = tmp8_input.
|
|
291
|
+
tmp4_local0 = tmp8_input.sw(tmp0_desc, 0);
|
|
292
292
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
293
293
|
break;
|
|
294
294
|
case 1:
|
|
295
|
-
tmp5_local1 = tmp8_input.
|
|
295
|
+
tmp5_local1 = tmp8_input.zw(tmp0_desc, 1, ByteArraySerializer_getInstance(), tmp5_local1);
|
|
296
296
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
297
297
|
break;
|
|
298
298
|
case 2:
|
|
299
299
|
var tmp_2 = $serializer_getInstance_1();
|
|
300
300
|
var tmp_3 = tmp6_local2;
|
|
301
|
-
var tmp_4 = tmp8_input.
|
|
302
|
-
tmp6_local2 = tmp_4 == null ? null : tmp_4.
|
|
301
|
+
var tmp_4 = tmp8_input.bx(tmp0_desc, 2, tmp_2, tmp_3 == null ? null : new EcParameters(tmp_3));
|
|
302
|
+
tmp6_local2 = tmp_4 == null ? null : tmp_4.vob_1;
|
|
303
303
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
304
304
|
break;
|
|
305
305
|
case 3:
|
|
306
|
-
tmp7_local3 = tmp8_input.
|
|
306
|
+
tmp7_local3 = tmp8_input.bx(tmp0_desc, 3, $serializer_getInstance_0(), tmp7_local3);
|
|
307
307
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
308
308
|
break;
|
|
309
309
|
default:
|
|
310
310
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
tmp8_input.
|
|
313
|
+
tmp8_input.ow(tmp0_desc);
|
|
314
314
|
return EcPrivateKey_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
315
315
|
};
|
|
316
|
-
protoOf($serializer_0).
|
|
317
|
-
return this.
|
|
316
|
+
protoOf($serializer_0).ys = function () {
|
|
317
|
+
return this.xob_1;
|
|
318
318
|
};
|
|
319
|
-
protoOf($serializer_0).
|
|
319
|
+
protoOf($serializer_0).t14 = function () {
|
|
320
320
|
// Inline function 'kotlin.arrayOf' call
|
|
321
321
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
322
322
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -330,18 +330,18 @@ function $serializer_getInstance_2() {
|
|
|
330
330
|
}
|
|
331
331
|
function EcPrivateKey_init_$Init$(seen0, version, privateKey, parameters, publicKey, serializationConstructorMarker, $this) {
|
|
332
332
|
if (!(3 === (3 & seen0))) {
|
|
333
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().
|
|
333
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().xob_1);
|
|
334
334
|
}
|
|
335
|
-
$this.
|
|
336
|
-
$this.
|
|
335
|
+
$this.zob_1 = version;
|
|
336
|
+
$this.aoc_1 = privateKey;
|
|
337
337
|
if (0 === (seen0 & 4))
|
|
338
|
-
$this.
|
|
338
|
+
$this.boc_1 = null;
|
|
339
339
|
else
|
|
340
|
-
$this.
|
|
340
|
+
$this.boc_1 = parameters;
|
|
341
341
|
if (0 === (seen0 & 8))
|
|
342
|
-
$this.
|
|
342
|
+
$this.coc_1 = null;
|
|
343
343
|
else
|
|
344
|
-
$this.
|
|
344
|
+
$this.coc_1 = publicKey;
|
|
345
345
|
return $this;
|
|
346
346
|
}
|
|
347
347
|
function EcPrivateKey_init_$Create$(seen0, version, privateKey, parameters, publicKey, serializationConstructorMarker) {
|
|
@@ -350,10 +350,10 @@ function EcPrivateKey_init_$Create$(seen0, version, privateKey, parameters, publ
|
|
|
350
350
|
function EcPrivateKey(version, privateKey, parameters, publicKey) {
|
|
351
351
|
parameters = parameters === VOID ? null : parameters;
|
|
352
352
|
publicKey = publicKey === VOID ? null : publicKey;
|
|
353
|
-
this.
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
356
|
-
this.
|
|
353
|
+
this.zob_1 = version;
|
|
354
|
+
this.aoc_1 = privateKey;
|
|
355
|
+
this.boc_1 = parameters;
|
|
356
|
+
this.coc_1 = publicKey;
|
|
357
357
|
}
|
|
358
358
|
function get_EC(_this__u8e3s4) {
|
|
359
359
|
return _ObjectIdentifier___init__impl__7hutfr('1.2.840.10045.2.1');
|
|
@@ -361,52 +361,52 @@ function get_EC(_this__u8e3s4) {
|
|
|
361
361
|
function KeyAlgorithmIdentifier() {
|
|
362
362
|
}
|
|
363
363
|
function UnknownKeyAlgorithmIdentifier(algorithm) {
|
|
364
|
-
this.
|
|
364
|
+
this.doc_1 = algorithm;
|
|
365
365
|
}
|
|
366
|
-
protoOf(UnknownKeyAlgorithmIdentifier).
|
|
367
|
-
return this.
|
|
366
|
+
protoOf(UnknownKeyAlgorithmIdentifier).lob = function () {
|
|
367
|
+
return this.doc_1;
|
|
368
368
|
};
|
|
369
|
-
protoOf(UnknownKeyAlgorithmIdentifier).
|
|
369
|
+
protoOf(UnknownKeyAlgorithmIdentifier).eoc = function () {
|
|
370
370
|
return null;
|
|
371
371
|
};
|
|
372
372
|
function KeyAlgorithmIdentifierSerializer() {
|
|
373
373
|
KeyAlgorithmIdentifierSerializer_instance = this;
|
|
374
374
|
AlgorithmIdentifierSerializer.call(this);
|
|
375
375
|
}
|
|
376
|
-
protoOf(KeyAlgorithmIdentifierSerializer).
|
|
376
|
+
protoOf(KeyAlgorithmIdentifierSerializer).goc = function (_this__u8e3s4, value) {
|
|
377
377
|
var tmp;
|
|
378
378
|
if (value instanceof RsaKeyAlgorithmIdentifier) {
|
|
379
|
-
this.
|
|
379
|
+
this.pob(_this__u8e3s4, NothingSerializer(), RsaKeyAlgorithmIdentifier_instance.eoc());
|
|
380
380
|
tmp = Unit_instance;
|
|
381
381
|
} else {
|
|
382
382
|
if (value instanceof EcKeyAlgorithmIdentifier) {
|
|
383
|
-
var tmp_0 = Companion_instance_0.
|
|
384
|
-
var tmp_1 = value.
|
|
385
|
-
this.
|
|
383
|
+
var tmp_0 = Companion_instance_0.t63();
|
|
384
|
+
var tmp_1 = value.sob_1;
|
|
385
|
+
this.pob(_this__u8e3s4, tmp_0, tmp_1 == null ? null : new EcParameters(tmp_1));
|
|
386
386
|
tmp = Unit_instance;
|
|
387
387
|
} else {
|
|
388
388
|
if (value instanceof UnknownKeyAlgorithmIdentifier) {
|
|
389
|
-
this.
|
|
389
|
+
this.pob(_this__u8e3s4, NothingSerializer(), value.eoc());
|
|
390
390
|
tmp = Unit_instance;
|
|
391
391
|
} else {
|
|
392
|
-
this.
|
|
392
|
+
this.pob(_this__u8e3s4, NothingSerializer(), null);
|
|
393
393
|
tmp = Unit_instance;
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
return tmp;
|
|
398
398
|
};
|
|
399
|
-
protoOf(KeyAlgorithmIdentifierSerializer).
|
|
400
|
-
return this.
|
|
399
|
+
protoOf(KeyAlgorithmIdentifierSerializer).nob = function (_this__u8e3s4, value) {
|
|
400
|
+
return this.goc(_this__u8e3s4, isInterface(value, KeyAlgorithmIdentifier) ? value : THROW_CCE());
|
|
401
401
|
};
|
|
402
|
-
protoOf(KeyAlgorithmIdentifierSerializer).
|
|
402
|
+
protoOf(KeyAlgorithmIdentifierSerializer).oob = function (_this__u8e3s4, algorithm) {
|
|
403
403
|
var tmp;
|
|
404
404
|
if (algorithm === get_RSA(Companion_instance)) {
|
|
405
|
-
this.
|
|
405
|
+
this.qob(_this__u8e3s4, NothingSerializer());
|
|
406
406
|
tmp = RsaKeyAlgorithmIdentifier_instance;
|
|
407
407
|
} else if (algorithm === get_EC(Companion_instance)) {
|
|
408
|
-
var tmp_0 = this.
|
|
409
|
-
tmp = new EcKeyAlgorithmIdentifier(tmp_0 == null ? null : tmp_0.
|
|
408
|
+
var tmp_0 = this.qob(_this__u8e3s4, Companion_instance_0.t63());
|
|
409
|
+
tmp = new EcKeyAlgorithmIdentifier(tmp_0 == null ? null : tmp_0.vob_1);
|
|
410
410
|
} else {
|
|
411
411
|
tmp = new UnknownKeyAlgorithmIdentifier(algorithm);
|
|
412
412
|
}
|
|
@@ -434,9 +434,9 @@ function Companion_1() {
|
|
|
434
434
|
// Inline function 'kotlin.arrayOf' call
|
|
435
435
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
436
436
|
// Inline function 'kotlin.js.asDynamic' call
|
|
437
|
-
tmp.
|
|
437
|
+
tmp.hoc_1 = [null, lazy(tmp_0, PrivateKeyInfo$Companion$$childSerializers$_anonymous__z2jngg), null];
|
|
438
438
|
}
|
|
439
|
-
protoOf(Companion_1).
|
|
439
|
+
protoOf(Companion_1).t63 = function () {
|
|
440
440
|
return $serializer_getInstance_3();
|
|
441
441
|
};
|
|
442
442
|
var Companion_instance_2;
|
|
@@ -448,71 +448,71 @@ function Companion_getInstance_1() {
|
|
|
448
448
|
function $serializer_1() {
|
|
449
449
|
$serializer_instance_1 = this;
|
|
450
450
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('dev.whyoleg.cryptography.serialization.asn1.modules.PrivateKeyInfo', this, 3);
|
|
451
|
-
tmp0_serialDesc.
|
|
452
|
-
tmp0_serialDesc.
|
|
453
|
-
tmp0_serialDesc.
|
|
454
|
-
this.
|
|
455
|
-
}
|
|
456
|
-
protoOf($serializer_1).
|
|
457
|
-
var tmp0_desc = this.
|
|
458
|
-
var tmp1_output = encoder.
|
|
459
|
-
var tmp2_cached = Companion_getInstance_1().
|
|
460
|
-
tmp1_output.
|
|
461
|
-
tmp1_output.
|
|
462
|
-
tmp1_output.
|
|
463
|
-
tmp1_output.
|
|
464
|
-
};
|
|
465
|
-
protoOf($serializer_1).
|
|
466
|
-
return this.
|
|
467
|
-
};
|
|
468
|
-
protoOf($serializer_1).
|
|
469
|
-
var tmp0_desc = this.
|
|
451
|
+
tmp0_serialDesc.a14('version', false);
|
|
452
|
+
tmp0_serialDesc.a14('privateKeyAlgorithm', false);
|
|
453
|
+
tmp0_serialDesc.a14('privateKey', false);
|
|
454
|
+
this.ioc_1 = tmp0_serialDesc;
|
|
455
|
+
}
|
|
456
|
+
protoOf($serializer_1).joc = function (encoder, value) {
|
|
457
|
+
var tmp0_desc = this.ioc_1;
|
|
458
|
+
var tmp1_output = encoder.nw(tmp0_desc);
|
|
459
|
+
var tmp2_cached = Companion_getInstance_1().hoc_1;
|
|
460
|
+
tmp1_output.xx(tmp0_desc, 0, value.koc_1);
|
|
461
|
+
tmp1_output.ey(tmp0_desc, 1, tmp2_cached[1].n1(), value.loc_1);
|
|
462
|
+
tmp1_output.ey(tmp0_desc, 2, ByteArraySerializer_getInstance(), value.moc_1);
|
|
463
|
+
tmp1_output.ow(tmp0_desc);
|
|
464
|
+
};
|
|
465
|
+
protoOf($serializer_1).lt = function (encoder, value) {
|
|
466
|
+
return this.joc(encoder, value instanceof PrivateKeyInfo ? value : THROW_CCE());
|
|
467
|
+
};
|
|
468
|
+
protoOf($serializer_1).mt = function (decoder) {
|
|
469
|
+
var tmp0_desc = this.ioc_1;
|
|
470
470
|
var tmp1_flag = true;
|
|
471
471
|
var tmp2_index = 0;
|
|
472
472
|
var tmp3_bitMask0 = 0;
|
|
473
473
|
var tmp4_local0 = 0;
|
|
474
474
|
var tmp5_local1 = null;
|
|
475
475
|
var tmp6_local2 = null;
|
|
476
|
-
var tmp7_input = decoder.
|
|
477
|
-
var tmp8_cached = Companion_getInstance_1().
|
|
478
|
-
if (tmp7_input.
|
|
479
|
-
tmp4_local0 = tmp7_input.
|
|
476
|
+
var tmp7_input = decoder.nw(tmp0_desc);
|
|
477
|
+
var tmp8_cached = Companion_getInstance_1().hoc_1;
|
|
478
|
+
if (tmp7_input.dx()) {
|
|
479
|
+
tmp4_local0 = tmp7_input.sw(tmp0_desc, 0);
|
|
480
480
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
481
|
-
tmp5_local1 = tmp7_input.
|
|
481
|
+
tmp5_local1 = tmp7_input.zw(tmp0_desc, 1, tmp8_cached[1].n1(), tmp5_local1);
|
|
482
482
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
483
|
-
tmp6_local2 = tmp7_input.
|
|
483
|
+
tmp6_local2 = tmp7_input.zw(tmp0_desc, 2, ByteArraySerializer_getInstance(), tmp6_local2);
|
|
484
484
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
485
485
|
} else
|
|
486
486
|
while (tmp1_flag) {
|
|
487
|
-
tmp2_index = tmp7_input.
|
|
487
|
+
tmp2_index = tmp7_input.ex(tmp0_desc);
|
|
488
488
|
switch (tmp2_index) {
|
|
489
489
|
case -1:
|
|
490
490
|
tmp1_flag = false;
|
|
491
491
|
break;
|
|
492
492
|
case 0:
|
|
493
|
-
tmp4_local0 = tmp7_input.
|
|
493
|
+
tmp4_local0 = tmp7_input.sw(tmp0_desc, 0);
|
|
494
494
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
495
495
|
break;
|
|
496
496
|
case 1:
|
|
497
|
-
tmp5_local1 = tmp7_input.
|
|
497
|
+
tmp5_local1 = tmp7_input.zw(tmp0_desc, 1, tmp8_cached[1].n1(), tmp5_local1);
|
|
498
498
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
499
499
|
break;
|
|
500
500
|
case 2:
|
|
501
|
-
tmp6_local2 = tmp7_input.
|
|
501
|
+
tmp6_local2 = tmp7_input.zw(tmp0_desc, 2, ByteArraySerializer_getInstance(), tmp6_local2);
|
|
502
502
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
503
503
|
break;
|
|
504
504
|
default:
|
|
505
505
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
tmp7_input.
|
|
508
|
+
tmp7_input.ow(tmp0_desc);
|
|
509
509
|
return PrivateKeyInfo_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
510
510
|
};
|
|
511
|
-
protoOf($serializer_1).
|
|
512
|
-
return this.
|
|
511
|
+
protoOf($serializer_1).ys = function () {
|
|
512
|
+
return this.ioc_1;
|
|
513
513
|
};
|
|
514
|
-
protoOf($serializer_1).
|
|
515
|
-
var tmp0_cached = Companion_getInstance_1().
|
|
514
|
+
protoOf($serializer_1).t14 = function () {
|
|
515
|
+
var tmp0_cached = Companion_getInstance_1().hoc_1;
|
|
516
516
|
// Inline function 'kotlin.arrayOf' call
|
|
517
517
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
518
518
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -526,11 +526,11 @@ function $serializer_getInstance_3() {
|
|
|
526
526
|
}
|
|
527
527
|
function PrivateKeyInfo_init_$Init$(seen0, version, privateKeyAlgorithm, privateKey, serializationConstructorMarker, $this) {
|
|
528
528
|
if (!(7 === (7 & seen0))) {
|
|
529
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_3().
|
|
529
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_3().ioc_1);
|
|
530
530
|
}
|
|
531
|
-
$this.
|
|
532
|
-
$this.
|
|
533
|
-
$this.
|
|
531
|
+
$this.koc_1 = version;
|
|
532
|
+
$this.loc_1 = privateKeyAlgorithm;
|
|
533
|
+
$this.moc_1 = privateKey;
|
|
534
534
|
return $this;
|
|
535
535
|
}
|
|
536
536
|
function PrivateKeyInfo_init_$Create$(seen0, version, privateKeyAlgorithm, privateKey, serializationConstructorMarker) {
|
|
@@ -538,9 +538,9 @@ function PrivateKeyInfo_init_$Create$(seen0, version, privateKeyAlgorithm, priva
|
|
|
538
538
|
}
|
|
539
539
|
function PrivateKeyInfo(version, privateKeyAlgorithm, privateKey) {
|
|
540
540
|
Companion_getInstance_1();
|
|
541
|
-
this.
|
|
542
|
-
this.
|
|
543
|
-
this.
|
|
541
|
+
this.koc_1 = version;
|
|
542
|
+
this.loc_1 = privateKeyAlgorithm;
|
|
543
|
+
this.moc_1 = privateKey;
|
|
544
544
|
}
|
|
545
545
|
function SubjectPublicKeyInfo$Companion$$childSerializers$_anonymous__ezpjw2() {
|
|
546
546
|
var tmp = getKClass(KeyAlgorithmIdentifier);
|
|
@@ -558,9 +558,9 @@ function Companion_2() {
|
|
|
558
558
|
// Inline function 'kotlin.arrayOf' call
|
|
559
559
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
560
560
|
// Inline function 'kotlin.js.asDynamic' call
|
|
561
|
-
tmp.
|
|
561
|
+
tmp.noc_1 = [lazy(tmp_0, SubjectPublicKeyInfo$Companion$$childSerializers$_anonymous__ezpjw2), null];
|
|
562
562
|
}
|
|
563
|
-
protoOf(Companion_2).
|
|
563
|
+
protoOf(Companion_2).t63 = function () {
|
|
564
564
|
return $serializer_getInstance_4();
|
|
565
565
|
};
|
|
566
566
|
var Companion_instance_3;
|
|
@@ -572,65 +572,65 @@ function Companion_getInstance_2() {
|
|
|
572
572
|
function $serializer_2() {
|
|
573
573
|
$serializer_instance_2 = this;
|
|
574
574
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('dev.whyoleg.cryptography.serialization.asn1.modules.SubjectPublicKeyInfo', this, 2);
|
|
575
|
-
tmp0_serialDesc.
|
|
576
|
-
tmp0_serialDesc.
|
|
577
|
-
this.
|
|
578
|
-
}
|
|
579
|
-
protoOf($serializer_2).
|
|
580
|
-
var tmp0_desc = this.
|
|
581
|
-
var tmp1_output = encoder.
|
|
582
|
-
var tmp2_cached = Companion_getInstance_2().
|
|
583
|
-
tmp1_output.
|
|
584
|
-
tmp1_output.
|
|
585
|
-
tmp1_output.
|
|
586
|
-
};
|
|
587
|
-
protoOf($serializer_2).
|
|
588
|
-
return this.
|
|
589
|
-
};
|
|
590
|
-
protoOf($serializer_2).
|
|
591
|
-
var tmp0_desc = this.
|
|
575
|
+
tmp0_serialDesc.a14('algorithm', false);
|
|
576
|
+
tmp0_serialDesc.a14('subjectPublicKey', false);
|
|
577
|
+
this.ooc_1 = tmp0_serialDesc;
|
|
578
|
+
}
|
|
579
|
+
protoOf($serializer_2).poc = function (encoder, value) {
|
|
580
|
+
var tmp0_desc = this.ooc_1;
|
|
581
|
+
var tmp1_output = encoder.nw(tmp0_desc);
|
|
582
|
+
var tmp2_cached = Companion_getInstance_2().noc_1;
|
|
583
|
+
tmp1_output.ey(tmp0_desc, 0, tmp2_cached[0].n1(), value.qoc_1);
|
|
584
|
+
tmp1_output.ey(tmp0_desc, 1, $serializer_getInstance_0(), value.roc_1);
|
|
585
|
+
tmp1_output.ow(tmp0_desc);
|
|
586
|
+
};
|
|
587
|
+
protoOf($serializer_2).lt = function (encoder, value) {
|
|
588
|
+
return this.poc(encoder, value instanceof SubjectPublicKeyInfo ? value : THROW_CCE());
|
|
589
|
+
};
|
|
590
|
+
protoOf($serializer_2).mt = function (decoder) {
|
|
591
|
+
var tmp0_desc = this.ooc_1;
|
|
592
592
|
var tmp1_flag = true;
|
|
593
593
|
var tmp2_index = 0;
|
|
594
594
|
var tmp3_bitMask0 = 0;
|
|
595
595
|
var tmp4_local0 = null;
|
|
596
596
|
var tmp5_local1 = null;
|
|
597
|
-
var tmp6_input = decoder.
|
|
598
|
-
var tmp7_cached = Companion_getInstance_2().
|
|
599
|
-
if (tmp6_input.
|
|
600
|
-
tmp4_local0 = tmp6_input.
|
|
597
|
+
var tmp6_input = decoder.nw(tmp0_desc);
|
|
598
|
+
var tmp7_cached = Companion_getInstance_2().noc_1;
|
|
599
|
+
if (tmp6_input.dx()) {
|
|
600
|
+
tmp4_local0 = tmp6_input.zw(tmp0_desc, 0, tmp7_cached[0].n1(), tmp4_local0);
|
|
601
601
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
602
|
-
tmp5_local1 = tmp6_input.
|
|
602
|
+
tmp5_local1 = tmp6_input.zw(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
603
603
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
604
604
|
} else
|
|
605
605
|
while (tmp1_flag) {
|
|
606
|
-
tmp2_index = tmp6_input.
|
|
606
|
+
tmp2_index = tmp6_input.ex(tmp0_desc);
|
|
607
607
|
switch (tmp2_index) {
|
|
608
608
|
case -1:
|
|
609
609
|
tmp1_flag = false;
|
|
610
610
|
break;
|
|
611
611
|
case 0:
|
|
612
|
-
tmp4_local0 = tmp6_input.
|
|
612
|
+
tmp4_local0 = tmp6_input.zw(tmp0_desc, 0, tmp7_cached[0].n1(), tmp4_local0);
|
|
613
613
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
614
614
|
break;
|
|
615
615
|
case 1:
|
|
616
|
-
tmp5_local1 = tmp6_input.
|
|
616
|
+
tmp5_local1 = tmp6_input.zw(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
617
617
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
618
618
|
break;
|
|
619
619
|
default:
|
|
620
620
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
tmp6_input.
|
|
623
|
+
tmp6_input.ow(tmp0_desc);
|
|
624
624
|
return SubjectPublicKeyInfo_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
625
625
|
};
|
|
626
|
-
protoOf($serializer_2).
|
|
627
|
-
return this.
|
|
626
|
+
protoOf($serializer_2).ys = function () {
|
|
627
|
+
return this.ooc_1;
|
|
628
628
|
};
|
|
629
|
-
protoOf($serializer_2).
|
|
629
|
+
protoOf($serializer_2).t14 = function () {
|
|
630
630
|
// Inline function 'kotlin.arrayOf' call
|
|
631
631
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
632
632
|
// Inline function 'kotlin.js.asDynamic' call
|
|
633
|
-
return [Companion_getInstance_2().
|
|
633
|
+
return [Companion_getInstance_2().noc_1[0].n1(), $serializer_getInstance_0()];
|
|
634
634
|
};
|
|
635
635
|
var $serializer_instance_2;
|
|
636
636
|
function $serializer_getInstance_4() {
|
|
@@ -640,10 +640,10 @@ function $serializer_getInstance_4() {
|
|
|
640
640
|
}
|
|
641
641
|
function SubjectPublicKeyInfo_init_$Init$(seen0, algorithm, subjectPublicKey, serializationConstructorMarker, $this) {
|
|
642
642
|
if (!(3 === (3 & seen0))) {
|
|
643
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
643
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().ooc_1);
|
|
644
644
|
}
|
|
645
|
-
$this.
|
|
646
|
-
$this.
|
|
645
|
+
$this.qoc_1 = algorithm;
|
|
646
|
+
$this.roc_1 = subjectPublicKey;
|
|
647
647
|
return $this;
|
|
648
648
|
}
|
|
649
649
|
function SubjectPublicKeyInfo_init_$Create$(seen0, algorithm, subjectPublicKey, serializationConstructorMarker) {
|
|
@@ -651,15 +651,15 @@ function SubjectPublicKeyInfo_init_$Create$(seen0, algorithm, subjectPublicKey,
|
|
|
651
651
|
}
|
|
652
652
|
function SubjectPublicKeyInfo(algorithm, subjectPublicKey) {
|
|
653
653
|
Companion_getInstance_2();
|
|
654
|
-
this.
|
|
655
|
-
this.
|
|
654
|
+
this.qoc_1 = algorithm;
|
|
655
|
+
this.roc_1 = subjectPublicKey;
|
|
656
656
|
}
|
|
657
657
|
function RsaKeyAlgorithmIdentifier() {
|
|
658
658
|
}
|
|
659
|
-
protoOf(RsaKeyAlgorithmIdentifier).
|
|
659
|
+
protoOf(RsaKeyAlgorithmIdentifier).lob = function () {
|
|
660
660
|
return get_RSA(Companion_instance);
|
|
661
661
|
};
|
|
662
|
-
protoOf(RsaKeyAlgorithmIdentifier).
|
|
662
|
+
protoOf(RsaKeyAlgorithmIdentifier).eoc = function () {
|
|
663
663
|
return null;
|
|
664
664
|
};
|
|
665
665
|
var RsaKeyAlgorithmIdentifier_instance;
|
|
@@ -670,10 +670,10 @@ function get_RSA(_this__u8e3s4) {
|
|
|
670
670
|
return _ObjectIdentifier___init__impl__7hutfr('1.2.840.113549.1.1.1');
|
|
671
671
|
}
|
|
672
672
|
//region block: post-declaration
|
|
673
|
-
protoOf($serializer).
|
|
674
|
-
protoOf($serializer_0).
|
|
675
|
-
protoOf($serializer_1).
|
|
676
|
-
protoOf($serializer_2).
|
|
673
|
+
protoOf($serializer).u14 = typeParametersSerializers;
|
|
674
|
+
protoOf($serializer_0).u14 = typeParametersSerializers;
|
|
675
|
+
protoOf($serializer_1).u14 = typeParametersSerializers;
|
|
676
|
+
protoOf($serializer_2).u14 = typeParametersSerializers;
|
|
677
677
|
//endregion
|
|
678
678
|
//region block: init
|
|
679
679
|
Companion_instance_0 = new Companion();
|