@solibo/solibo-sdk 1.0.29 → 1.0.30
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.js +111 -111
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1579 -1580
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/KotlinBigInteger-bignum.js +1166 -1166
- package/MultiplatformSettings-multiplatform-settings.js +17 -17
- package/Stately-stately-concurrency.js +5 -5
- package/cryptography-kotlin-cryptography-bigint.js +35 -35
- package/cryptography-kotlin-cryptography-bigint.js.map +1 -1
- package/cryptography-kotlin-cryptography-core.js +54 -54
- package/cryptography-kotlin-cryptography-provider-base.js +8 -8
- package/cryptography-kotlin-cryptography-provider-base.js.map +1 -1
- package/cryptography-kotlin-cryptography-provider-webcrypto.js +141 -141
- package/cryptography-kotlin-cryptography-provider-webcrypto.js.map +1 -1
- package/cryptography-kotlin-cryptography-random.js +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.js +208 -208
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.js.map +1 -1
- package/cryptography-kotlin-cryptography-serialization-asn1.js +345 -345
- package/cryptography-kotlin-cryptography-serialization-asn1.js.map +1 -1
- package/cryptography-kotlin-cryptography-serialization-pem.js +16 -16
- package/index.d.ts +544 -525
- package/index.js +544 -525
- package/kotlin-kotlin-stdlib.js +990 -1081
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +17 -17
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +1877 -1877
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +36 -36
- package/kotlinx-io-kotlinx-io-core.js +465 -465
- package/kotlinx-serialization-kotlinx-serialization-core.js +1963 -1955
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1422 -1421
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-auth.js +274 -274
- package/ktor-ktor-client-content-negotiation.js +138 -138
- package/ktor-ktor-client-core.js +2764 -2764
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-logging.js +645 -645
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +7 -7
- package/ktor-ktor-http-cio.js +356 -356
- package/ktor-ktor-http-cio.js.map +1 -1
- package/ktor-ktor-http.js +1022 -1022
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +692 -691
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +141 -141
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +69 -69
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +784 -787
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +408 -408
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.js +169007 -156945
- package/solibo-sdk-sdk-home-api.js.map +1 -1
- package/solibo-sdk-sdk.d.ts +7757 -8562
- package/solibo-sdk-sdk.js +1552 -1552
- package/solibo-sdk-sdk.js.map +1 -1
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
var protoOf = kotlin_kotlin.$_$.id;
|
|
22
22
|
var initMetadataForInterface = kotlin_kotlin.$_$.mc;
|
|
23
23
|
var Companion_instance = kotlin_dev_whyoleg_cryptography_cryptography_serialization_asn1.$_$.k;
|
|
24
|
-
var CONTEXTUAL_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
24
|
+
var CONTEXTUAL_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
25
25
|
var buildSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
26
26
|
var Unit_instance = kotlin_kotlin.$_$.p5;
|
|
27
|
-
var OPEN_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
27
|
+
var OPEN_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
28
28
|
var ObjectIdentifier = kotlin_dev_whyoleg_cryptography_cryptography_serialization_asn1.$_$.c;
|
|
29
29
|
var THROW_CCE = kotlin_kotlin.$_$.gi;
|
|
30
30
|
var isInterface = kotlin_kotlin.$_$.xc;
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
45
45
|
var TagType_EXPLICIT_getInstance = kotlin_dev_whyoleg_cryptography_cryptography_serialization_asn1.$_$.d;
|
|
46
46
|
var ContextSpecificTag = kotlin_dev_whyoleg_cryptography_cryptography_serialization_asn1.$_$.b;
|
|
47
|
-
var ByteArraySerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
47
|
+
var ByteArraySerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
48
48
|
var $serializer_getInstance_0 = kotlin_dev_whyoleg_cryptography_cryptography_serialization_asn1.$_$.h;
|
|
49
|
-
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
49
|
+
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
|
|
50
50
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
51
51
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
52
52
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
@@ -81,56 +81,56 @@
|
|
|
81
81
|
function AlgorithmIdentifier() {
|
|
82
82
|
}
|
|
83
83
|
function AlgorithmIdentifierSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
84
|
-
$this$buildSerialDescriptor.
|
|
85
|
-
$this$buildSerialDescriptor.
|
|
84
|
+
$this$buildSerialDescriptor.it('algorithm', Companion_instance.x1f().ps());
|
|
85
|
+
$this$buildSerialDescriptor.it('parameters', buildSerialDescriptor('Any', CONTEXTUAL_getInstance(), []));
|
|
86
86
|
return Unit_instance;
|
|
87
87
|
}
|
|
88
88
|
function AlgorithmIdentifierSerializer() {
|
|
89
89
|
var tmp = this;
|
|
90
90
|
var tmp_0 = OPEN_getInstance();
|
|
91
|
-
tmp.
|
|
91
|
+
tmp.onv_1 = buildSerialDescriptor('AlgorithmIdentifier', tmp_0, [], AlgorithmIdentifierSerializer$descriptor$lambda);
|
|
92
92
|
}
|
|
93
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
94
|
-
_this__u8e3s4.
|
|
93
|
+
protoOf(AlgorithmIdentifierSerializer).rnv = function (_this__u8e3s4, serializer, value) {
|
|
94
|
+
_this__u8e3s4.wx(this.onv_1, 1, serializer, value);
|
|
95
95
|
};
|
|
96
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
97
|
-
return _this__u8e3s4.
|
|
96
|
+
protoOf(AlgorithmIdentifierSerializer).snv = function (_this__u8e3s4, serializer) {
|
|
97
|
+
return _this__u8e3s4.tw(this.onv_1, 1, serializer);
|
|
98
98
|
};
|
|
99
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
100
|
-
return this.
|
|
99
|
+
protoOf(AlgorithmIdentifierSerializer).ps = function () {
|
|
100
|
+
return this.onv_1;
|
|
101
101
|
};
|
|
102
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
102
|
+
protoOf(AlgorithmIdentifierSerializer).tnv = function (encoder, value) {
|
|
103
103
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
104
|
-
var descriptor = this.
|
|
105
|
-
var composite = encoder.
|
|
106
|
-
composite.
|
|
107
|
-
this.
|
|
108
|
-
composite.
|
|
104
|
+
var descriptor = this.onv_1;
|
|
105
|
+
var composite = encoder.ew(descriptor);
|
|
106
|
+
composite.vx(this.onv_1, 0, Companion_instance.x1f(), new ObjectIdentifier(value.nnv()));
|
|
107
|
+
this.pnv(composite, value);
|
|
108
|
+
composite.fw(descriptor);
|
|
109
109
|
return Unit_instance;
|
|
110
110
|
};
|
|
111
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
112
|
-
return this.
|
|
111
|
+
protoOf(AlgorithmIdentifierSerializer).ct = function (encoder, value) {
|
|
112
|
+
return this.tnv(encoder, (!(value == null) ? isInterface(value, AlgorithmIdentifier) : false) ? value : THROW_CCE());
|
|
113
113
|
};
|
|
114
|
-
protoOf(AlgorithmIdentifierSerializer).
|
|
114
|
+
protoOf(AlgorithmIdentifierSerializer).dt = function (decoder) {
|
|
115
115
|
// Inline function 'kotlinx.serialization.encoding.decodeStructure' call
|
|
116
|
-
var descriptor = this.
|
|
117
|
-
var composite = decoder.
|
|
116
|
+
var descriptor = this.onv_1;
|
|
117
|
+
var composite = decoder.ew(descriptor);
|
|
118
118
|
// Inline function 'kotlin.check' call
|
|
119
|
-
if (!(composite.
|
|
119
|
+
if (!(composite.vw(this.onv_1) === 0)) {
|
|
120
120
|
throw IllegalStateException_init_$Create$('Check failed.');
|
|
121
121
|
}
|
|
122
|
-
var algorithm = composite.
|
|
122
|
+
var algorithm = composite.rw(this.onv_1, 0, Companion_instance.x1f()).jnu_1;
|
|
123
123
|
// Inline function 'kotlin.check' call
|
|
124
|
-
if (!(composite.
|
|
124
|
+
if (!(composite.vw(this.onv_1) === 1)) {
|
|
125
125
|
throw IllegalStateException_init_$Create$('Check failed.');
|
|
126
126
|
}
|
|
127
|
-
var parameters = this.
|
|
127
|
+
var parameters = this.qnv(composite, algorithm);
|
|
128
128
|
// Inline function 'kotlin.check' call
|
|
129
|
-
if (!(composite.
|
|
129
|
+
if (!(composite.vw(this.onv_1) === -1)) {
|
|
130
130
|
throw IllegalStateException_init_$Create$('Check failed.');
|
|
131
131
|
}
|
|
132
132
|
var result = parameters;
|
|
133
|
-
composite.
|
|
133
|
+
composite.fw(descriptor);
|
|
134
134
|
return result;
|
|
135
135
|
};
|
|
136
136
|
function get_secp256r1(_this__u8e3s4) {
|
|
@@ -143,9 +143,9 @@
|
|
|
143
143
|
return _ObjectIdentifier___init__impl__7hutfr('1.3.132.0.35');
|
|
144
144
|
}
|
|
145
145
|
function EcKeyAlgorithmIdentifier(parameters) {
|
|
146
|
-
this.
|
|
146
|
+
this.unv_1 = parameters;
|
|
147
147
|
}
|
|
148
|
-
protoOf(EcKeyAlgorithmIdentifier).
|
|
148
|
+
protoOf(EcKeyAlgorithmIdentifier).nnv = function () {
|
|
149
149
|
return get_EC(Companion_instance);
|
|
150
150
|
};
|
|
151
151
|
function _EcParameters___init__impl__i4ww9z(namedCurve) {
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
}
|
|
157
157
|
function Companion() {
|
|
158
158
|
}
|
|
159
|
-
protoOf(Companion).
|
|
159
|
+
protoOf(Companion).x1f = function () {
|
|
160
160
|
return $serializer_getInstance_1();
|
|
161
161
|
};
|
|
162
162
|
var Companion_instance_0;
|
|
@@ -166,30 +166,30 @@
|
|
|
166
166
|
function $serializer() {
|
|
167
167
|
$serializer_instance = this;
|
|
168
168
|
var tmp0_serialDesc = new InlineClassDescriptor('dev.whyoleg.cryptography.serialization.asn1.modules.EcParameters', this);
|
|
169
|
-
tmp0_serialDesc.
|
|
170
|
-
this.
|
|
169
|
+
tmp0_serialDesc.r13('namedCurve', false);
|
|
170
|
+
this.vnv_1 = tmp0_serialDesc;
|
|
171
171
|
}
|
|
172
|
-
protoOf($serializer).
|
|
173
|
-
var tmp0_inlineEncoder = encoder.
|
|
172
|
+
protoOf($serializer).wnv = function (encoder, value) {
|
|
173
|
+
var tmp0_inlineEncoder = encoder.kx(this.vnv_1);
|
|
174
174
|
if (tmp0_inlineEncoder == null)
|
|
175
175
|
null;
|
|
176
176
|
else {
|
|
177
|
-
tmp0_inlineEncoder.
|
|
177
|
+
tmp0_inlineEncoder.bt($serializer_getInstance(), new ObjectIdentifier(_EcParameters___get_namedCurve__impl__oibidm(value)));
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
|
-
protoOf($serializer).
|
|
181
|
-
return this.
|
|
180
|
+
protoOf($serializer).ct = function (encoder, value) {
|
|
181
|
+
return this.wnv(encoder, value instanceof EcParameters ? value.xnv_1 : THROW_CCE());
|
|
182
182
|
};
|
|
183
|
-
protoOf($serializer).
|
|
184
|
-
return _EcParameters___init__impl__i4ww9z(decoder.
|
|
183
|
+
protoOf($serializer).ynv = function (decoder) {
|
|
184
|
+
return _EcParameters___init__impl__i4ww9z(decoder.cw(this.vnv_1).et($serializer_getInstance()).jnu_1);
|
|
185
185
|
};
|
|
186
|
-
protoOf($serializer).
|
|
187
|
-
return new EcParameters(this.
|
|
186
|
+
protoOf($serializer).dt = function (decoder) {
|
|
187
|
+
return new EcParameters(this.ynv(decoder));
|
|
188
188
|
};
|
|
189
|
-
protoOf($serializer).
|
|
190
|
-
return this.
|
|
189
|
+
protoOf($serializer).ps = function () {
|
|
190
|
+
return this.vnv_1;
|
|
191
191
|
};
|
|
192
|
-
protoOf($serializer).
|
|
192
|
+
protoOf($serializer).k14 = function () {
|
|
193
193
|
// Inline function 'kotlin.arrayOf' call
|
|
194
194
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
195
195
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -210,25 +210,25 @@
|
|
|
210
210
|
function EcParameters__equals_impl_5tm4e2($this, other) {
|
|
211
211
|
if (!(other instanceof EcParameters))
|
|
212
212
|
return false;
|
|
213
|
-
if (!($this === (other instanceof EcParameters ? other.
|
|
213
|
+
if (!($this === (other instanceof EcParameters ? other.xnv_1 : THROW_CCE())))
|
|
214
214
|
return false;
|
|
215
215
|
return true;
|
|
216
216
|
}
|
|
217
217
|
function EcParameters(namedCurve) {
|
|
218
|
-
this.
|
|
218
|
+
this.xnv_1 = namedCurve;
|
|
219
219
|
}
|
|
220
220
|
protoOf(EcParameters).toString = function () {
|
|
221
|
-
return EcParameters__toString_impl_mgxjuh(this.
|
|
221
|
+
return EcParameters__toString_impl_mgxjuh(this.xnv_1);
|
|
222
222
|
};
|
|
223
223
|
protoOf(EcParameters).hashCode = function () {
|
|
224
|
-
return EcParameters__hashCode_impl_prn1m(this.
|
|
224
|
+
return EcParameters__hashCode_impl_prn1m(this.xnv_1);
|
|
225
225
|
};
|
|
226
226
|
protoOf(EcParameters).equals = function (other) {
|
|
227
|
-
return EcParameters__equals_impl_5tm4e2(this.
|
|
227
|
+
return EcParameters__equals_impl_5tm4e2(this.xnv_1, other);
|
|
228
228
|
};
|
|
229
229
|
function Companion_0() {
|
|
230
230
|
}
|
|
231
|
-
protoOf(Companion_0).
|
|
231
|
+
protoOf(Companion_0).x1f = function () {
|
|
232
232
|
return $serializer_getInstance_2();
|
|
233
233
|
};
|
|
234
234
|
var Companion_instance_1;
|
|
@@ -238,41 +238,41 @@
|
|
|
238
238
|
function $serializer_0() {
|
|
239
239
|
$serializer_instance_0 = this;
|
|
240
240
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('dev.whyoleg.cryptography.serialization.asn1.modules.EcPrivateKey', this, 4);
|
|
241
|
-
tmp0_serialDesc.
|
|
242
|
-
tmp0_serialDesc.
|
|
243
|
-
tmp0_serialDesc.
|
|
244
|
-
tmp0_serialDesc.
|
|
245
|
-
tmp0_serialDesc.
|
|
246
|
-
tmp0_serialDesc.
|
|
247
|
-
this.
|
|
248
|
-
}
|
|
249
|
-
protoOf($serializer_0).
|
|
250
|
-
var tmp0_desc = this.
|
|
251
|
-
var tmp1_output = encoder.
|
|
252
|
-
tmp1_output.
|
|
253
|
-
tmp1_output.
|
|
241
|
+
tmp0_serialDesc.r13('version', false);
|
|
242
|
+
tmp0_serialDesc.r13('privateKey', false);
|
|
243
|
+
tmp0_serialDesc.r13('parameters', true);
|
|
244
|
+
tmp0_serialDesc.b13(new ContextSpecificTag(0, TagType_EXPLICIT_getInstance()));
|
|
245
|
+
tmp0_serialDesc.r13('publicKey', true);
|
|
246
|
+
tmp0_serialDesc.b13(new ContextSpecificTag(1, TagType_EXPLICIT_getInstance()));
|
|
247
|
+
this.znv_1 = tmp0_serialDesc;
|
|
248
|
+
}
|
|
249
|
+
protoOf($serializer_0).anw = function (encoder, value) {
|
|
250
|
+
var tmp0_desc = this.znv_1;
|
|
251
|
+
var tmp1_output = encoder.ew(tmp0_desc);
|
|
252
|
+
tmp1_output.ox(tmp0_desc, 0, value.bnw_1);
|
|
253
|
+
tmp1_output.vx(tmp0_desc, 1, ByteArraySerializer_getInstance(), value.cnw_1);
|
|
254
254
|
var tmp;
|
|
255
|
-
if (tmp1_output.
|
|
255
|
+
if (tmp1_output.ay(tmp0_desc, 2)) {
|
|
256
256
|
tmp = true;
|
|
257
257
|
} else {
|
|
258
|
-
var tmp_0 = value.
|
|
258
|
+
var tmp_0 = value.dnw_1;
|
|
259
259
|
tmp = !((tmp_0 == null ? null : new EcParameters(tmp_0)) == null);
|
|
260
260
|
}
|
|
261
261
|
if (tmp) {
|
|
262
262
|
var tmp_1 = $serializer_getInstance_1();
|
|
263
|
-
var tmp_2 = value.
|
|
264
|
-
tmp1_output.
|
|
263
|
+
var tmp_2 = value.dnw_1;
|
|
264
|
+
tmp1_output.wx(tmp0_desc, 2, tmp_1, tmp_2 == null ? null : new EcParameters(tmp_2));
|
|
265
265
|
}
|
|
266
|
-
if (tmp1_output.
|
|
267
|
-
tmp1_output.
|
|
266
|
+
if (tmp1_output.ay(tmp0_desc, 3) ? true : !(value.enw_1 == null)) {
|
|
267
|
+
tmp1_output.wx(tmp0_desc, 3, $serializer_getInstance_0(), value.enw_1);
|
|
268
268
|
}
|
|
269
|
-
tmp1_output.
|
|
269
|
+
tmp1_output.fw(tmp0_desc);
|
|
270
270
|
};
|
|
271
|
-
protoOf($serializer_0).
|
|
272
|
-
return this.
|
|
271
|
+
protoOf($serializer_0).ct = function (encoder, value) {
|
|
272
|
+
return this.anw(encoder, value instanceof EcPrivateKey ? value : THROW_CCE());
|
|
273
273
|
};
|
|
274
|
-
protoOf($serializer_0).
|
|
275
|
-
var tmp0_desc = this.
|
|
274
|
+
protoOf($serializer_0).dt = function (decoder) {
|
|
275
|
+
var tmp0_desc = this.znv_1;
|
|
276
276
|
var tmp1_flag = true;
|
|
277
277
|
var tmp2_index = 0;
|
|
278
278
|
var tmp3_bitMask0 = 0;
|
|
@@ -280,56 +280,56 @@
|
|
|
280
280
|
var tmp5_local1 = null;
|
|
281
281
|
var tmp6_local2 = null;
|
|
282
282
|
var tmp7_local3 = null;
|
|
283
|
-
var tmp8_input = decoder.
|
|
284
|
-
if (tmp8_input.
|
|
285
|
-
tmp4_local0 = tmp8_input.
|
|
283
|
+
var tmp8_input = decoder.ew(tmp0_desc);
|
|
284
|
+
if (tmp8_input.uw()) {
|
|
285
|
+
tmp4_local0 = tmp8_input.jw(tmp0_desc, 0);
|
|
286
286
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
287
|
-
tmp5_local1 = tmp8_input.
|
|
287
|
+
tmp5_local1 = tmp8_input.qw(tmp0_desc, 1, ByteArraySerializer_getInstance(), tmp5_local1);
|
|
288
288
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
289
289
|
var tmp = $serializer_getInstance_1();
|
|
290
290
|
var tmp_0 = tmp6_local2;
|
|
291
|
-
var tmp_1 = tmp8_input.
|
|
292
|
-
tmp6_local2 = tmp_1 == null ? null : tmp_1.
|
|
291
|
+
var tmp_1 = tmp8_input.sw(tmp0_desc, 2, tmp, tmp_0 == null ? null : new EcParameters(tmp_0));
|
|
292
|
+
tmp6_local2 = tmp_1 == null ? null : tmp_1.xnv_1;
|
|
293
293
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
294
|
-
tmp7_local3 = tmp8_input.
|
|
294
|
+
tmp7_local3 = tmp8_input.sw(tmp0_desc, 3, $serializer_getInstance_0(), tmp7_local3);
|
|
295
295
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
296
296
|
} else
|
|
297
297
|
while (tmp1_flag) {
|
|
298
|
-
tmp2_index = tmp8_input.
|
|
298
|
+
tmp2_index = tmp8_input.vw(tmp0_desc);
|
|
299
299
|
switch (tmp2_index) {
|
|
300
300
|
case -1:
|
|
301
301
|
tmp1_flag = false;
|
|
302
302
|
break;
|
|
303
303
|
case 0:
|
|
304
|
-
tmp4_local0 = tmp8_input.
|
|
304
|
+
tmp4_local0 = tmp8_input.jw(tmp0_desc, 0);
|
|
305
305
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
306
306
|
break;
|
|
307
307
|
case 1:
|
|
308
|
-
tmp5_local1 = tmp8_input.
|
|
308
|
+
tmp5_local1 = tmp8_input.qw(tmp0_desc, 1, ByteArraySerializer_getInstance(), tmp5_local1);
|
|
309
309
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
310
310
|
break;
|
|
311
311
|
case 2:
|
|
312
312
|
var tmp_2 = $serializer_getInstance_1();
|
|
313
313
|
var tmp_3 = tmp6_local2;
|
|
314
|
-
var tmp_4 = tmp8_input.
|
|
315
|
-
tmp6_local2 = tmp_4 == null ? null : tmp_4.
|
|
314
|
+
var tmp_4 = tmp8_input.sw(tmp0_desc, 2, tmp_2, tmp_3 == null ? null : new EcParameters(tmp_3));
|
|
315
|
+
tmp6_local2 = tmp_4 == null ? null : tmp_4.xnv_1;
|
|
316
316
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
317
317
|
break;
|
|
318
318
|
case 3:
|
|
319
|
-
tmp7_local3 = tmp8_input.
|
|
319
|
+
tmp7_local3 = tmp8_input.sw(tmp0_desc, 3, $serializer_getInstance_0(), tmp7_local3);
|
|
320
320
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
321
321
|
break;
|
|
322
322
|
default:
|
|
323
323
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
tmp8_input.
|
|
326
|
+
tmp8_input.fw(tmp0_desc);
|
|
327
327
|
return EcPrivateKey_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
328
328
|
};
|
|
329
|
-
protoOf($serializer_0).
|
|
330
|
-
return this.
|
|
329
|
+
protoOf($serializer_0).ps = function () {
|
|
330
|
+
return this.znv_1;
|
|
331
331
|
};
|
|
332
|
-
protoOf($serializer_0).
|
|
332
|
+
protoOf($serializer_0).k14 = function () {
|
|
333
333
|
// Inline function 'kotlin.arrayOf' call
|
|
334
334
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
335
335
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -343,18 +343,18 @@
|
|
|
343
343
|
}
|
|
344
344
|
function EcPrivateKey_init_$Init$(seen0, version, privateKey, parameters, publicKey, serializationConstructorMarker, $this) {
|
|
345
345
|
if (!(3 === (3 & seen0))) {
|
|
346
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().
|
|
346
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().znv_1);
|
|
347
347
|
}
|
|
348
|
-
$this.
|
|
349
|
-
$this.
|
|
348
|
+
$this.bnw_1 = version;
|
|
349
|
+
$this.cnw_1 = privateKey;
|
|
350
350
|
if (0 === (seen0 & 4))
|
|
351
|
-
$this.
|
|
351
|
+
$this.dnw_1 = null;
|
|
352
352
|
else
|
|
353
|
-
$this.
|
|
353
|
+
$this.dnw_1 = parameters;
|
|
354
354
|
if (0 === (seen0 & 8))
|
|
355
|
-
$this.
|
|
355
|
+
$this.enw_1 = null;
|
|
356
356
|
else
|
|
357
|
-
$this.
|
|
357
|
+
$this.enw_1 = publicKey;
|
|
358
358
|
return $this;
|
|
359
359
|
}
|
|
360
360
|
function EcPrivateKey_init_$Create$(seen0, version, privateKey, parameters, publicKey, serializationConstructorMarker) {
|
|
@@ -363,10 +363,10 @@
|
|
|
363
363
|
function EcPrivateKey(version, privateKey, parameters, publicKey) {
|
|
364
364
|
parameters = parameters === VOID ? null : parameters;
|
|
365
365
|
publicKey = publicKey === VOID ? null : publicKey;
|
|
366
|
-
this.
|
|
367
|
-
this.
|
|
368
|
-
this.
|
|
369
|
-
this.
|
|
366
|
+
this.bnw_1 = version;
|
|
367
|
+
this.cnw_1 = privateKey;
|
|
368
|
+
this.dnw_1 = parameters;
|
|
369
|
+
this.enw_1 = publicKey;
|
|
370
370
|
}
|
|
371
371
|
function get_EC(_this__u8e3s4) {
|
|
372
372
|
return _ObjectIdentifier___init__impl__7hutfr('1.2.840.10045.2.1');
|
|
@@ -374,52 +374,52 @@
|
|
|
374
374
|
function KeyAlgorithmIdentifier() {
|
|
375
375
|
}
|
|
376
376
|
function UnknownKeyAlgorithmIdentifier(algorithm) {
|
|
377
|
-
this.
|
|
377
|
+
this.fnw_1 = algorithm;
|
|
378
378
|
}
|
|
379
|
-
protoOf(UnknownKeyAlgorithmIdentifier).
|
|
380
|
-
return this.
|
|
379
|
+
protoOf(UnknownKeyAlgorithmIdentifier).nnv = function () {
|
|
380
|
+
return this.fnw_1;
|
|
381
381
|
};
|
|
382
|
-
protoOf(UnknownKeyAlgorithmIdentifier).
|
|
382
|
+
protoOf(UnknownKeyAlgorithmIdentifier).gnw = function () {
|
|
383
383
|
return null;
|
|
384
384
|
};
|
|
385
385
|
function KeyAlgorithmIdentifierSerializer() {
|
|
386
386
|
KeyAlgorithmIdentifierSerializer_instance = this;
|
|
387
387
|
AlgorithmIdentifierSerializer.call(this);
|
|
388
388
|
}
|
|
389
|
-
protoOf(KeyAlgorithmIdentifierSerializer).
|
|
389
|
+
protoOf(KeyAlgorithmIdentifierSerializer).inw = function (_this__u8e3s4, value) {
|
|
390
390
|
var tmp;
|
|
391
391
|
if (value instanceof RsaKeyAlgorithmIdentifier) {
|
|
392
|
-
this.
|
|
392
|
+
this.rnv(_this__u8e3s4, NothingSerializer(), RsaKeyAlgorithmIdentifier_instance.gnw());
|
|
393
393
|
tmp = Unit_instance;
|
|
394
394
|
} else {
|
|
395
395
|
if (value instanceof EcKeyAlgorithmIdentifier) {
|
|
396
|
-
var tmp_0 = Companion_instance_0.
|
|
397
|
-
var tmp_1 = value.
|
|
398
|
-
this.
|
|
396
|
+
var tmp_0 = Companion_instance_0.x1f();
|
|
397
|
+
var tmp_1 = value.unv_1;
|
|
398
|
+
this.rnv(_this__u8e3s4, tmp_0, tmp_1 == null ? null : new EcParameters(tmp_1));
|
|
399
399
|
tmp = Unit_instance;
|
|
400
400
|
} else {
|
|
401
401
|
if (value instanceof UnknownKeyAlgorithmIdentifier) {
|
|
402
|
-
this.
|
|
402
|
+
this.rnv(_this__u8e3s4, NothingSerializer(), value.gnw());
|
|
403
403
|
tmp = Unit_instance;
|
|
404
404
|
} else {
|
|
405
|
-
this.
|
|
405
|
+
this.rnv(_this__u8e3s4, NothingSerializer(), null);
|
|
406
406
|
tmp = Unit_instance;
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
410
|
return tmp;
|
|
411
411
|
};
|
|
412
|
-
protoOf(KeyAlgorithmIdentifierSerializer).
|
|
413
|
-
return this.
|
|
412
|
+
protoOf(KeyAlgorithmIdentifierSerializer).pnv = function (_this__u8e3s4, value) {
|
|
413
|
+
return this.inw(_this__u8e3s4, isInterface(value, KeyAlgorithmIdentifier) ? value : THROW_CCE());
|
|
414
414
|
};
|
|
415
|
-
protoOf(KeyAlgorithmIdentifierSerializer).
|
|
415
|
+
protoOf(KeyAlgorithmIdentifierSerializer).qnv = function (_this__u8e3s4, algorithm) {
|
|
416
416
|
var tmp;
|
|
417
417
|
if (algorithm === get_RSA(Companion_instance)) {
|
|
418
|
-
this.
|
|
418
|
+
this.snv(_this__u8e3s4, NothingSerializer());
|
|
419
419
|
tmp = RsaKeyAlgorithmIdentifier_instance;
|
|
420
420
|
} else if (algorithm === get_EC(Companion_instance)) {
|
|
421
|
-
var tmp_0 = this.
|
|
422
|
-
tmp = new EcKeyAlgorithmIdentifier(tmp_0 == null ? null : tmp_0.
|
|
421
|
+
var tmp_0 = this.snv(_this__u8e3s4, Companion_instance_0.x1f());
|
|
422
|
+
tmp = new EcKeyAlgorithmIdentifier(tmp_0 == null ? null : tmp_0.xnv_1);
|
|
423
423
|
} else {
|
|
424
424
|
tmp = new UnknownKeyAlgorithmIdentifier(algorithm);
|
|
425
425
|
}
|
|
@@ -447,9 +447,9 @@
|
|
|
447
447
|
// Inline function 'kotlin.arrayOf' call
|
|
448
448
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
449
449
|
// Inline function 'kotlin.js.asDynamic' call
|
|
450
|
-
tmp.
|
|
450
|
+
tmp.jnw_1 = [null, lazy(tmp_0, PrivateKeyInfo$Companion$$childSerializers$_anonymous__z2jngg), null];
|
|
451
451
|
}
|
|
452
|
-
protoOf(Companion_1).
|
|
452
|
+
protoOf(Companion_1).x1f = function () {
|
|
453
453
|
return $serializer_getInstance_3();
|
|
454
454
|
};
|
|
455
455
|
var Companion_instance_2;
|
|
@@ -461,71 +461,71 @@
|
|
|
461
461
|
function $serializer_1() {
|
|
462
462
|
$serializer_instance_1 = this;
|
|
463
463
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('dev.whyoleg.cryptography.serialization.asn1.modules.PrivateKeyInfo', this, 3);
|
|
464
|
-
tmp0_serialDesc.
|
|
465
|
-
tmp0_serialDesc.
|
|
466
|
-
tmp0_serialDesc.
|
|
467
|
-
this.
|
|
468
|
-
}
|
|
469
|
-
protoOf($serializer_1).
|
|
470
|
-
var tmp0_desc = this.
|
|
471
|
-
var tmp1_output = encoder.
|
|
472
|
-
var tmp2_cached = Companion_getInstance_1().
|
|
473
|
-
tmp1_output.
|
|
474
|
-
tmp1_output.
|
|
475
|
-
tmp1_output.
|
|
476
|
-
tmp1_output.
|
|
477
|
-
};
|
|
478
|
-
protoOf($serializer_1).
|
|
479
|
-
return this.
|
|
480
|
-
};
|
|
481
|
-
protoOf($serializer_1).
|
|
482
|
-
var tmp0_desc = this.
|
|
464
|
+
tmp0_serialDesc.r13('version', false);
|
|
465
|
+
tmp0_serialDesc.r13('privateKeyAlgorithm', false);
|
|
466
|
+
tmp0_serialDesc.r13('privateKey', false);
|
|
467
|
+
this.knw_1 = tmp0_serialDesc;
|
|
468
|
+
}
|
|
469
|
+
protoOf($serializer_1).lnw = function (encoder, value) {
|
|
470
|
+
var tmp0_desc = this.knw_1;
|
|
471
|
+
var tmp1_output = encoder.ew(tmp0_desc);
|
|
472
|
+
var tmp2_cached = Companion_getInstance_1().jnw_1;
|
|
473
|
+
tmp1_output.ox(tmp0_desc, 0, value.mnw_1);
|
|
474
|
+
tmp1_output.vx(tmp0_desc, 1, tmp2_cached[1].n1(), value.nnw_1);
|
|
475
|
+
tmp1_output.vx(tmp0_desc, 2, ByteArraySerializer_getInstance(), value.onw_1);
|
|
476
|
+
tmp1_output.fw(tmp0_desc);
|
|
477
|
+
};
|
|
478
|
+
protoOf($serializer_1).ct = function (encoder, value) {
|
|
479
|
+
return this.lnw(encoder, value instanceof PrivateKeyInfo ? value : THROW_CCE());
|
|
480
|
+
};
|
|
481
|
+
protoOf($serializer_1).dt = function (decoder) {
|
|
482
|
+
var tmp0_desc = this.knw_1;
|
|
483
483
|
var tmp1_flag = true;
|
|
484
484
|
var tmp2_index = 0;
|
|
485
485
|
var tmp3_bitMask0 = 0;
|
|
486
486
|
var tmp4_local0 = 0;
|
|
487
487
|
var tmp5_local1 = null;
|
|
488
488
|
var tmp6_local2 = null;
|
|
489
|
-
var tmp7_input = decoder.
|
|
490
|
-
var tmp8_cached = Companion_getInstance_1().
|
|
491
|
-
if (tmp7_input.
|
|
492
|
-
tmp4_local0 = tmp7_input.
|
|
489
|
+
var tmp7_input = decoder.ew(tmp0_desc);
|
|
490
|
+
var tmp8_cached = Companion_getInstance_1().jnw_1;
|
|
491
|
+
if (tmp7_input.uw()) {
|
|
492
|
+
tmp4_local0 = tmp7_input.jw(tmp0_desc, 0);
|
|
493
493
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
494
|
-
tmp5_local1 = tmp7_input.
|
|
494
|
+
tmp5_local1 = tmp7_input.qw(tmp0_desc, 1, tmp8_cached[1].n1(), tmp5_local1);
|
|
495
495
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
496
|
-
tmp6_local2 = tmp7_input.
|
|
496
|
+
tmp6_local2 = tmp7_input.qw(tmp0_desc, 2, ByteArraySerializer_getInstance(), tmp6_local2);
|
|
497
497
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
498
498
|
} else
|
|
499
499
|
while (tmp1_flag) {
|
|
500
|
-
tmp2_index = tmp7_input.
|
|
500
|
+
tmp2_index = tmp7_input.vw(tmp0_desc);
|
|
501
501
|
switch (tmp2_index) {
|
|
502
502
|
case -1:
|
|
503
503
|
tmp1_flag = false;
|
|
504
504
|
break;
|
|
505
505
|
case 0:
|
|
506
|
-
tmp4_local0 = tmp7_input.
|
|
506
|
+
tmp4_local0 = tmp7_input.jw(tmp0_desc, 0);
|
|
507
507
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
508
508
|
break;
|
|
509
509
|
case 1:
|
|
510
|
-
tmp5_local1 = tmp7_input.
|
|
510
|
+
tmp5_local1 = tmp7_input.qw(tmp0_desc, 1, tmp8_cached[1].n1(), tmp5_local1);
|
|
511
511
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
512
512
|
break;
|
|
513
513
|
case 2:
|
|
514
|
-
tmp6_local2 = tmp7_input.
|
|
514
|
+
tmp6_local2 = tmp7_input.qw(tmp0_desc, 2, ByteArraySerializer_getInstance(), tmp6_local2);
|
|
515
515
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
516
516
|
break;
|
|
517
517
|
default:
|
|
518
518
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
tmp7_input.
|
|
521
|
+
tmp7_input.fw(tmp0_desc);
|
|
522
522
|
return PrivateKeyInfo_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
523
523
|
};
|
|
524
|
-
protoOf($serializer_1).
|
|
525
|
-
return this.
|
|
524
|
+
protoOf($serializer_1).ps = function () {
|
|
525
|
+
return this.knw_1;
|
|
526
526
|
};
|
|
527
|
-
protoOf($serializer_1).
|
|
528
|
-
var tmp0_cached = Companion_getInstance_1().
|
|
527
|
+
protoOf($serializer_1).k14 = function () {
|
|
528
|
+
var tmp0_cached = Companion_getInstance_1().jnw_1;
|
|
529
529
|
// Inline function 'kotlin.arrayOf' call
|
|
530
530
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
531
531
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -539,11 +539,11 @@
|
|
|
539
539
|
}
|
|
540
540
|
function PrivateKeyInfo_init_$Init$(seen0, version, privateKeyAlgorithm, privateKey, serializationConstructorMarker, $this) {
|
|
541
541
|
if (!(7 === (7 & seen0))) {
|
|
542
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_3().
|
|
542
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_3().knw_1);
|
|
543
543
|
}
|
|
544
|
-
$this.
|
|
545
|
-
$this.
|
|
546
|
-
$this.
|
|
544
|
+
$this.mnw_1 = version;
|
|
545
|
+
$this.nnw_1 = privateKeyAlgorithm;
|
|
546
|
+
$this.onw_1 = privateKey;
|
|
547
547
|
return $this;
|
|
548
548
|
}
|
|
549
549
|
function PrivateKeyInfo_init_$Create$(seen0, version, privateKeyAlgorithm, privateKey, serializationConstructorMarker) {
|
|
@@ -551,9 +551,9 @@
|
|
|
551
551
|
}
|
|
552
552
|
function PrivateKeyInfo(version, privateKeyAlgorithm, privateKey) {
|
|
553
553
|
Companion_getInstance_1();
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
556
|
-
this.
|
|
554
|
+
this.mnw_1 = version;
|
|
555
|
+
this.nnw_1 = privateKeyAlgorithm;
|
|
556
|
+
this.onw_1 = privateKey;
|
|
557
557
|
}
|
|
558
558
|
function SubjectPublicKeyInfo$Companion$$childSerializers$_anonymous__ezpjw2() {
|
|
559
559
|
var tmp = getKClass(KeyAlgorithmIdentifier);
|
|
@@ -571,9 +571,9 @@
|
|
|
571
571
|
// Inline function 'kotlin.arrayOf' call
|
|
572
572
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
573
573
|
// Inline function 'kotlin.js.asDynamic' call
|
|
574
|
-
tmp.
|
|
574
|
+
tmp.pnw_1 = [lazy(tmp_0, SubjectPublicKeyInfo$Companion$$childSerializers$_anonymous__ezpjw2), null];
|
|
575
575
|
}
|
|
576
|
-
protoOf(Companion_2).
|
|
576
|
+
protoOf(Companion_2).x1f = function () {
|
|
577
577
|
return $serializer_getInstance_4();
|
|
578
578
|
};
|
|
579
579
|
var Companion_instance_3;
|
|
@@ -585,65 +585,65 @@
|
|
|
585
585
|
function $serializer_2() {
|
|
586
586
|
$serializer_instance_2 = this;
|
|
587
587
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('dev.whyoleg.cryptography.serialization.asn1.modules.SubjectPublicKeyInfo', this, 2);
|
|
588
|
-
tmp0_serialDesc.
|
|
589
|
-
tmp0_serialDesc.
|
|
590
|
-
this.
|
|
591
|
-
}
|
|
592
|
-
protoOf($serializer_2).
|
|
593
|
-
var tmp0_desc = this.
|
|
594
|
-
var tmp1_output = encoder.
|
|
595
|
-
var tmp2_cached = Companion_getInstance_2().
|
|
596
|
-
tmp1_output.
|
|
597
|
-
tmp1_output.
|
|
598
|
-
tmp1_output.
|
|
599
|
-
};
|
|
600
|
-
protoOf($serializer_2).
|
|
601
|
-
return this.
|
|
602
|
-
};
|
|
603
|
-
protoOf($serializer_2).
|
|
604
|
-
var tmp0_desc = this.
|
|
588
|
+
tmp0_serialDesc.r13('algorithm', false);
|
|
589
|
+
tmp0_serialDesc.r13('subjectPublicKey', false);
|
|
590
|
+
this.qnw_1 = tmp0_serialDesc;
|
|
591
|
+
}
|
|
592
|
+
protoOf($serializer_2).rnw = function (encoder, value) {
|
|
593
|
+
var tmp0_desc = this.qnw_1;
|
|
594
|
+
var tmp1_output = encoder.ew(tmp0_desc);
|
|
595
|
+
var tmp2_cached = Companion_getInstance_2().pnw_1;
|
|
596
|
+
tmp1_output.vx(tmp0_desc, 0, tmp2_cached[0].n1(), value.snw_1);
|
|
597
|
+
tmp1_output.vx(tmp0_desc, 1, $serializer_getInstance_0(), value.tnw_1);
|
|
598
|
+
tmp1_output.fw(tmp0_desc);
|
|
599
|
+
};
|
|
600
|
+
protoOf($serializer_2).ct = function (encoder, value) {
|
|
601
|
+
return this.rnw(encoder, value instanceof SubjectPublicKeyInfo ? value : THROW_CCE());
|
|
602
|
+
};
|
|
603
|
+
protoOf($serializer_2).dt = function (decoder) {
|
|
604
|
+
var tmp0_desc = this.qnw_1;
|
|
605
605
|
var tmp1_flag = true;
|
|
606
606
|
var tmp2_index = 0;
|
|
607
607
|
var tmp3_bitMask0 = 0;
|
|
608
608
|
var tmp4_local0 = null;
|
|
609
609
|
var tmp5_local1 = null;
|
|
610
|
-
var tmp6_input = decoder.
|
|
611
|
-
var tmp7_cached = Companion_getInstance_2().
|
|
612
|
-
if (tmp6_input.
|
|
613
|
-
tmp4_local0 = tmp6_input.
|
|
610
|
+
var tmp6_input = decoder.ew(tmp0_desc);
|
|
611
|
+
var tmp7_cached = Companion_getInstance_2().pnw_1;
|
|
612
|
+
if (tmp6_input.uw()) {
|
|
613
|
+
tmp4_local0 = tmp6_input.qw(tmp0_desc, 0, tmp7_cached[0].n1(), tmp4_local0);
|
|
614
614
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
615
|
-
tmp5_local1 = tmp6_input.
|
|
615
|
+
tmp5_local1 = tmp6_input.qw(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
616
616
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
617
617
|
} else
|
|
618
618
|
while (tmp1_flag) {
|
|
619
|
-
tmp2_index = tmp6_input.
|
|
619
|
+
tmp2_index = tmp6_input.vw(tmp0_desc);
|
|
620
620
|
switch (tmp2_index) {
|
|
621
621
|
case -1:
|
|
622
622
|
tmp1_flag = false;
|
|
623
623
|
break;
|
|
624
624
|
case 0:
|
|
625
|
-
tmp4_local0 = tmp6_input.
|
|
625
|
+
tmp4_local0 = tmp6_input.qw(tmp0_desc, 0, tmp7_cached[0].n1(), tmp4_local0);
|
|
626
626
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
627
627
|
break;
|
|
628
628
|
case 1:
|
|
629
|
-
tmp5_local1 = tmp6_input.
|
|
629
|
+
tmp5_local1 = tmp6_input.qw(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
630
630
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
631
631
|
break;
|
|
632
632
|
default:
|
|
633
633
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
tmp6_input.
|
|
636
|
+
tmp6_input.fw(tmp0_desc);
|
|
637
637
|
return SubjectPublicKeyInfo_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
638
638
|
};
|
|
639
|
-
protoOf($serializer_2).
|
|
640
|
-
return this.
|
|
639
|
+
protoOf($serializer_2).ps = function () {
|
|
640
|
+
return this.qnw_1;
|
|
641
641
|
};
|
|
642
|
-
protoOf($serializer_2).
|
|
642
|
+
protoOf($serializer_2).k14 = function () {
|
|
643
643
|
// Inline function 'kotlin.arrayOf' call
|
|
644
644
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
645
645
|
// Inline function 'kotlin.js.asDynamic' call
|
|
646
|
-
return [Companion_getInstance_2().
|
|
646
|
+
return [Companion_getInstance_2().pnw_1[0].n1(), $serializer_getInstance_0()];
|
|
647
647
|
};
|
|
648
648
|
var $serializer_instance_2;
|
|
649
649
|
function $serializer_getInstance_4() {
|
|
@@ -653,10 +653,10 @@
|
|
|
653
653
|
}
|
|
654
654
|
function SubjectPublicKeyInfo_init_$Init$(seen0, algorithm, subjectPublicKey, serializationConstructorMarker, $this) {
|
|
655
655
|
if (!(3 === (3 & seen0))) {
|
|
656
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
656
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().qnw_1);
|
|
657
657
|
}
|
|
658
|
-
$this.
|
|
659
|
-
$this.
|
|
658
|
+
$this.snw_1 = algorithm;
|
|
659
|
+
$this.tnw_1 = subjectPublicKey;
|
|
660
660
|
return $this;
|
|
661
661
|
}
|
|
662
662
|
function SubjectPublicKeyInfo_init_$Create$(seen0, algorithm, subjectPublicKey, serializationConstructorMarker) {
|
|
@@ -664,15 +664,15 @@
|
|
|
664
664
|
}
|
|
665
665
|
function SubjectPublicKeyInfo(algorithm, subjectPublicKey) {
|
|
666
666
|
Companion_getInstance_2();
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
667
|
+
this.snw_1 = algorithm;
|
|
668
|
+
this.tnw_1 = subjectPublicKey;
|
|
669
669
|
}
|
|
670
670
|
function RsaKeyAlgorithmIdentifier() {
|
|
671
671
|
}
|
|
672
|
-
protoOf(RsaKeyAlgorithmIdentifier).
|
|
672
|
+
protoOf(RsaKeyAlgorithmIdentifier).nnv = function () {
|
|
673
673
|
return get_RSA(Companion_instance);
|
|
674
674
|
};
|
|
675
|
-
protoOf(RsaKeyAlgorithmIdentifier).
|
|
675
|
+
protoOf(RsaKeyAlgorithmIdentifier).gnw = function () {
|
|
676
676
|
return null;
|
|
677
677
|
};
|
|
678
678
|
var RsaKeyAlgorithmIdentifier_instance;
|
|
@@ -683,10 +683,10 @@
|
|
|
683
683
|
return _ObjectIdentifier___init__impl__7hutfr('1.2.840.113549.1.1.1');
|
|
684
684
|
}
|
|
685
685
|
//region block: post-declaration
|
|
686
|
-
protoOf($serializer).
|
|
687
|
-
protoOf($serializer_0).
|
|
688
|
-
protoOf($serializer_1).
|
|
689
|
-
protoOf($serializer_2).
|
|
686
|
+
protoOf($serializer).l14 = typeParametersSerializers;
|
|
687
|
+
protoOf($serializer_0).l14 = typeParametersSerializers;
|
|
688
|
+
protoOf($serializer_1).l14 = typeParametersSerializers;
|
|
689
|
+
protoOf($serializer_2).l14 = typeParametersSerializers;
|
|
690
690
|
//endregion
|
|
691
691
|
//region block: init
|
|
692
692
|
Companion_instance_0 = new Companion();
|