@peculiar/certificates-viewer 4.0.2 → 4.2.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/README.md +1 -1
- package/components/attribute-certificate-viewer.js +7 -7
- package/components/attribute-certificate-viewer.js.map +1 -1
- package/components/certificate-viewer.js +5 -5
- package/components/certificate-viewer.js.map +1 -1
- package/components/crl-viewer.js +6 -6
- package/components/crl-viewer.js.map +1 -1
- package/components/csr-viewer.js +4 -4
- package/components/csr-viewer.js.map +1 -1
- package/components/download.js +374 -374
- package/components/download.js.map +1 -1
- package/components/index2.js +2 -2
- package/components/index2.js.map +1 -1
- package/components/miscellaneous.js +1320 -810
- package/components/miscellaneous.js.map +1 -1
- package/components/subject_name.js +2 -2
- package/components/subject_name.js.map +1 -1
- package/dist/cjs/{certification_request-c0cafa72.js → certification_request-5672c667.js} +1227 -823
- package/dist/cjs/certification_request-5672c667.js.map +1 -0
- package/dist/cjs/{crl-b4322166.js → crl-3f681d44.js} +14 -14
- package/dist/cjs/{crl-b4322166.js.map → crl-3f681d44.js.map} +1 -1
- package/dist/cjs/{download-972dda8a.js → download-0fa5b33c.js} +377 -377
- package/dist/cjs/download-0fa5b33c.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{miscellaneous-e43aaae5.js → miscellaneous-905ec852.js} +125 -15
- package/dist/cjs/miscellaneous-905ec852.js.map +1 -0
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +8 -8
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +4 -4
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +3 -3
- package/dist/cjs/{x509_certificate-989b1435.js → x509_certificate-69764c52.js} +7 -7
- package/dist/cjs/{x509_certificate-989b1435.js.map → x509_certificate-69764c52.js.map} +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js +19 -0
- package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/index.js +10 -0
- package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js +80 -0
- package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js.map +1 -0
- package/dist/collection/constants/logs.js +1 -0
- package/dist/collection/constants/logs.js.map +1 -1
- package/dist/collection/constants/oids.js +25 -4
- package/dist/collection/constants/oids.js.map +1 -1
- package/dist/collection/crypto/extension.js +8 -0
- package/dist/collection/crypto/extension.js.map +1 -1
- package/dist/collection/crypto/extensions/cabforganization_identifier.js +49 -0
- package/dist/collection/crypto/extensions/cabforganization_identifier.js.map +1 -0
- package/dist/collection/crypto/extensions/index.js +5 -0
- package/dist/collection/crypto/extensions/index.js.map +1 -0
- package/dist/collection/utils/camel_case_to_words.js +15 -0
- package/dist/collection/utils/camel_case_to_words.js.map +1 -0
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/esm/{certification_request-5cadde9f.js → certification_request-d5ea5973.js} +1217 -817
- package/dist/esm/certification_request-d5ea5973.js.map +1 -0
- package/dist/esm/{crl-11670c3e.js → crl-d13d9ec5.js} +14 -14
- package/dist/esm/{crl-11670c3e.js.map → crl-d13d9ec5.js.map} +1 -1
- package/dist/esm/{download-57c5bf8f.js → download-aacb6eff.js} +375 -375
- package/dist/esm/download-aacb6eff.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/{miscellaneous-7793a310.js → miscellaneous-cdfd8905.js} +125 -15
- package/dist/esm/miscellaneous-cdfd8905.js.map +1 -0
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +8 -8
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-decoder.entry.js +4 -4
- package/dist/esm/peculiar-certificate-viewer.entry.js +4 -4
- package/dist/esm/peculiar-certificates-viewer.entry.js +3 -3
- package/dist/esm/{x509_certificate-dfae6999.js → x509_certificate-a9fcab55.js} +7 -7
- package/dist/esm/{x509_certificate-dfae6999.js.map → x509_certificate-a9fcab55.js.map} +1 -1
- package/dist/esm-es5/certification_request-d5ea5973.js +97 -0
- package/dist/esm-es5/certification_request-d5ea5973.js.map +1 -0
- package/dist/esm-es5/{crl-11670c3e.js → crl-d13d9ec5.js} +6 -6
- package/dist/esm-es5/{crl-11670c3e.js.map → crl-d13d9ec5.js.map} +1 -1
- package/dist/esm-es5/download-aacb6eff.js +43 -0
- package/dist/esm-es5/download-aacb6eff.js.map +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/miscellaneous-cdfd8905.js +369 -0
- package/dist/esm-es5/miscellaneous-cdfd8905.js.map +1 -0
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +3 -3
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
- package/dist/esm-es5/x509_certificate-a9fcab55.js +12 -0
- package/dist/esm-es5/{x509_certificate-dfae6999.js.map → x509_certificate-a9fcab55.js.map} +1 -1
- package/dist/peculiar/index.esm.js +1 -1
- package/dist/peculiar/p-14f281b0.system.js +43 -0
- package/dist/peculiar/p-14f281b0.system.js.map +1 -0
- package/dist/peculiar/{p-1844b807.system.entry.js → p-3b395604.system.entry.js} +2 -2
- package/dist/peculiar/p-48474b8d.js +12 -0
- package/dist/peculiar/{p-6e79b9c8.js.map → p-48474b8d.js.map} +1 -1
- package/dist/peculiar/p-4a6ceeda.js +97 -0
- package/dist/peculiar/p-4a6ceeda.js.map +1 -0
- package/dist/peculiar/p-59e5ac12.js +43 -0
- package/dist/peculiar/p-59e5ac12.js.map +1 -0
- package/dist/peculiar/{p-7f9fef87.entry.js → p-609ee9f0.entry.js} +2 -2
- package/dist/peculiar/p-67156853.js +369 -0
- package/dist/peculiar/p-67156853.js.map +1 -0
- package/dist/peculiar/p-6daee4d7.system.js +369 -0
- package/dist/peculiar/p-6daee4d7.system.js.map +1 -0
- package/dist/peculiar/p-6e48afc4.system.js +34 -0
- package/dist/peculiar/{p-6667fe6e.system.js.map → p-6e48afc4.system.js.map} +1 -1
- package/dist/peculiar/{p-0b475f2a.system.entry.js → p-718982f4.system.entry.js} +4 -4
- package/dist/peculiar/{p-0b475f2a.system.entry.js.map → p-718982f4.system.entry.js.map} +1 -1
- package/dist/peculiar/p-80832207.system.js +1 -1
- package/dist/peculiar/p-8fac1d56.js +33 -0
- package/dist/peculiar/{p-43eb3721.js.map → p-8fac1d56.js.map} +1 -1
- package/dist/peculiar/{p-1de0381c.system.js → p-a3eeb94b.system.js} +2 -2
- package/dist/peculiar/{p-441109db.system.entry.js → p-a67b8793.system.entry.js} +2 -2
- package/dist/peculiar/{p-e39de121.system.entry.js → p-a720c0a5.system.entry.js} +2 -2
- package/dist/peculiar/{p-882e1281.entry.js → p-a7386b78.entry.js} +2 -2
- package/dist/peculiar/p-ab7dc738.system.js +13 -0
- package/dist/peculiar/{p-31586b23.system.js.map → p-ab7dc738.system.js.map} +1 -1
- package/dist/peculiar/{p-bcc86979.entry.js → p-c35b180c.entry.js} +2 -2
- package/dist/peculiar/p-e0f4bda5.system.js +97 -0
- package/dist/peculiar/p-e0f4bda5.system.js.map +1 -0
- package/dist/peculiar/{p-673336cf.entry.js → p-f86279f6.entry.js} +5 -5
- package/dist/peculiar/{p-673336cf.entry.js.map → p-f86279f6.entry.js.map} +1 -1
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/dist/types/components/certificate-details-parts/extensions/cabforganization_identifier_extension.d.ts +15 -0
- package/dist/types/components/certificate-details-parts/extensions/key_description_extension.d.ts +15 -0
- package/dist/types/constants/logs.d.ts +1 -0
- package/dist/types/constants/oids.d.ts +24 -4
- package/dist/types/crypto/extension.d.ts +3 -1
- package/dist/types/crypto/extensions/cabforganization_identifier.d.ts +23 -0
- package/dist/types/crypto/extensions/index.d.ts +1 -0
- package/dist/types/utils/camel_case_to_words.d.ts +8 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/hydrate/index.js +1710 -1200
- package/package.json +22 -21
- package/dist/cjs/certification_request-c0cafa72.js.map +0 -1
- package/dist/cjs/download-972dda8a.js.map +0 -1
- package/dist/cjs/miscellaneous-e43aaae5.js.map +0 -1
- package/dist/esm/certification_request-5cadde9f.js.map +0 -1
- package/dist/esm/download-57c5bf8f.js.map +0 -1
- package/dist/esm/miscellaneous-7793a310.js.map +0 -1
- package/dist/esm-es5/certification_request-5cadde9f.js +0 -97
- package/dist/esm-es5/certification_request-5cadde9f.js.map +0 -1
- package/dist/esm-es5/download-57c5bf8f.js +0 -19
- package/dist/esm-es5/download-57c5bf8f.js.map +0 -1
- package/dist/esm-es5/miscellaneous-7793a310.js +0 -348
- package/dist/esm-es5/miscellaneous-7793a310.js.map +0 -1
- package/dist/esm-es5/x509_certificate-dfae6999.js +0 -12
- package/dist/peculiar/p-31586b23.system.js +0 -13
- package/dist/peculiar/p-43eb3721.js +0 -33
- package/dist/peculiar/p-6667fe6e.system.js +0 -34
- package/dist/peculiar/p-6e79b9c8.js +0 -12
- package/dist/peculiar/p-74c241e7.js +0 -97
- package/dist/peculiar/p-74c241e7.js.map +0 -1
- package/dist/peculiar/p-a053c132.js +0 -19
- package/dist/peculiar/p-a053c132.js.map +0 -1
- package/dist/peculiar/p-a6e2e335.js +0 -348
- package/dist/peculiar/p-a6e2e335.js.map +0 -1
- package/dist/peculiar/p-ae9189f6.system.js +0 -19
- package/dist/peculiar/p-ae9189f6.system.js.map +0 -1
- package/dist/peculiar/p-c0a298fd.system.js +0 -97
- package/dist/peculiar/p-c0a298fd.system.js.map +0 -1
- package/dist/peculiar/p-c362dc5e.system.js +0 -348
- package/dist/peculiar/p-c362dc5e.system.js.map +0 -1
- /package/dist/peculiar/{p-1844b807.system.entry.js.map → p-3b395604.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-7f9fef87.entry.js.map → p-609ee9f0.entry.js.map} +0 -0
- /package/dist/peculiar/{p-1de0381c.system.js.map → p-a3eeb94b.system.js.map} +0 -0
- /package/dist/peculiar/{p-441109db.system.entry.js.map → p-a67b8793.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-e39de121.system.entry.js.map → p-a720c0a5.system.entry.js.map} +0 -0
- /package/dist/peculiar/{p-882e1281.entry.js.map → p-a7386b78.entry.js.map} +0 -0
- /package/dist/peculiar/{p-bcc86979.entry.js.map → p-c35b180c.entry.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { B as BufferSourceConverter_1, C as Convert_1, i as isEqual_1, L as Link, a as DownloadIcon } from './download.js';
|
|
5
5
|
import { h } from '@stencil/core/internal/client';
|
|
6
6
|
import { T as Typography, B as Button } from './button.js';
|
|
7
7
|
|
|
@@ -262,7 +262,7 @@ function HexBlock(BaseClass) {
|
|
|
262
262
|
super(...args);
|
|
263
263
|
const params = args[0] || {};
|
|
264
264
|
this.isHexOnly = (_a = params.isHexOnly) !== null && _a !== void 0 ? _a : false;
|
|
265
|
-
this.valueHexView = params.valueHex ?
|
|
265
|
+
this.valueHexView = params.valueHex ? BufferSourceConverter_1.toUint8Array(params.valueHex) : EMPTY_VIEW;
|
|
266
266
|
}
|
|
267
267
|
get valueHex() {
|
|
268
268
|
return this.valueHexView.slice().buffer;
|
|
@@ -300,7 +300,7 @@ function HexBlock(BaseClass) {
|
|
|
300
300
|
return {
|
|
301
301
|
...super.toJSON(),
|
|
302
302
|
isHexOnly: this.isHexOnly,
|
|
303
|
-
valueHex:
|
|
303
|
+
valueHex: Convert_1.ToHex(this.valueHexView),
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
306
|
},
|
|
@@ -313,7 +313,7 @@ class LocalBaseBlock {
|
|
|
313
313
|
this.blockLength = blockLength;
|
|
314
314
|
this.error = error;
|
|
315
315
|
this.warnings = warnings;
|
|
316
|
-
this.valueBeforeDecodeView =
|
|
316
|
+
this.valueBeforeDecodeView = BufferSourceConverter_1.toUint8Array(valueBeforeDecode);
|
|
317
317
|
}
|
|
318
318
|
static blockName() {
|
|
319
319
|
return this.NAME;
|
|
@@ -330,7 +330,7 @@ class LocalBaseBlock {
|
|
|
330
330
|
blockLength: this.blockLength,
|
|
331
331
|
error: this.error,
|
|
332
332
|
warnings: this.warnings,
|
|
333
|
-
valueBeforeDecode:
|
|
333
|
+
valueBeforeDecode: Convert_1.ToHex(this.valueBeforeDecodeView),
|
|
334
334
|
};
|
|
335
335
|
}
|
|
336
336
|
}
|
|
@@ -352,7 +352,7 @@ class LocalIdentificationBlock extends HexBlock(LocalBaseBlock) {
|
|
|
352
352
|
super();
|
|
353
353
|
if (idBlock) {
|
|
354
354
|
this.isHexOnly = (_a = idBlock.isHexOnly) !== null && _a !== void 0 ? _a : false;
|
|
355
|
-
this.valueHexView = idBlock.valueHex ?
|
|
355
|
+
this.valueHexView = idBlock.valueHex ? BufferSourceConverter_1.toUint8Array(idBlock.valueHex) : EMPTY_VIEW;
|
|
356
356
|
this.tagClass = (_b = idBlock.tagClass) !== null && _b !== void 0 ? _b : -1;
|
|
357
357
|
this.tagNumber = (_c = idBlock.tagNumber) !== null && _c !== void 0 ? _c : -1;
|
|
358
358
|
this.isConstructed = (_d = idBlock.isConstructed) !== null && _d !== void 0 ? _d : false;
|
|
@@ -418,7 +418,7 @@ class LocalIdentificationBlock extends HexBlock(LocalBaseBlock) {
|
|
|
418
418
|
return retView.buffer;
|
|
419
419
|
}
|
|
420
420
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
421
|
-
const inputView =
|
|
421
|
+
const inputView = BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
422
422
|
if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
|
|
423
423
|
return -1;
|
|
424
424
|
}
|
|
@@ -527,7 +527,7 @@ class LocalLengthBlock extends LocalBaseBlock {
|
|
|
527
527
|
this.length = (_c = lenBlock.length) !== null && _c !== void 0 ? _c : 0;
|
|
528
528
|
}
|
|
529
529
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
530
|
-
const view =
|
|
530
|
+
const view = BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
531
531
|
if (!checkBufferParams(this, view, inputOffset, inputLength)) {
|
|
532
532
|
return -1;
|
|
533
533
|
}
|
|
@@ -686,10 +686,10 @@ class BaseBlock extends LocalBaseBlock {
|
|
|
686
686
|
if (encoding === "ascii") {
|
|
687
687
|
return this.onAsciiEncoding();
|
|
688
688
|
}
|
|
689
|
-
return
|
|
689
|
+
return Convert_1.ToHex(this.toBER());
|
|
690
690
|
}
|
|
691
691
|
onAsciiEncoding() {
|
|
692
|
-
return `${this.constructor.NAME} : ${
|
|
692
|
+
return `${this.constructor.NAME} : ${Convert_1.ToHex(this.valueBlock.valueBeforeDecodeView)}`;
|
|
693
693
|
}
|
|
694
694
|
isEqual(other) {
|
|
695
695
|
if (this === other) {
|
|
@@ -987,7 +987,7 @@ function fromBER(inputBuffer) {
|
|
|
987
987
|
result
|
|
988
988
|
};
|
|
989
989
|
}
|
|
990
|
-
return localFromBER(
|
|
990
|
+
return localFromBER(BufferSourceConverter_1.toUint8Array(inputBuffer).slice(), 0, inputBuffer.byteLength);
|
|
991
991
|
}
|
|
992
992
|
|
|
993
993
|
function checkLen(indefiniteLength, length) {
|
|
@@ -1003,7 +1003,7 @@ class LocalConstructedValueBlock extends ValueBlock {
|
|
|
1003
1003
|
this.isIndefiniteForm = isIndefiniteForm;
|
|
1004
1004
|
}
|
|
1005
1005
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
1006
|
-
const view =
|
|
1006
|
+
const view = BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
1007
1007
|
if (!checkBufferParams(this, view, inputOffset, inputLength)) {
|
|
1008
1008
|
return -1;
|
|
1009
1009
|
}
|
|
@@ -1173,7 +1173,7 @@ class LocalBooleanValueBlock extends HexBlock(ValueBlock) {
|
|
|
1173
1173
|
constructor({ value, ...parameters } = {}) {
|
|
1174
1174
|
super(parameters);
|
|
1175
1175
|
if (parameters.valueHex) {
|
|
1176
|
-
this.valueHexView =
|
|
1176
|
+
this.valueHexView = BufferSourceConverter_1.toUint8Array(parameters.valueHex);
|
|
1177
1177
|
}
|
|
1178
1178
|
else {
|
|
1179
1179
|
this.valueHexView = new Uint8Array(1);
|
|
@@ -1194,7 +1194,7 @@ class LocalBooleanValueBlock extends HexBlock(ValueBlock) {
|
|
|
1194
1194
|
this.valueHexView[0] = value ? 0xFF : 0x00;
|
|
1195
1195
|
}
|
|
1196
1196
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
1197
|
-
const inputView =
|
|
1197
|
+
const inputView = BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
1198
1198
|
if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
|
|
1199
1199
|
return -1;
|
|
1200
1200
|
}
|
|
@@ -1341,7 +1341,7 @@ class OctetString$1 extends BaseBlock {
|
|
|
1341
1341
|
if (this.valueBlock.isConstructed || (this.valueBlock.value && this.valueBlock.value.length)) {
|
|
1342
1342
|
return Constructed.prototype.onAsciiEncoding.call(this);
|
|
1343
1343
|
}
|
|
1344
|
-
return `${this.constructor.NAME} : ${
|
|
1344
|
+
return `${this.constructor.NAME} : ${Convert_1.ToHex(this.valueBlock.valueHexView)}`;
|
|
1345
1345
|
}
|
|
1346
1346
|
getValue() {
|
|
1347
1347
|
if (!this.idBlock.isConstructed) {
|
|
@@ -1353,7 +1353,7 @@ class OctetString$1 extends BaseBlock {
|
|
|
1353
1353
|
array.push(content.valueBlock.valueHexView);
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
return
|
|
1356
|
+
return BufferSourceConverter_1.concat(array);
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
1359
|
_a$r = OctetString$1;
|
|
@@ -1401,7 +1401,7 @@ class LocalBitStringValueBlock extends HexBlock(LocalConstructedValueBlock) {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
return resultOffset;
|
|
1403
1403
|
}
|
|
1404
|
-
const inputView =
|
|
1404
|
+
const inputView = BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
1405
1405
|
if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
|
|
1406
1406
|
return -1;
|
|
1407
1407
|
}
|
|
@@ -1741,13 +1741,13 @@ class Integer extends BaseBlock {
|
|
|
1741
1741
|
const bigIntValue = BigInt(value);
|
|
1742
1742
|
const writer = new ViewWriter();
|
|
1743
1743
|
const hex = bigIntValue.toString(16).replace(/^-/, "");
|
|
1744
|
-
const view = new Uint8Array(
|
|
1744
|
+
const view = new Uint8Array(Convert_1.FromHex(hex));
|
|
1745
1745
|
if (bigIntValue < 0) {
|
|
1746
1746
|
const first = new Uint8Array(view.length + (view[0] & 0x80 ? 1 : 0));
|
|
1747
1747
|
first[0] |= 0x80;
|
|
1748
|
-
const firstInt = BigInt(`0x${
|
|
1748
|
+
const firstInt = BigInt(`0x${Convert_1.ToHex(first)}`);
|
|
1749
1749
|
const secondInt = firstInt + bigIntValue;
|
|
1750
|
-
const second =
|
|
1750
|
+
const second = BufferSourceConverter_1.toUint8Array(Convert_1.FromHex(secondInt.toString(16)));
|
|
1751
1751
|
second[0] |= 0x80;
|
|
1752
1752
|
writer.write(second);
|
|
1753
1753
|
}
|
|
@@ -1808,7 +1808,7 @@ class LocalSidValueBlock extends HexBlock(ValueBlock) {
|
|
|
1808
1808
|
if (!inputLength) {
|
|
1809
1809
|
return inputOffset;
|
|
1810
1810
|
}
|
|
1811
|
-
const inputView =
|
|
1811
|
+
const inputView = BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
1812
1812
|
if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
|
|
1813
1813
|
return -1;
|
|
1814
1814
|
}
|
|
@@ -1880,7 +1880,7 @@ class LocalSidValueBlock extends HexBlock(ValueBlock) {
|
|
|
1880
1880
|
toString() {
|
|
1881
1881
|
let result = "";
|
|
1882
1882
|
if (this.isHexOnly)
|
|
1883
|
-
result =
|
|
1883
|
+
result = Convert_1.ToHex(this.valueHexView);
|
|
1884
1884
|
else {
|
|
1885
1885
|
if (this.isFirstSid) {
|
|
1886
1886
|
let sidValue = this.valueDec;
|
|
@@ -2077,7 +2077,7 @@ class LocalRelativeSidValueBlock extends HexBlock(LocalBaseBlock) {
|
|
|
2077
2077
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
2078
2078
|
if (inputLength === 0)
|
|
2079
2079
|
return inputOffset;
|
|
2080
|
-
const inputView =
|
|
2080
|
+
const inputView = BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
2081
2081
|
if (!checkBufferParams(this, inputView, inputOffset, inputLength))
|
|
2082
2082
|
return -1;
|
|
2083
2083
|
const intBuffer = inputView.subarray(inputOffset, inputOffset + inputLength);
|
|
@@ -2135,7 +2135,7 @@ class LocalRelativeSidValueBlock extends HexBlock(LocalBaseBlock) {
|
|
|
2135
2135
|
toString() {
|
|
2136
2136
|
let result = "";
|
|
2137
2137
|
if (this.isHexOnly)
|
|
2138
|
-
result =
|
|
2138
|
+
result = Convert_1.ToHex(this.valueHexView);
|
|
2139
2139
|
else {
|
|
2140
2140
|
result = this.valueDec.toString();
|
|
2141
2141
|
}
|
|
@@ -2317,7 +2317,7 @@ class LocalSimpleStringBlock extends BaseStringBlock {
|
|
|
2317
2317
|
super(parameters, LocalSimpleStringValueBlock);
|
|
2318
2318
|
}
|
|
2319
2319
|
fromBuffer(inputBuffer) {
|
|
2320
|
-
this.valueBlock.value = String.fromCharCode.apply(null,
|
|
2320
|
+
this.valueBlock.value = String.fromCharCode.apply(null, BufferSourceConverter_1.toUint8Array(inputBuffer));
|
|
2321
2321
|
}
|
|
2322
2322
|
fromString(inputString) {
|
|
2323
2323
|
const strLen = inputString.length;
|
|
@@ -2331,17 +2331,17 @@ LocalSimpleStringBlock.NAME = "SIMPLE STRING";
|
|
|
2331
2331
|
|
|
2332
2332
|
class LocalUtf8StringValueBlock extends LocalSimpleStringBlock {
|
|
2333
2333
|
fromBuffer(inputBuffer) {
|
|
2334
|
-
this.valueBlock.valueHexView =
|
|
2334
|
+
this.valueBlock.valueHexView = BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
2335
2335
|
try {
|
|
2336
|
-
this.valueBlock.value =
|
|
2336
|
+
this.valueBlock.value = Convert_1.ToUtf8String(inputBuffer);
|
|
2337
2337
|
}
|
|
2338
2338
|
catch (ex) {
|
|
2339
2339
|
this.warnings.push(`Error during "decodeURIComponent": ${ex}, using raw string`);
|
|
2340
|
-
this.valueBlock.value =
|
|
2340
|
+
this.valueBlock.value = Convert_1.ToBinary(inputBuffer);
|
|
2341
2341
|
}
|
|
2342
2342
|
}
|
|
2343
2343
|
fromString(inputString) {
|
|
2344
|
-
this.valueBlock.valueHexView = new Uint8Array(
|
|
2344
|
+
this.valueBlock.valueHexView = new Uint8Array(Convert_1.FromUtf8String(inputString));
|
|
2345
2345
|
this.valueBlock.value = inputString;
|
|
2346
2346
|
}
|
|
2347
2347
|
}
|
|
@@ -2363,12 +2363,12 @@ Utf8String.NAME = "UTF8String";
|
|
|
2363
2363
|
|
|
2364
2364
|
class LocalBmpStringValueBlock extends LocalSimpleStringBlock {
|
|
2365
2365
|
fromBuffer(inputBuffer) {
|
|
2366
|
-
this.valueBlock.value =
|
|
2367
|
-
this.valueBlock.valueHexView =
|
|
2366
|
+
this.valueBlock.value = Convert_1.ToUtf16String(inputBuffer);
|
|
2367
|
+
this.valueBlock.valueHexView = BufferSourceConverter_1.toUint8Array(inputBuffer);
|
|
2368
2368
|
}
|
|
2369
2369
|
fromString(inputString) {
|
|
2370
2370
|
this.valueBlock.value = inputString;
|
|
2371
|
-
this.valueBlock.valueHexView = new Uint8Array(
|
|
2371
|
+
this.valueBlock.valueHexView = new Uint8Array(Convert_1.FromUtf16String(inputString));
|
|
2372
2372
|
}
|
|
2373
2373
|
}
|
|
2374
2374
|
LocalBmpStringValueBlock.NAME = "BmpStringValueBlock";
|
|
@@ -2580,7 +2580,7 @@ class UTCTime extends VisibleString {
|
|
|
2580
2580
|
this.idBlock.tagNumber = 23;
|
|
2581
2581
|
}
|
|
2582
2582
|
fromBuffer(inputBuffer) {
|
|
2583
|
-
this.fromString(String.fromCharCode.apply(null,
|
|
2583
|
+
this.fromString(String.fromCharCode.apply(null, BufferSourceConverter_1.toUint8Array(inputBuffer)));
|
|
2584
2584
|
}
|
|
2585
2585
|
toBuffer() {
|
|
2586
2586
|
const str = this.toString();
|
|
@@ -2930,17 +2930,17 @@ class Repeated extends Any {
|
|
|
2930
2930
|
|
|
2931
2931
|
class RawData {
|
|
2932
2932
|
constructor({ data = EMPTY_VIEW } = {}) {
|
|
2933
|
-
this.dataView =
|
|
2933
|
+
this.dataView = BufferSourceConverter_1.toUint8Array(data);
|
|
2934
2934
|
}
|
|
2935
2935
|
get data() {
|
|
2936
2936
|
return this.dataView.slice().buffer;
|
|
2937
2937
|
}
|
|
2938
2938
|
set data(value) {
|
|
2939
|
-
this.dataView =
|
|
2939
|
+
this.dataView = BufferSourceConverter_1.toUint8Array(value);
|
|
2940
2940
|
}
|
|
2941
2941
|
fromBER(inputBuffer, inputOffset, inputLength) {
|
|
2942
2942
|
const endLength = inputOffset + inputLength;
|
|
2943
|
-
this.dataView =
|
|
2943
|
+
this.dataView = BufferSourceConverter_1.toUint8Array(inputBuffer).subarray(inputOffset, endLength);
|
|
2944
2944
|
return endLength;
|
|
2945
2945
|
}
|
|
2946
2946
|
toBER(sizeOnly) {
|
|
@@ -3259,7 +3259,7 @@ function verifySchema(inputBuffer, inputSchema) {
|
|
|
3259
3259
|
result: { error: "Wrong ASN.1 schema type" }
|
|
3260
3260
|
};
|
|
3261
3261
|
}
|
|
3262
|
-
const asn1 = localFromBER(
|
|
3262
|
+
const asn1 = localFromBER(BufferSourceConverter_1.toUint8Array(inputBuffer));
|
|
3263
3263
|
if (asn1.offset === -1) {
|
|
3264
3264
|
return {
|
|
3265
3265
|
verified: false,
|
|
@@ -3362,9 +3362,9 @@ class BitString {
|
|
|
3362
3362
|
if (typeof params === "number") {
|
|
3363
3363
|
this.fromNumber(params);
|
|
3364
3364
|
}
|
|
3365
|
-
else if (
|
|
3365
|
+
else if (BufferSourceConverter_1.isBufferSource(params)) {
|
|
3366
3366
|
this.unusedBits = unusedBits;
|
|
3367
|
-
this.value =
|
|
3367
|
+
this.value = BufferSourceConverter_1.toArrayBuffer(params);
|
|
3368
3368
|
}
|
|
3369
3369
|
else {
|
|
3370
3370
|
throw TypeError("Unsupported type of 'params' argument for BitString");
|
|
@@ -3413,13 +3413,19 @@ class BitString {
|
|
|
3413
3413
|
}
|
|
3414
3414
|
|
|
3415
3415
|
class OctetString {
|
|
3416
|
+
get byteLength() {
|
|
3417
|
+
return this.buffer.byteLength;
|
|
3418
|
+
}
|
|
3419
|
+
get byteOffset() {
|
|
3420
|
+
return 0;
|
|
3421
|
+
}
|
|
3416
3422
|
constructor(param) {
|
|
3417
3423
|
if (typeof param === "number") {
|
|
3418
3424
|
this.buffer = new ArrayBuffer(param);
|
|
3419
3425
|
}
|
|
3420
3426
|
else {
|
|
3421
|
-
if (
|
|
3422
|
-
this.buffer =
|
|
3427
|
+
if (BufferSourceConverter_1.isBufferSource(param)) {
|
|
3428
|
+
this.buffer = BufferSourceConverter_1.toArrayBuffer(param);
|
|
3423
3429
|
}
|
|
3424
3430
|
else if (Array.isArray(param)) {
|
|
3425
3431
|
this.buffer = new Uint8Array(param);
|
|
@@ -3429,12 +3435,6 @@ class OctetString {
|
|
|
3429
3435
|
}
|
|
3430
3436
|
}
|
|
3431
3437
|
}
|
|
3432
|
-
get byteLength() {
|
|
3433
|
-
return this.buffer.byteLength;
|
|
3434
|
-
}
|
|
3435
|
-
get byteOffset() {
|
|
3436
|
-
return 0;
|
|
3437
|
-
}
|
|
3438
3438
|
fromASN(asn) {
|
|
3439
3439
|
if (!(asn instanceof OctetString$1)) {
|
|
3440
3440
|
throw new TypeError("Argument 'asn' is not instance of ASN.1 OctetString");
|
|
@@ -4121,8 +4121,8 @@ class AsnConvert {
|
|
|
4121
4121
|
return AsnParser.parse(data, target);
|
|
4122
4122
|
}
|
|
4123
4123
|
static toString(data) {
|
|
4124
|
-
const buf =
|
|
4125
|
-
?
|
|
4124
|
+
const buf = BufferSourceConverter_1.isBufferSource(data)
|
|
4125
|
+
? BufferSourceConverter_1.toArrayBuffer(data)
|
|
4126
4126
|
: AsnConvert.serialize(data);
|
|
4127
4127
|
const asn = fromBER(buf);
|
|
4128
4128
|
if (asn.offset === -1) {
|
|
@@ -4147,11 +4147,32 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
4147
4147
|
PERFORMANCE OF THIS SOFTWARE.
|
|
4148
4148
|
***************************************************************************** */
|
|
4149
4149
|
|
|
4150
|
-
function __decorate(decorators, target, key, desc) {
|
|
4150
|
+
function __decorate$1(decorators, target, key, desc) {
|
|
4151
4151
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4152
4152
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4153
4153
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4154
4154
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4155
|
+
}
|
|
4156
|
+
|
|
4157
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
4158
|
+
var e = new Error(message);
|
|
4159
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
4160
|
+
};
|
|
4161
|
+
|
|
4162
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4163
|
+
|
|
4164
|
+
function createCommonjsModule(fn, basedir, module) {
|
|
4165
|
+
return module = {
|
|
4166
|
+
path: basedir,
|
|
4167
|
+
exports: {},
|
|
4168
|
+
require: function (path, base) {
|
|
4169
|
+
return commonjsRequire();
|
|
4170
|
+
}
|
|
4171
|
+
}, fn(module, module.exports), module.exports;
|
|
4172
|
+
}
|
|
4173
|
+
|
|
4174
|
+
function commonjsRequire () {
|
|
4175
|
+
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
4155
4176
|
}
|
|
4156
4177
|
|
|
4157
4178
|
var ipaddr = createCommonjsModule(function (module) {
|
|
@@ -4359,6 +4380,7 @@ var ipaddr = createCommonjsModule(function (module) {
|
|
|
4359
4380
|
[new IPv4([192, 0, 0, 0]), 24],
|
|
4360
4381
|
[new IPv4([192, 0, 2, 0]), 24],
|
|
4361
4382
|
[new IPv4([192, 88, 99, 0]), 24],
|
|
4383
|
+
[new IPv4([198, 18, 0, 0]), 15],
|
|
4362
4384
|
[new IPv4([198, 51, 100, 0]), 24],
|
|
4363
4385
|
[new IPv4([203, 0, 113, 0]), 24],
|
|
4364
4386
|
[new IPv4([240, 0, 0, 0]), 4]
|
|
@@ -4701,7 +4723,12 @@ var ipaddr = createCommonjsModule(function (module) {
|
|
|
4701
4723
|
// RFC6052, RFC6146
|
|
4702
4724
|
teredo: [new IPv6([0x2001, 0, 0, 0, 0, 0, 0, 0]), 32],
|
|
4703
4725
|
// RFC4291
|
|
4704
|
-
reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]]
|
|
4726
|
+
reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]],
|
|
4727
|
+
benchmarking: [new IPv6([0x2001, 0x2, 0, 0, 0, 0, 0, 0]), 48],
|
|
4728
|
+
amt: [new IPv6([0x2001, 0x3, 0, 0, 0, 0, 0, 0]), 32],
|
|
4729
|
+
as112v6: [new IPv6([0x2001, 0x4, 0x112, 0, 0, 0, 0, 0]), 48],
|
|
4730
|
+
deprecated: [new IPv6([0x2001, 0x10, 0, 0, 0, 0, 0, 0]), 28],
|
|
4731
|
+
orchid2: [new IPv6([0x2001, 0x20, 0, 0, 0, 0, 0, 0]), 28]
|
|
4705
4732
|
};
|
|
4706
4733
|
|
|
4707
4734
|
// Checks if this address is an IPv4-mapped IPv6 address.
|
|
@@ -4886,11 +4913,9 @@ var ipaddr = createCommonjsModule(function (module) {
|
|
|
4886
4913
|
|
|
4887
4914
|
// Returns the address in compact, human-readable format like
|
|
4888
4915
|
// 2001:db8:8:66::1
|
|
4889
|
-
//
|
|
4890
|
-
// Deprecated: use toRFC5952String() instead.
|
|
4916
|
+
// Calls toRFC5952String under the hood.
|
|
4891
4917
|
IPv6.prototype.toString = function () {
|
|
4892
|
-
|
|
4893
|
-
return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/, '::');
|
|
4918
|
+
return this.toRFC5952String();
|
|
4894
4919
|
};
|
|
4895
4920
|
|
|
4896
4921
|
return IPv6;
|
|
@@ -5175,7 +5200,7 @@ class IpConverter {
|
|
|
5175
5200
|
const addr = ipaddr.fromByteArray(Array.from(uint8));
|
|
5176
5201
|
return addr.toString();
|
|
5177
5202
|
}
|
|
5178
|
-
return this.decodeIP(
|
|
5203
|
+
return this.decodeIP(Convert_1.ToHex(buf));
|
|
5179
5204
|
}
|
|
5180
5205
|
static fromString(text) {
|
|
5181
5206
|
const addr = ipaddr.parse(text);
|
|
@@ -5193,22 +5218,22 @@ let DirectoryString = class DirectoryString {
|
|
|
5193
5218
|
|| this.utf8String || "";
|
|
5194
5219
|
}
|
|
5195
5220
|
};
|
|
5196
|
-
__decorate([
|
|
5221
|
+
__decorate$1([
|
|
5197
5222
|
AsnProp({ type: AsnPropTypes.TeletexString })
|
|
5198
5223
|
], DirectoryString.prototype, "teletexString", void 0);
|
|
5199
|
-
__decorate([
|
|
5224
|
+
__decorate$1([
|
|
5200
5225
|
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
5201
5226
|
], DirectoryString.prototype, "printableString", void 0);
|
|
5202
|
-
__decorate([
|
|
5227
|
+
__decorate$1([
|
|
5203
5228
|
AsnProp({ type: AsnPropTypes.UniversalString })
|
|
5204
5229
|
], DirectoryString.prototype, "universalString", void 0);
|
|
5205
|
-
__decorate([
|
|
5230
|
+
__decorate$1([
|
|
5206
5231
|
AsnProp({ type: AsnPropTypes.Utf8String })
|
|
5207
5232
|
], DirectoryString.prototype, "utf8String", void 0);
|
|
5208
|
-
__decorate([
|
|
5233
|
+
__decorate$1([
|
|
5209
5234
|
AsnProp({ type: AsnPropTypes.BmpString })
|
|
5210
5235
|
], DirectoryString.prototype, "bmpString", void 0);
|
|
5211
|
-
DirectoryString = __decorate([
|
|
5236
|
+
DirectoryString = __decorate$1([
|
|
5212
5237
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
5213
5238
|
], DirectoryString);
|
|
5214
5239
|
let AttributeValue = class AttributeValue extends DirectoryString {
|
|
@@ -5217,16 +5242,16 @@ let AttributeValue = class AttributeValue extends DirectoryString {
|
|
|
5217
5242
|
Object.assign(this, params);
|
|
5218
5243
|
}
|
|
5219
5244
|
toString() {
|
|
5220
|
-
return this.ia5String || (this.anyValue ?
|
|
5245
|
+
return this.ia5String || (this.anyValue ? Convert_1.ToHex(this.anyValue) : super.toString());
|
|
5221
5246
|
}
|
|
5222
5247
|
};
|
|
5223
|
-
__decorate([
|
|
5248
|
+
__decorate$1([
|
|
5224
5249
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
5225
5250
|
], AttributeValue.prototype, "ia5String", void 0);
|
|
5226
|
-
__decorate([
|
|
5251
|
+
__decorate$1([
|
|
5227
5252
|
AsnProp({ type: AsnPropTypes.Any })
|
|
5228
5253
|
], AttributeValue.prototype, "anyValue", void 0);
|
|
5229
|
-
AttributeValue = __decorate([
|
|
5254
|
+
AttributeValue = __decorate$1([
|
|
5230
5255
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
5231
5256
|
], AttributeValue);
|
|
5232
5257
|
class AttributeTypeAndValue {
|
|
@@ -5236,10 +5261,10 @@ class AttributeTypeAndValue {
|
|
|
5236
5261
|
Object.assign(this, params);
|
|
5237
5262
|
}
|
|
5238
5263
|
}
|
|
5239
|
-
__decorate([
|
|
5264
|
+
__decorate$1([
|
|
5240
5265
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
5241
5266
|
], AttributeTypeAndValue.prototype, "type", void 0);
|
|
5242
|
-
__decorate([
|
|
5267
|
+
__decorate$1([
|
|
5243
5268
|
AsnProp({ type: AttributeValue })
|
|
5244
5269
|
], AttributeTypeAndValue.prototype, "value", void 0);
|
|
5245
5270
|
let RelativeDistinguishedName = RelativeDistinguishedName_1 = class RelativeDistinguishedName extends AsnArray {
|
|
@@ -5248,7 +5273,7 @@ let RelativeDistinguishedName = RelativeDistinguishedName_1 = class RelativeDist
|
|
|
5248
5273
|
Object.setPrototypeOf(this, RelativeDistinguishedName_1.prototype);
|
|
5249
5274
|
}
|
|
5250
5275
|
};
|
|
5251
|
-
RelativeDistinguishedName = RelativeDistinguishedName_1 = __decorate([
|
|
5276
|
+
RelativeDistinguishedName = RelativeDistinguishedName_1 = __decorate$1([
|
|
5252
5277
|
AsnType({ type: AsnTypeTypes.Set, itemType: AttributeTypeAndValue })
|
|
5253
5278
|
], RelativeDistinguishedName);
|
|
5254
5279
|
let RDNSequence = RDNSequence_1 = class RDNSequence extends AsnArray {
|
|
@@ -5257,7 +5282,7 @@ let RDNSequence = RDNSequence_1 = class RDNSequence extends AsnArray {
|
|
|
5257
5282
|
Object.setPrototypeOf(this, RDNSequence_1.prototype);
|
|
5258
5283
|
}
|
|
5259
5284
|
};
|
|
5260
|
-
RDNSequence = RDNSequence_1 = __decorate([
|
|
5285
|
+
RDNSequence = RDNSequence_1 = __decorate$1([
|
|
5261
5286
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: RelativeDistinguishedName })
|
|
5262
5287
|
], RDNSequence);
|
|
5263
5288
|
let Name$1 = Name_1 = class Name extends RDNSequence {
|
|
@@ -5266,7 +5291,7 @@ let Name$1 = Name_1 = class Name extends RDNSequence {
|
|
|
5266
5291
|
Object.setPrototypeOf(this, Name_1.prototype);
|
|
5267
5292
|
}
|
|
5268
5293
|
};
|
|
5269
|
-
Name$1 = Name_1 = __decorate([
|
|
5294
|
+
Name$1 = Name_1 = __decorate$1([
|
|
5270
5295
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
5271
5296
|
], Name$1);
|
|
5272
5297
|
|
|
@@ -5281,10 +5306,10 @@ class OtherName {
|
|
|
5281
5306
|
Object.assign(this, params);
|
|
5282
5307
|
}
|
|
5283
5308
|
}
|
|
5284
|
-
__decorate([
|
|
5309
|
+
__decorate$1([
|
|
5285
5310
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
5286
5311
|
], OtherName.prototype, "typeId", void 0);
|
|
5287
|
-
__decorate([
|
|
5312
|
+
__decorate$1([
|
|
5288
5313
|
AsnProp({ type: AsnPropTypes.Any, context: 0 })
|
|
5289
5314
|
], OtherName.prototype, "value", void 0);
|
|
5290
5315
|
class EDIPartyName {
|
|
@@ -5293,10 +5318,10 @@ class EDIPartyName {
|
|
|
5293
5318
|
Object.assign(this, params);
|
|
5294
5319
|
}
|
|
5295
5320
|
}
|
|
5296
|
-
__decorate([
|
|
5321
|
+
__decorate$1([
|
|
5297
5322
|
AsnProp({ type: DirectoryString, optional: true, context: 0, implicit: true })
|
|
5298
5323
|
], EDIPartyName.prototype, "nameAssigner", void 0);
|
|
5299
|
-
__decorate([
|
|
5324
|
+
__decorate$1([
|
|
5300
5325
|
AsnProp({ type: DirectoryString, context: 1, implicit: true })
|
|
5301
5326
|
], EDIPartyName.prototype, "partyName", void 0);
|
|
5302
5327
|
let GeneralName = class GeneralName {
|
|
@@ -5304,34 +5329,34 @@ let GeneralName = class GeneralName {
|
|
|
5304
5329
|
Object.assign(this, params);
|
|
5305
5330
|
}
|
|
5306
5331
|
};
|
|
5307
|
-
__decorate([
|
|
5332
|
+
__decorate$1([
|
|
5308
5333
|
AsnProp({ type: OtherName, context: 0, implicit: true })
|
|
5309
5334
|
], GeneralName.prototype, "otherName", void 0);
|
|
5310
|
-
__decorate([
|
|
5335
|
+
__decorate$1([
|
|
5311
5336
|
AsnProp({ type: AsnPropTypes.IA5String, context: 1, implicit: true })
|
|
5312
5337
|
], GeneralName.prototype, "rfc822Name", void 0);
|
|
5313
|
-
__decorate([
|
|
5338
|
+
__decorate$1([
|
|
5314
5339
|
AsnProp({ type: AsnPropTypes.IA5String, context: 2, implicit: true })
|
|
5315
5340
|
], GeneralName.prototype, "dNSName", void 0);
|
|
5316
|
-
__decorate([
|
|
5341
|
+
__decorate$1([
|
|
5317
5342
|
AsnProp({ type: AsnPropTypes.Any, context: 3, implicit: true })
|
|
5318
5343
|
], GeneralName.prototype, "x400Address", void 0);
|
|
5319
|
-
__decorate([
|
|
5344
|
+
__decorate$1([
|
|
5320
5345
|
AsnProp({ type: Name$1, context: 4, implicit: false })
|
|
5321
5346
|
], GeneralName.prototype, "directoryName", void 0);
|
|
5322
|
-
__decorate([
|
|
5347
|
+
__decorate$1([
|
|
5323
5348
|
AsnProp({ type: EDIPartyName, context: 5 })
|
|
5324
5349
|
], GeneralName.prototype, "ediPartyName", void 0);
|
|
5325
|
-
__decorate([
|
|
5350
|
+
__decorate$1([
|
|
5326
5351
|
AsnProp({ type: AsnPropTypes.IA5String, context: 6, implicit: true })
|
|
5327
5352
|
], GeneralName.prototype, "uniformResourceIdentifier", void 0);
|
|
5328
|
-
__decorate([
|
|
5353
|
+
__decorate$1([
|
|
5329
5354
|
AsnProp({ type: AsnPropTypes.OctetString, context: 7, implicit: true, converter: AsnIpConverter })
|
|
5330
5355
|
], GeneralName.prototype, "iPAddress", void 0);
|
|
5331
|
-
__decorate([
|
|
5356
|
+
__decorate$1([
|
|
5332
5357
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier, context: 8, implicit: true })
|
|
5333
5358
|
], GeneralName.prototype, "registeredID", void 0);
|
|
5334
|
-
GeneralName = __decorate([
|
|
5359
|
+
GeneralName = __decorate$1([
|
|
5335
5360
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
5336
5361
|
], GeneralName);
|
|
5337
5362
|
|
|
@@ -5348,10 +5373,10 @@ class AccessDescription {
|
|
|
5348
5373
|
Object.assign(this, params);
|
|
5349
5374
|
}
|
|
5350
5375
|
}
|
|
5351
|
-
__decorate([
|
|
5376
|
+
__decorate$1([
|
|
5352
5377
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
5353
5378
|
], AccessDescription.prototype, "accessMethod", void 0);
|
|
5354
|
-
__decorate([
|
|
5379
|
+
__decorate$1([
|
|
5355
5380
|
AsnProp({ type: GeneralName })
|
|
5356
5381
|
], AccessDescription.prototype, "accessLocation", void 0);
|
|
5357
5382
|
let AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = class AuthorityInfoAccessSyntax extends AsnArray {
|
|
@@ -5360,7 +5385,7 @@ let AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = class AuthorityInf
|
|
|
5360
5385
|
Object.setPrototypeOf(this, AuthorityInfoAccessSyntax_1.prototype);
|
|
5361
5386
|
}
|
|
5362
5387
|
};
|
|
5363
|
-
AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = __decorate([
|
|
5388
|
+
AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = __decorate$1([
|
|
5364
5389
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: AccessDescription })
|
|
5365
5390
|
], AuthorityInfoAccessSyntax);
|
|
5366
5391
|
|
|
@@ -5374,13 +5399,13 @@ class AuthorityKeyIdentifier {
|
|
|
5374
5399
|
}
|
|
5375
5400
|
}
|
|
5376
5401
|
}
|
|
5377
|
-
__decorate([
|
|
5402
|
+
__decorate$1([
|
|
5378
5403
|
AsnProp({ type: KeyIdentifier, context: 0, optional: true, implicit: true })
|
|
5379
5404
|
], AuthorityKeyIdentifier.prototype, "keyIdentifier", void 0);
|
|
5380
|
-
__decorate([
|
|
5405
|
+
__decorate$1([
|
|
5381
5406
|
AsnProp({ type: GeneralName, context: 1, optional: true, implicit: true, repeated: "sequence" })
|
|
5382
5407
|
], AuthorityKeyIdentifier.prototype, "authorityCertIssuer", void 0);
|
|
5383
|
-
__decorate([
|
|
5408
|
+
__decorate$1([
|
|
5384
5409
|
AsnProp({
|
|
5385
5410
|
type: AsnPropTypes.Integer,
|
|
5386
5411
|
context: 2,
|
|
@@ -5397,10 +5422,10 @@ class BasicConstraints {
|
|
|
5397
5422
|
Object.assign(this, params);
|
|
5398
5423
|
}
|
|
5399
5424
|
}
|
|
5400
|
-
__decorate([
|
|
5425
|
+
__decorate$1([
|
|
5401
5426
|
AsnProp({ type: AsnPropTypes.Boolean, defaultValue: false })
|
|
5402
5427
|
], BasicConstraints.prototype, "cA", void 0);
|
|
5403
|
-
__decorate([
|
|
5428
|
+
__decorate$1([
|
|
5404
5429
|
AsnProp({ type: AsnPropTypes.Integer, optional: true })
|
|
5405
5430
|
], BasicConstraints.prototype, "pathLenConstraint", void 0);
|
|
5406
5431
|
|
|
@@ -5411,7 +5436,7 @@ let GeneralNames = GeneralNames_1 = class GeneralNames extends AsnArray {
|
|
|
5411
5436
|
Object.setPrototypeOf(this, GeneralNames_1.prototype);
|
|
5412
5437
|
}
|
|
5413
5438
|
};
|
|
5414
|
-
GeneralNames = GeneralNames_1 = __decorate([
|
|
5439
|
+
GeneralNames = GeneralNames_1 = __decorate$1([
|
|
5415
5440
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: GeneralName })
|
|
5416
5441
|
], GeneralNames);
|
|
5417
5442
|
|
|
@@ -5423,7 +5448,7 @@ let CertificateIssuer = CertificateIssuer_1 = class CertificateIssuer extends Ge
|
|
|
5423
5448
|
Object.setPrototypeOf(this, CertificateIssuer_1.prototype);
|
|
5424
5449
|
}
|
|
5425
5450
|
};
|
|
5426
|
-
CertificateIssuer = CertificateIssuer_1 = __decorate([
|
|
5451
|
+
CertificateIssuer = CertificateIssuer_1 = __decorate$1([
|
|
5427
5452
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
5428
5453
|
], CertificateIssuer);
|
|
5429
5454
|
|
|
@@ -5437,19 +5462,19 @@ let DisplayText = class DisplayText {
|
|
|
5437
5462
|
return this.ia5String || this.visibleString || this.bmpString || this.utf8String || "";
|
|
5438
5463
|
}
|
|
5439
5464
|
};
|
|
5440
|
-
__decorate([
|
|
5465
|
+
__decorate$1([
|
|
5441
5466
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
5442
5467
|
], DisplayText.prototype, "ia5String", void 0);
|
|
5443
|
-
__decorate([
|
|
5468
|
+
__decorate$1([
|
|
5444
5469
|
AsnProp({ type: AsnPropTypes.VisibleString })
|
|
5445
5470
|
], DisplayText.prototype, "visibleString", void 0);
|
|
5446
|
-
__decorate([
|
|
5471
|
+
__decorate$1([
|
|
5447
5472
|
AsnProp({ type: AsnPropTypes.BmpString })
|
|
5448
5473
|
], DisplayText.prototype, "bmpString", void 0);
|
|
5449
|
-
__decorate([
|
|
5474
|
+
__decorate$1([
|
|
5450
5475
|
AsnProp({ type: AsnPropTypes.Utf8String })
|
|
5451
5476
|
], DisplayText.prototype, "utf8String", void 0);
|
|
5452
|
-
DisplayText = __decorate([
|
|
5477
|
+
DisplayText = __decorate$1([
|
|
5453
5478
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
5454
5479
|
], DisplayText);
|
|
5455
5480
|
class NoticeReference {
|
|
@@ -5459,10 +5484,10 @@ class NoticeReference {
|
|
|
5459
5484
|
Object.assign(this, params);
|
|
5460
5485
|
}
|
|
5461
5486
|
}
|
|
5462
|
-
__decorate([
|
|
5487
|
+
__decorate$1([
|
|
5463
5488
|
AsnProp({ type: DisplayText })
|
|
5464
5489
|
], NoticeReference.prototype, "organization", void 0);
|
|
5465
|
-
__decorate([
|
|
5490
|
+
__decorate$1([
|
|
5466
5491
|
AsnProp({ type: AsnPropTypes.Integer, repeated: "sequence" })
|
|
5467
5492
|
], NoticeReference.prototype, "noticeNumbers", void 0);
|
|
5468
5493
|
class UserNotice {
|
|
@@ -5470,10 +5495,10 @@ class UserNotice {
|
|
|
5470
5495
|
Object.assign(this, params);
|
|
5471
5496
|
}
|
|
5472
5497
|
}
|
|
5473
|
-
__decorate([
|
|
5498
|
+
__decorate$1([
|
|
5474
5499
|
AsnProp({ type: NoticeReference, optional: true })
|
|
5475
5500
|
], UserNotice.prototype, "noticeRef", void 0);
|
|
5476
|
-
__decorate([
|
|
5501
|
+
__decorate$1([
|
|
5477
5502
|
AsnProp({ type: DisplayText, optional: true })
|
|
5478
5503
|
], UserNotice.prototype, "explicitText", void 0);
|
|
5479
5504
|
let Qualifier = class Qualifier {
|
|
@@ -5481,13 +5506,13 @@ let Qualifier = class Qualifier {
|
|
|
5481
5506
|
Object.assign(this, params);
|
|
5482
5507
|
}
|
|
5483
5508
|
};
|
|
5484
|
-
__decorate([
|
|
5509
|
+
__decorate$1([
|
|
5485
5510
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
5486
5511
|
], Qualifier.prototype, "cPSuri", void 0);
|
|
5487
|
-
__decorate([
|
|
5512
|
+
__decorate$1([
|
|
5488
5513
|
AsnProp({ type: UserNotice })
|
|
5489
5514
|
], Qualifier.prototype, "userNotice", void 0);
|
|
5490
|
-
Qualifier = __decorate([
|
|
5515
|
+
Qualifier = __decorate$1([
|
|
5491
5516
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
5492
5517
|
], Qualifier);
|
|
5493
5518
|
class PolicyQualifierInfo {
|
|
@@ -5497,10 +5522,10 @@ class PolicyQualifierInfo {
|
|
|
5497
5522
|
Object.assign(this, params);
|
|
5498
5523
|
}
|
|
5499
5524
|
}
|
|
5500
|
-
__decorate([
|
|
5525
|
+
__decorate$1([
|
|
5501
5526
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
5502
5527
|
], PolicyQualifierInfo.prototype, "policyQualifierId", void 0);
|
|
5503
|
-
__decorate([
|
|
5528
|
+
__decorate$1([
|
|
5504
5529
|
AsnProp({ type: AsnPropTypes.Any })
|
|
5505
5530
|
], PolicyQualifierInfo.prototype, "qualifier", void 0);
|
|
5506
5531
|
class PolicyInformation {
|
|
@@ -5509,10 +5534,10 @@ class PolicyInformation {
|
|
|
5509
5534
|
Object.assign(this, params);
|
|
5510
5535
|
}
|
|
5511
5536
|
}
|
|
5512
|
-
__decorate([
|
|
5537
|
+
__decorate$1([
|
|
5513
5538
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
5514
5539
|
], PolicyInformation.prototype, "policyIdentifier", void 0);
|
|
5515
|
-
__decorate([
|
|
5540
|
+
__decorate$1([
|
|
5516
5541
|
AsnProp({ type: PolicyQualifierInfo, repeated: "sequence", optional: true })
|
|
5517
5542
|
], PolicyInformation.prototype, "policyQualifiers", void 0);
|
|
5518
5543
|
let CertificatePolicies = CertificatePolicies_1 = class CertificatePolicies extends AsnArray {
|
|
@@ -5521,7 +5546,7 @@ let CertificatePolicies = CertificatePolicies_1 = class CertificatePolicies exte
|
|
|
5521
5546
|
Object.setPrototypeOf(this, CertificatePolicies_1.prototype);
|
|
5522
5547
|
}
|
|
5523
5548
|
};
|
|
5524
|
-
CertificatePolicies = CertificatePolicies_1 = __decorate([
|
|
5549
|
+
CertificatePolicies = CertificatePolicies_1 = __decorate$1([
|
|
5525
5550
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: PolicyInformation })
|
|
5526
5551
|
], CertificatePolicies);
|
|
5527
5552
|
|
|
@@ -5531,17 +5556,17 @@ let CRLNumber = class CRLNumber {
|
|
|
5531
5556
|
this.value = value;
|
|
5532
5557
|
}
|
|
5533
5558
|
};
|
|
5534
|
-
__decorate([
|
|
5559
|
+
__decorate$1([
|
|
5535
5560
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
5536
5561
|
], CRLNumber.prototype, "value", void 0);
|
|
5537
|
-
CRLNumber = __decorate([
|
|
5562
|
+
CRLNumber = __decorate$1([
|
|
5538
5563
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
5539
5564
|
], CRLNumber);
|
|
5540
5565
|
|
|
5541
5566
|
const id_ce_deltaCRLIndicator = `${id_ce}.27`;
|
|
5542
5567
|
let BaseCRLNumber = class BaseCRLNumber extends CRLNumber {
|
|
5543
5568
|
};
|
|
5544
|
-
BaseCRLNumber = __decorate([
|
|
5569
|
+
BaseCRLNumber = __decorate$1([
|
|
5545
5570
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
5546
5571
|
], BaseCRLNumber);
|
|
5547
5572
|
|
|
@@ -5601,13 +5626,13 @@ let DistributionPointName = class DistributionPointName {
|
|
|
5601
5626
|
Object.assign(this, params);
|
|
5602
5627
|
}
|
|
5603
5628
|
};
|
|
5604
|
-
__decorate([
|
|
5629
|
+
__decorate$1([
|
|
5605
5630
|
AsnProp({ type: GeneralName, context: 0, repeated: "sequence", implicit: true })
|
|
5606
5631
|
], DistributionPointName.prototype, "fullName", void 0);
|
|
5607
|
-
__decorate([
|
|
5632
|
+
__decorate$1([
|
|
5608
5633
|
AsnProp({ type: RelativeDistinguishedName, context: 1, implicit: true })
|
|
5609
5634
|
], DistributionPointName.prototype, "nameRelativeToCRLIssuer", void 0);
|
|
5610
|
-
DistributionPointName = __decorate([
|
|
5635
|
+
DistributionPointName = __decorate$1([
|
|
5611
5636
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
5612
5637
|
], DistributionPointName);
|
|
5613
5638
|
class DistributionPoint {
|
|
@@ -5615,13 +5640,13 @@ class DistributionPoint {
|
|
|
5615
5640
|
Object.assign(this, params);
|
|
5616
5641
|
}
|
|
5617
5642
|
}
|
|
5618
|
-
__decorate([
|
|
5643
|
+
__decorate$1([
|
|
5619
5644
|
AsnProp({ type: DistributionPointName, context: 0, optional: true })
|
|
5620
5645
|
], DistributionPoint.prototype, "distributionPoint", void 0);
|
|
5621
|
-
__decorate([
|
|
5646
|
+
__decorate$1([
|
|
5622
5647
|
AsnProp({ type: Reason, context: 1, optional: true, implicit: true })
|
|
5623
5648
|
], DistributionPoint.prototype, "reasons", void 0);
|
|
5624
|
-
__decorate([
|
|
5649
|
+
__decorate$1([
|
|
5625
5650
|
AsnProp({ type: GeneralName, context: 2, optional: true, repeated: "sequence", implicit: true })
|
|
5626
5651
|
], DistributionPoint.prototype, "cRLIssuer", void 0);
|
|
5627
5652
|
let CRLDistributionPoints = CRLDistributionPoints_1 = class CRLDistributionPoints extends AsnArray {
|
|
@@ -5630,7 +5655,7 @@ let CRLDistributionPoints = CRLDistributionPoints_1 = class CRLDistributionPoint
|
|
|
5630
5655
|
Object.setPrototypeOf(this, CRLDistributionPoints_1.prototype);
|
|
5631
5656
|
}
|
|
5632
5657
|
};
|
|
5633
|
-
CRLDistributionPoints = CRLDistributionPoints_1 = __decorate([
|
|
5658
|
+
CRLDistributionPoints = CRLDistributionPoints_1 = __decorate$1([
|
|
5634
5659
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: DistributionPoint })
|
|
5635
5660
|
], CRLDistributionPoints);
|
|
5636
5661
|
|
|
@@ -5641,7 +5666,7 @@ let FreshestCRL = FreshestCRL_1 = class FreshestCRL extends CRLDistributionPoint
|
|
|
5641
5666
|
Object.setPrototypeOf(this, FreshestCRL_1.prototype);
|
|
5642
5667
|
}
|
|
5643
5668
|
};
|
|
5644
|
-
FreshestCRL = FreshestCRL_1 = __decorate([
|
|
5669
|
+
FreshestCRL = FreshestCRL_1 = __decorate$1([
|
|
5645
5670
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: DistributionPoint })
|
|
5646
5671
|
], FreshestCRL);
|
|
5647
5672
|
|
|
@@ -5656,22 +5681,22 @@ class IssuingDistributionPoint {
|
|
|
5656
5681
|
}
|
|
5657
5682
|
}
|
|
5658
5683
|
IssuingDistributionPoint.ONLY = false;
|
|
5659
|
-
__decorate([
|
|
5684
|
+
__decorate$1([
|
|
5660
5685
|
AsnProp({ type: DistributionPointName, context: 0, optional: true })
|
|
5661
5686
|
], IssuingDistributionPoint.prototype, "distributionPoint", void 0);
|
|
5662
|
-
__decorate([
|
|
5687
|
+
__decorate$1([
|
|
5663
5688
|
AsnProp({ type: AsnPropTypes.Boolean, context: 1, defaultValue: IssuingDistributionPoint.ONLY, implicit: true })
|
|
5664
5689
|
], IssuingDistributionPoint.prototype, "onlyContainsUserCerts", void 0);
|
|
5665
|
-
__decorate([
|
|
5690
|
+
__decorate$1([
|
|
5666
5691
|
AsnProp({ type: AsnPropTypes.Boolean, context: 2, defaultValue: IssuingDistributionPoint.ONLY, implicit: true })
|
|
5667
5692
|
], IssuingDistributionPoint.prototype, "onlyContainsCACerts", void 0);
|
|
5668
|
-
__decorate([
|
|
5693
|
+
__decorate$1([
|
|
5669
5694
|
AsnProp({ type: Reason, context: 3, optional: true, implicit: true })
|
|
5670
5695
|
], IssuingDistributionPoint.prototype, "onlySomeReasons", void 0);
|
|
5671
|
-
__decorate([
|
|
5696
|
+
__decorate$1([
|
|
5672
5697
|
AsnProp({ type: AsnPropTypes.Boolean, context: 4, defaultValue: IssuingDistributionPoint.ONLY, implicit: true })
|
|
5673
5698
|
], IssuingDistributionPoint.prototype, "indirectCRL", void 0);
|
|
5674
|
-
__decorate([
|
|
5699
|
+
__decorate$1([
|
|
5675
5700
|
AsnProp({ type: AsnPropTypes.Boolean, context: 5, defaultValue: IssuingDistributionPoint.ONLY, implicit: true })
|
|
5676
5701
|
], IssuingDistributionPoint.prototype, "onlyContainsAttributeCerts", void 0);
|
|
5677
5702
|
|
|
@@ -5701,10 +5726,10 @@ let CRLReason = class CRLReason {
|
|
|
5701
5726
|
return this.toJSON();
|
|
5702
5727
|
}
|
|
5703
5728
|
};
|
|
5704
|
-
__decorate([
|
|
5729
|
+
__decorate$1([
|
|
5705
5730
|
AsnProp({ type: AsnPropTypes.Enumerated })
|
|
5706
5731
|
], CRLReason.prototype, "reason", void 0);
|
|
5707
|
-
CRLReason = __decorate([
|
|
5732
|
+
CRLReason = __decorate$1([
|
|
5708
5733
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
5709
5734
|
], CRLReason);
|
|
5710
5735
|
|
|
@@ -5716,7 +5741,7 @@ let ExtendedKeyUsage = ExtendedKeyUsage_1 = class ExtendedKeyUsage extends AsnAr
|
|
|
5716
5741
|
Object.setPrototypeOf(this, ExtendedKeyUsage_1.prototype);
|
|
5717
5742
|
}
|
|
5718
5743
|
};
|
|
5719
|
-
ExtendedKeyUsage = ExtendedKeyUsage_1 = __decorate([
|
|
5744
|
+
ExtendedKeyUsage = ExtendedKeyUsage_1 = __decorate$1([
|
|
5720
5745
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.ObjectIdentifier })
|
|
5721
5746
|
], ExtendedKeyUsage);
|
|
5722
5747
|
|
|
@@ -5726,10 +5751,10 @@ let InhibitAnyPolicy = class InhibitAnyPolicy {
|
|
|
5726
5751
|
this.value = value;
|
|
5727
5752
|
}
|
|
5728
5753
|
};
|
|
5729
|
-
__decorate([
|
|
5754
|
+
__decorate$1([
|
|
5730
5755
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
5731
5756
|
], InhibitAnyPolicy.prototype, "value", void 0);
|
|
5732
|
-
InhibitAnyPolicy = __decorate([
|
|
5757
|
+
InhibitAnyPolicy = __decorate$1([
|
|
5733
5758
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
5734
5759
|
], InhibitAnyPolicy);
|
|
5735
5760
|
|
|
@@ -5742,10 +5767,10 @@ let InvalidityDate = class InvalidityDate {
|
|
|
5742
5767
|
}
|
|
5743
5768
|
}
|
|
5744
5769
|
};
|
|
5745
|
-
__decorate([
|
|
5770
|
+
__decorate$1([
|
|
5746
5771
|
AsnProp({ type: AsnPropTypes.GeneralizedTime })
|
|
5747
5772
|
], InvalidityDate.prototype, "value", void 0);
|
|
5748
|
-
InvalidityDate = __decorate([
|
|
5773
|
+
InvalidityDate = __decorate$1([
|
|
5749
5774
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
5750
5775
|
], InvalidityDate);
|
|
5751
5776
|
|
|
@@ -5757,7 +5782,7 @@ let IssueAlternativeName = IssueAlternativeName_1 = class IssueAlternativeName e
|
|
|
5757
5782
|
Object.setPrototypeOf(this, IssueAlternativeName_1.prototype);
|
|
5758
5783
|
}
|
|
5759
5784
|
};
|
|
5760
|
-
IssueAlternativeName = IssueAlternativeName_1 = __decorate([
|
|
5785
|
+
IssueAlternativeName = IssueAlternativeName_1 = __decorate$1([
|
|
5761
5786
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
5762
5787
|
], IssueAlternativeName);
|
|
5763
5788
|
|
|
@@ -5821,13 +5846,13 @@ class GeneralSubtree {
|
|
|
5821
5846
|
Object.assign(this, params);
|
|
5822
5847
|
}
|
|
5823
5848
|
}
|
|
5824
|
-
__decorate([
|
|
5849
|
+
__decorate$1([
|
|
5825
5850
|
AsnProp({ type: GeneralName })
|
|
5826
5851
|
], GeneralSubtree.prototype, "base", void 0);
|
|
5827
|
-
__decorate([
|
|
5852
|
+
__decorate$1([
|
|
5828
5853
|
AsnProp({ type: AsnPropTypes.Integer, context: 0, defaultValue: 0, implicit: true })
|
|
5829
5854
|
], GeneralSubtree.prototype, "minimum", void 0);
|
|
5830
|
-
__decorate([
|
|
5855
|
+
__decorate$1([
|
|
5831
5856
|
AsnProp({ type: AsnPropTypes.Integer, context: 1, optional: true, implicit: true })
|
|
5832
5857
|
], GeneralSubtree.prototype, "maximum", void 0);
|
|
5833
5858
|
let GeneralSubtrees = GeneralSubtrees_1 = class GeneralSubtrees extends AsnArray {
|
|
@@ -5836,7 +5861,7 @@ let GeneralSubtrees = GeneralSubtrees_1 = class GeneralSubtrees extends AsnArray
|
|
|
5836
5861
|
Object.setPrototypeOf(this, GeneralSubtrees_1.prototype);
|
|
5837
5862
|
}
|
|
5838
5863
|
};
|
|
5839
|
-
GeneralSubtrees = GeneralSubtrees_1 = __decorate([
|
|
5864
|
+
GeneralSubtrees = GeneralSubtrees_1 = __decorate$1([
|
|
5840
5865
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: GeneralSubtree })
|
|
5841
5866
|
], GeneralSubtrees);
|
|
5842
5867
|
class NameConstraints {
|
|
@@ -5844,10 +5869,10 @@ class NameConstraints {
|
|
|
5844
5869
|
Object.assign(this, params);
|
|
5845
5870
|
}
|
|
5846
5871
|
}
|
|
5847
|
-
__decorate([
|
|
5872
|
+
__decorate$1([
|
|
5848
5873
|
AsnProp({ type: GeneralSubtrees, context: 0, optional: true, implicit: true })
|
|
5849
5874
|
], NameConstraints.prototype, "permittedSubtrees", void 0);
|
|
5850
|
-
__decorate([
|
|
5875
|
+
__decorate$1([
|
|
5851
5876
|
AsnProp({ type: GeneralSubtrees, context: 1, optional: true, implicit: true })
|
|
5852
5877
|
], NameConstraints.prototype, "excludedSubtrees", void 0);
|
|
5853
5878
|
|
|
@@ -5857,13 +5882,13 @@ class PolicyConstraints {
|
|
|
5857
5882
|
Object.assign(this, params);
|
|
5858
5883
|
}
|
|
5859
5884
|
}
|
|
5860
|
-
__decorate([
|
|
5885
|
+
__decorate$1([
|
|
5861
5886
|
AsnProp({
|
|
5862
5887
|
type: AsnPropTypes.Integer, context: 0, implicit: true, optional: true,
|
|
5863
5888
|
converter: AsnIntegerArrayBufferConverter,
|
|
5864
5889
|
})
|
|
5865
5890
|
], PolicyConstraints.prototype, "requireExplicitPolicy", void 0);
|
|
5866
|
-
__decorate([
|
|
5891
|
+
__decorate$1([
|
|
5867
5892
|
AsnProp({
|
|
5868
5893
|
type: AsnPropTypes.Integer, context: 1, implicit: true, optional: true,
|
|
5869
5894
|
converter: AsnIntegerArrayBufferConverter,
|
|
@@ -5879,10 +5904,10 @@ class PolicyMapping {
|
|
|
5879
5904
|
Object.assign(this, params);
|
|
5880
5905
|
}
|
|
5881
5906
|
}
|
|
5882
|
-
__decorate([
|
|
5907
|
+
__decorate$1([
|
|
5883
5908
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
5884
5909
|
], PolicyMapping.prototype, "issuerDomainPolicy", void 0);
|
|
5885
|
-
__decorate([
|
|
5910
|
+
__decorate$1([
|
|
5886
5911
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
5887
5912
|
], PolicyMapping.prototype, "subjectDomainPolicy", void 0);
|
|
5888
5913
|
let PolicyMappings = PolicyMappings_1 = class PolicyMappings extends AsnArray {
|
|
@@ -5891,7 +5916,7 @@ let PolicyMappings = PolicyMappings_1 = class PolicyMappings extends AsnArray {
|
|
|
5891
5916
|
Object.setPrototypeOf(this, PolicyMappings_1.prototype);
|
|
5892
5917
|
}
|
|
5893
5918
|
};
|
|
5894
|
-
PolicyMappings = PolicyMappings_1 = __decorate([
|
|
5919
|
+
PolicyMappings = PolicyMappings_1 = __decorate$1([
|
|
5895
5920
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: PolicyMapping })
|
|
5896
5921
|
], PolicyMappings);
|
|
5897
5922
|
|
|
@@ -5903,7 +5928,7 @@ let SubjectAlternativeName = SubjectAlternativeName_1 = class SubjectAlternative
|
|
|
5903
5928
|
Object.setPrototypeOf(this, SubjectAlternativeName_1.prototype);
|
|
5904
5929
|
}
|
|
5905
5930
|
};
|
|
5906
|
-
SubjectAlternativeName = SubjectAlternativeName_1 = __decorate([
|
|
5931
|
+
SubjectAlternativeName = SubjectAlternativeName_1 = __decorate$1([
|
|
5907
5932
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
5908
5933
|
], SubjectAlternativeName);
|
|
5909
5934
|
|
|
@@ -5914,10 +5939,10 @@ class Attribute$1 {
|
|
|
5914
5939
|
Object.assign(this, params);
|
|
5915
5940
|
}
|
|
5916
5941
|
}
|
|
5917
|
-
__decorate([
|
|
5942
|
+
__decorate$1([
|
|
5918
5943
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
5919
5944
|
], Attribute$1.prototype, "type", void 0);
|
|
5920
|
-
__decorate([
|
|
5945
|
+
__decorate$1([
|
|
5921
5946
|
AsnProp({ type: AsnPropTypes.Any, repeated: "set" })
|
|
5922
5947
|
], Attribute$1.prototype, "values", void 0);
|
|
5923
5948
|
|
|
@@ -5929,7 +5954,7 @@ let SubjectDirectoryAttributes = SubjectDirectoryAttributes_1 = class SubjectDir
|
|
|
5929
5954
|
Object.setPrototypeOf(this, SubjectDirectoryAttributes_1.prototype);
|
|
5930
5955
|
}
|
|
5931
5956
|
};
|
|
5932
|
-
SubjectDirectoryAttributes = SubjectDirectoryAttributes_1 = __decorate([
|
|
5957
|
+
SubjectDirectoryAttributes = SubjectDirectoryAttributes_1 = __decorate$1([
|
|
5933
5958
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: Attribute$1 })
|
|
5934
5959
|
], SubjectDirectoryAttributes);
|
|
5935
5960
|
|
|
@@ -5943,10 +5968,10 @@ class PrivateKeyUsagePeriod {
|
|
|
5943
5968
|
Object.assign(this, params);
|
|
5944
5969
|
}
|
|
5945
5970
|
}
|
|
5946
|
-
__decorate([
|
|
5971
|
+
__decorate$1([
|
|
5947
5972
|
AsnProp({ type: AsnPropTypes.GeneralizedTime, context: 0, implicit: true, optional: true })
|
|
5948
5973
|
], PrivateKeyUsagePeriod.prototype, "notBefore", void 0);
|
|
5949
|
-
__decorate([
|
|
5974
|
+
__decorate$1([
|
|
5950
5975
|
AsnProp({ type: AsnPropTypes.GeneralizedTime, context: 1, implicit: true, optional: true, })
|
|
5951
5976
|
], PrivateKeyUsagePeriod.prototype, "notAfter", void 0);
|
|
5952
5977
|
|
|
@@ -5983,10 +6008,10 @@ class EntrustVersionInfo {
|
|
|
5983
6008
|
Object.assign(this, params);
|
|
5984
6009
|
}
|
|
5985
6010
|
}
|
|
5986
|
-
__decorate([
|
|
6011
|
+
__decorate$1([
|
|
5987
6012
|
AsnProp({ type: AsnPropTypes.GeneralString })
|
|
5988
6013
|
], EntrustVersionInfo.prototype, "entrustVers", void 0);
|
|
5989
|
-
__decorate([
|
|
6014
|
+
__decorate$1([
|
|
5990
6015
|
AsnProp({ type: EntrustInfo })
|
|
5991
6016
|
], EntrustVersionInfo.prototype, "entrustInfoFlags", void 0);
|
|
5992
6017
|
|
|
@@ -5998,7 +6023,7 @@ let SubjectInfoAccessSyntax = SubjectInfoAccessSyntax_1 = class SubjectInfoAcces
|
|
|
5998
6023
|
Object.setPrototypeOf(this, SubjectInfoAccessSyntax_1.prototype);
|
|
5999
6024
|
}
|
|
6000
6025
|
};
|
|
6001
|
-
SubjectInfoAccessSyntax = SubjectInfoAccessSyntax_1 = __decorate([
|
|
6026
|
+
SubjectInfoAccessSyntax = SubjectInfoAccessSyntax_1 = __decorate$1([
|
|
6002
6027
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: AccessDescription })
|
|
6003
6028
|
], SubjectInfoAccessSyntax);
|
|
6004
6029
|
|
|
@@ -6011,17 +6036,17 @@ class AlgorithmIdentifier {
|
|
|
6011
6036
|
return data instanceof AlgorithmIdentifier
|
|
6012
6037
|
&& data.algorithm == this.algorithm
|
|
6013
6038
|
&& ((data.parameters && this.parameters
|
|
6014
|
-
&&
|
|
6039
|
+
&& isEqual_1(data.parameters, this.parameters))
|
|
6015
6040
|
||
|
|
6016
6041
|
(data.parameters === this.parameters));
|
|
6017
6042
|
}
|
|
6018
6043
|
}
|
|
6019
|
-
__decorate([
|
|
6044
|
+
__decorate$1([
|
|
6020
6045
|
AsnProp({
|
|
6021
6046
|
type: AsnPropTypes.ObjectIdentifier,
|
|
6022
6047
|
})
|
|
6023
6048
|
], AlgorithmIdentifier.prototype, "algorithm", void 0);
|
|
6024
|
-
__decorate([
|
|
6049
|
+
__decorate$1([
|
|
6025
6050
|
AsnProp({
|
|
6026
6051
|
type: AsnPropTypes.Any,
|
|
6027
6052
|
optional: true,
|
|
@@ -6035,10 +6060,10 @@ class SubjectPublicKeyInfo {
|
|
|
6035
6060
|
Object.assign(this, params);
|
|
6036
6061
|
}
|
|
6037
6062
|
}
|
|
6038
|
-
__decorate([
|
|
6063
|
+
__decorate$1([
|
|
6039
6064
|
AsnProp({ type: AlgorithmIdentifier })
|
|
6040
6065
|
], SubjectPublicKeyInfo.prototype, "algorithm", void 0);
|
|
6041
|
-
__decorate([
|
|
6066
|
+
__decorate$1([
|
|
6042
6067
|
AsnProp({ type: AsnPropTypes.BitString })
|
|
6043
6068
|
], SubjectPublicKeyInfo.prototype, "subjectPublicKey", void 0);
|
|
6044
6069
|
|
|
@@ -6067,17 +6092,17 @@ let Time = class Time {
|
|
|
6067
6092
|
return time;
|
|
6068
6093
|
}
|
|
6069
6094
|
};
|
|
6070
|
-
__decorate([
|
|
6095
|
+
__decorate$1([
|
|
6071
6096
|
AsnProp({
|
|
6072
6097
|
type: AsnPropTypes.UTCTime,
|
|
6073
6098
|
})
|
|
6074
6099
|
], Time.prototype, "utcTime", void 0);
|
|
6075
|
-
__decorate([
|
|
6100
|
+
__decorate$1([
|
|
6076
6101
|
AsnProp({
|
|
6077
6102
|
type: AsnPropTypes.GeneralizedTime,
|
|
6078
6103
|
})
|
|
6079
6104
|
], Time.prototype, "generalTime", void 0);
|
|
6080
|
-
Time = __decorate([
|
|
6105
|
+
Time = __decorate$1([
|
|
6081
6106
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
6082
6107
|
], Time);
|
|
6083
6108
|
|
|
@@ -6091,10 +6116,10 @@ class Validity {
|
|
|
6091
6116
|
}
|
|
6092
6117
|
}
|
|
6093
6118
|
}
|
|
6094
|
-
__decorate([
|
|
6119
|
+
__decorate$1([
|
|
6095
6120
|
AsnProp({ type: Time })
|
|
6096
6121
|
], Validity.prototype, "notBefore", void 0);
|
|
6097
|
-
__decorate([
|
|
6122
|
+
__decorate$1([
|
|
6098
6123
|
AsnProp({ type: Time })
|
|
6099
6124
|
], Validity.prototype, "notAfter", void 0);
|
|
6100
6125
|
|
|
@@ -6108,16 +6133,16 @@ class Extension$1 {
|
|
|
6108
6133
|
}
|
|
6109
6134
|
}
|
|
6110
6135
|
Extension$1.CRITICAL = false;
|
|
6111
|
-
__decorate([
|
|
6136
|
+
__decorate$1([
|
|
6112
6137
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
6113
6138
|
], Extension$1.prototype, "extnID", void 0);
|
|
6114
|
-
__decorate([
|
|
6139
|
+
__decorate$1([
|
|
6115
6140
|
AsnProp({
|
|
6116
6141
|
type: AsnPropTypes.Boolean,
|
|
6117
6142
|
defaultValue: Extension$1.CRITICAL,
|
|
6118
6143
|
})
|
|
6119
6144
|
], Extension$1.prototype, "critical", void 0);
|
|
6120
|
-
__decorate([
|
|
6145
|
+
__decorate$1([
|
|
6121
6146
|
AsnProp({ type: OctetString })
|
|
6122
6147
|
], Extension$1.prototype, "extnValue", void 0);
|
|
6123
6148
|
let Extensions$1 = Extensions_1 = class Extensions extends AsnArray {
|
|
@@ -6126,20 +6151,20 @@ let Extensions$1 = Extensions_1 = class Extensions extends AsnArray {
|
|
|
6126
6151
|
Object.setPrototypeOf(this, Extensions_1.prototype);
|
|
6127
6152
|
}
|
|
6128
6153
|
};
|
|
6129
|
-
Extensions$1 = Extensions_1 = __decorate([
|
|
6154
|
+
Extensions$1 = Extensions_1 = __decorate$1([
|
|
6130
6155
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: Extension$1 })
|
|
6131
6156
|
], Extensions$1);
|
|
6132
6157
|
|
|
6133
|
-
var Version$
|
|
6158
|
+
var Version$4;
|
|
6134
6159
|
(function (Version) {
|
|
6135
6160
|
Version[Version["v1"] = 0] = "v1";
|
|
6136
6161
|
Version[Version["v2"] = 1] = "v2";
|
|
6137
6162
|
Version[Version["v3"] = 2] = "v3";
|
|
6138
|
-
})(Version$
|
|
6163
|
+
})(Version$4 || (Version$4 = {}));
|
|
6139
6164
|
|
|
6140
6165
|
class TBSCertificate {
|
|
6141
6166
|
constructor(params = {}) {
|
|
6142
|
-
this.version = Version$
|
|
6167
|
+
this.version = Version$4.v1;
|
|
6143
6168
|
this.serialNumber = new ArrayBuffer(0);
|
|
6144
6169
|
this.signature = new AlgorithmIdentifier();
|
|
6145
6170
|
this.issuer = new Name$1();
|
|
@@ -6149,35 +6174,35 @@ class TBSCertificate {
|
|
|
6149
6174
|
Object.assign(this, params);
|
|
6150
6175
|
}
|
|
6151
6176
|
}
|
|
6152
|
-
__decorate([
|
|
6177
|
+
__decorate$1([
|
|
6153
6178
|
AsnProp({
|
|
6154
6179
|
type: AsnPropTypes.Integer,
|
|
6155
6180
|
context: 0,
|
|
6156
|
-
defaultValue: Version$
|
|
6181
|
+
defaultValue: Version$4.v1,
|
|
6157
6182
|
})
|
|
6158
6183
|
], TBSCertificate.prototype, "version", void 0);
|
|
6159
|
-
__decorate([
|
|
6184
|
+
__decorate$1([
|
|
6160
6185
|
AsnProp({
|
|
6161
6186
|
type: AsnPropTypes.Integer,
|
|
6162
6187
|
converter: AsnIntegerArrayBufferConverter,
|
|
6163
6188
|
})
|
|
6164
6189
|
], TBSCertificate.prototype, "serialNumber", void 0);
|
|
6165
|
-
__decorate([
|
|
6190
|
+
__decorate$1([
|
|
6166
6191
|
AsnProp({ type: AlgorithmIdentifier })
|
|
6167
6192
|
], TBSCertificate.prototype, "signature", void 0);
|
|
6168
|
-
__decorate([
|
|
6193
|
+
__decorate$1([
|
|
6169
6194
|
AsnProp({ type: Name$1 })
|
|
6170
6195
|
], TBSCertificate.prototype, "issuer", void 0);
|
|
6171
|
-
__decorate([
|
|
6196
|
+
__decorate$1([
|
|
6172
6197
|
AsnProp({ type: Validity })
|
|
6173
6198
|
], TBSCertificate.prototype, "validity", void 0);
|
|
6174
|
-
__decorate([
|
|
6199
|
+
__decorate$1([
|
|
6175
6200
|
AsnProp({ type: Name$1 })
|
|
6176
6201
|
], TBSCertificate.prototype, "subject", void 0);
|
|
6177
|
-
__decorate([
|
|
6202
|
+
__decorate$1([
|
|
6178
6203
|
AsnProp({ type: SubjectPublicKeyInfo })
|
|
6179
6204
|
], TBSCertificate.prototype, "subjectPublicKeyInfo", void 0);
|
|
6180
|
-
__decorate([
|
|
6205
|
+
__decorate$1([
|
|
6181
6206
|
AsnProp({
|
|
6182
6207
|
type: AsnPropTypes.BitString,
|
|
6183
6208
|
context: 1,
|
|
@@ -6185,10 +6210,10 @@ __decorate([
|
|
|
6185
6210
|
optional: true,
|
|
6186
6211
|
})
|
|
6187
6212
|
], TBSCertificate.prototype, "issuerUniqueID", void 0);
|
|
6188
|
-
__decorate([
|
|
6213
|
+
__decorate$1([
|
|
6189
6214
|
AsnProp({ type: AsnPropTypes.BitString, context: 2, implicit: true, optional: true })
|
|
6190
6215
|
], TBSCertificate.prototype, "subjectUniqueID", void 0);
|
|
6191
|
-
__decorate([
|
|
6216
|
+
__decorate$1([
|
|
6192
6217
|
AsnProp({ type: Extensions$1, context: 3, optional: true })
|
|
6193
6218
|
], TBSCertificate.prototype, "extensions", void 0);
|
|
6194
6219
|
|
|
@@ -6200,13 +6225,13 @@ class Certificate {
|
|
|
6200
6225
|
Object.assign(this, params);
|
|
6201
6226
|
}
|
|
6202
6227
|
}
|
|
6203
|
-
__decorate([
|
|
6228
|
+
__decorate$1([
|
|
6204
6229
|
AsnProp({ type: TBSCertificate })
|
|
6205
6230
|
], Certificate.prototype, "tbsCertificate", void 0);
|
|
6206
|
-
__decorate([
|
|
6231
|
+
__decorate$1([
|
|
6207
6232
|
AsnProp({ type: AlgorithmIdentifier })
|
|
6208
6233
|
], Certificate.prototype, "signatureAlgorithm", void 0);
|
|
6209
|
-
__decorate([
|
|
6234
|
+
__decorate$1([
|
|
6210
6235
|
AsnProp({ type: AsnPropTypes.BitString })
|
|
6211
6236
|
], Certificate.prototype, "signatureValue", void 0);
|
|
6212
6237
|
|
|
@@ -6217,13 +6242,13 @@ class RevokedCertificate {
|
|
|
6217
6242
|
Object.assign(this, params);
|
|
6218
6243
|
}
|
|
6219
6244
|
}
|
|
6220
|
-
__decorate([
|
|
6245
|
+
__decorate$1([
|
|
6221
6246
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6222
6247
|
], RevokedCertificate.prototype, "userCertificate", void 0);
|
|
6223
|
-
__decorate([
|
|
6248
|
+
__decorate$1([
|
|
6224
6249
|
AsnProp({ type: Time })
|
|
6225
6250
|
], RevokedCertificate.prototype, "revocationDate", void 0);
|
|
6226
|
-
__decorate([
|
|
6251
|
+
__decorate$1([
|
|
6227
6252
|
AsnProp({ type: Extension$1, optional: true, repeated: "sequence" })
|
|
6228
6253
|
], RevokedCertificate.prototype, "crlEntryExtensions", void 0);
|
|
6229
6254
|
class TBSCertList {
|
|
@@ -6234,25 +6259,25 @@ class TBSCertList {
|
|
|
6234
6259
|
Object.assign(this, params);
|
|
6235
6260
|
}
|
|
6236
6261
|
}
|
|
6237
|
-
__decorate([
|
|
6262
|
+
__decorate$1([
|
|
6238
6263
|
AsnProp({ type: AsnPropTypes.Integer, optional: true })
|
|
6239
6264
|
], TBSCertList.prototype, "version", void 0);
|
|
6240
|
-
__decorate([
|
|
6265
|
+
__decorate$1([
|
|
6241
6266
|
AsnProp({ type: AlgorithmIdentifier })
|
|
6242
6267
|
], TBSCertList.prototype, "signature", void 0);
|
|
6243
|
-
__decorate([
|
|
6268
|
+
__decorate$1([
|
|
6244
6269
|
AsnProp({ type: Name$1 })
|
|
6245
6270
|
], TBSCertList.prototype, "issuer", void 0);
|
|
6246
|
-
__decorate([
|
|
6271
|
+
__decorate$1([
|
|
6247
6272
|
AsnProp({ type: Time })
|
|
6248
6273
|
], TBSCertList.prototype, "thisUpdate", void 0);
|
|
6249
|
-
__decorate([
|
|
6274
|
+
__decorate$1([
|
|
6250
6275
|
AsnProp({ type: Time, optional: true })
|
|
6251
6276
|
], TBSCertList.prototype, "nextUpdate", void 0);
|
|
6252
|
-
__decorate([
|
|
6277
|
+
__decorate$1([
|
|
6253
6278
|
AsnProp({ type: RevokedCertificate, repeated: "sequence", optional: true })
|
|
6254
6279
|
], TBSCertList.prototype, "revokedCertificates", void 0);
|
|
6255
|
-
__decorate([
|
|
6280
|
+
__decorate$1([
|
|
6256
6281
|
AsnProp({ type: Extension$1, optional: true, context: 0, repeated: "sequence" })
|
|
6257
6282
|
], TBSCertList.prototype, "crlExtensions", void 0);
|
|
6258
6283
|
|
|
@@ -6264,13 +6289,13 @@ class CertificateList {
|
|
|
6264
6289
|
Object.assign(this, params);
|
|
6265
6290
|
}
|
|
6266
6291
|
}
|
|
6267
|
-
__decorate([
|
|
6292
|
+
__decorate$1([
|
|
6268
6293
|
AsnProp({ type: TBSCertList })
|
|
6269
6294
|
], CertificateList.prototype, "tbsCertList", void 0);
|
|
6270
|
-
__decorate([
|
|
6295
|
+
__decorate$1([
|
|
6271
6296
|
AsnProp({ type: AlgorithmIdentifier })
|
|
6272
6297
|
], CertificateList.prototype, "signatureAlgorithm", void 0);
|
|
6273
|
-
__decorate([
|
|
6298
|
+
__decorate$1([
|
|
6274
6299
|
AsnProp({ type: AsnPropTypes.BitString })
|
|
6275
6300
|
], CertificateList.prototype, "signature", void 0);
|
|
6276
6301
|
|
|
@@ -6295,10 +6320,10 @@ let ECParameters = class ECParameters {
|
|
|
6295
6320
|
Object.assign(this, params);
|
|
6296
6321
|
}
|
|
6297
6322
|
};
|
|
6298
|
-
__decorate([
|
|
6323
|
+
__decorate$1([
|
|
6299
6324
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
6300
6325
|
], ECParameters.prototype, "namedCurve", void 0);
|
|
6301
|
-
ECParameters = __decorate([
|
|
6326
|
+
ECParameters = __decorate$1([
|
|
6302
6327
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
6303
6328
|
], ECParameters);
|
|
6304
6329
|
|
|
@@ -6309,16 +6334,16 @@ class ECPrivateKey {
|
|
|
6309
6334
|
Object.assign(this, params);
|
|
6310
6335
|
}
|
|
6311
6336
|
}
|
|
6312
|
-
__decorate([
|
|
6337
|
+
__decorate$1([
|
|
6313
6338
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
6314
6339
|
], ECPrivateKey.prototype, "version", void 0);
|
|
6315
|
-
__decorate([
|
|
6340
|
+
__decorate$1([
|
|
6316
6341
|
AsnProp({ type: OctetString })
|
|
6317
6342
|
], ECPrivateKey.prototype, "privateKey", void 0);
|
|
6318
|
-
__decorate([
|
|
6343
|
+
__decorate$1([
|
|
6319
6344
|
AsnProp({ type: ECParameters, context: 0, optional: true })
|
|
6320
6345
|
], ECPrivateKey.prototype, "parameters", void 0);
|
|
6321
|
-
__decorate([
|
|
6346
|
+
__decorate$1([
|
|
6322
6347
|
AsnProp({ type: AsnPropTypes.BitString, context: 1, optional: true })
|
|
6323
6348
|
], ECPrivateKey.prototype, "publicKey", void 0);
|
|
6324
6349
|
|
|
@@ -6329,10 +6354,10 @@ class ECDSASigValue {
|
|
|
6329
6354
|
Object.assign(this, params);
|
|
6330
6355
|
}
|
|
6331
6356
|
}
|
|
6332
|
-
__decorate([
|
|
6357
|
+
__decorate$1([
|
|
6333
6358
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6334
6359
|
], ECDSASigValue.prototype, "r", void 0);
|
|
6335
|
-
__decorate([
|
|
6360
|
+
__decorate$1([
|
|
6336
6361
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6337
6362
|
], ECDSASigValue.prototype, "s", void 0);
|
|
6338
6363
|
|
|
@@ -6401,13 +6426,13 @@ class RsaEsOaepParams {
|
|
|
6401
6426
|
Object.assign(this, params);
|
|
6402
6427
|
}
|
|
6403
6428
|
}
|
|
6404
|
-
__decorate([
|
|
6429
|
+
__decorate$1([
|
|
6405
6430
|
AsnProp({ type: AlgorithmIdentifier, context: 0, defaultValue: sha1 })
|
|
6406
6431
|
], RsaEsOaepParams.prototype, "hashAlgorithm", void 0);
|
|
6407
|
-
__decorate([
|
|
6432
|
+
__decorate$1([
|
|
6408
6433
|
AsnProp({ type: AlgorithmIdentifier, context: 1, defaultValue: mgf1SHA1 })
|
|
6409
6434
|
], RsaEsOaepParams.prototype, "maskGenAlgorithm", void 0);
|
|
6410
|
-
__decorate([
|
|
6435
|
+
__decorate$1([
|
|
6411
6436
|
AsnProp({ type: AlgorithmIdentifier, context: 2, defaultValue: pSpecifiedEmpty })
|
|
6412
6437
|
], RsaEsOaepParams.prototype, "pSourceAlgorithm", void 0);
|
|
6413
6438
|
new AlgorithmIdentifier({
|
|
@@ -6427,16 +6452,16 @@ class RsaSaPssParams {
|
|
|
6427
6452
|
Object.assign(this, params);
|
|
6428
6453
|
}
|
|
6429
6454
|
}
|
|
6430
|
-
__decorate([
|
|
6455
|
+
__decorate$1([
|
|
6431
6456
|
AsnProp({ type: AlgorithmIdentifier, context: 0, defaultValue: sha1 })
|
|
6432
6457
|
], RsaSaPssParams.prototype, "hashAlgorithm", void 0);
|
|
6433
|
-
__decorate([
|
|
6458
|
+
__decorate$1([
|
|
6434
6459
|
AsnProp({ type: AlgorithmIdentifier, context: 1, defaultValue: mgf1SHA1 })
|
|
6435
6460
|
], RsaSaPssParams.prototype, "maskGenAlgorithm", void 0);
|
|
6436
|
-
__decorate([
|
|
6461
|
+
__decorate$1([
|
|
6437
6462
|
AsnProp({ type: AsnPropTypes.Integer, context: 2, defaultValue: 20 })
|
|
6438
6463
|
], RsaSaPssParams.prototype, "saltLength", void 0);
|
|
6439
|
-
__decorate([
|
|
6464
|
+
__decorate$1([
|
|
6440
6465
|
AsnProp({ type: AsnPropTypes.Integer, context: 3, defaultValue: 1 })
|
|
6441
6466
|
], RsaSaPssParams.prototype, "trailerField", void 0);
|
|
6442
6467
|
new AlgorithmIdentifier({
|
|
@@ -6451,10 +6476,10 @@ class DigestInfo {
|
|
|
6451
6476
|
Object.assign(this, params);
|
|
6452
6477
|
}
|
|
6453
6478
|
}
|
|
6454
|
-
__decorate([
|
|
6479
|
+
__decorate$1([
|
|
6455
6480
|
AsnProp({ type: AlgorithmIdentifier })
|
|
6456
6481
|
], DigestInfo.prototype, "digestAlgorithm", void 0);
|
|
6457
|
-
__decorate([
|
|
6482
|
+
__decorate$1([
|
|
6458
6483
|
AsnProp({ type: OctetString })
|
|
6459
6484
|
], DigestInfo.prototype, "digest", void 0);
|
|
6460
6485
|
|
|
@@ -6467,13 +6492,13 @@ class OtherPrimeInfo {
|
|
|
6467
6492
|
Object.assign(this, params);
|
|
6468
6493
|
}
|
|
6469
6494
|
}
|
|
6470
|
-
__decorate([
|
|
6495
|
+
__decorate$1([
|
|
6471
6496
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6472
6497
|
], OtherPrimeInfo.prototype, "prime", void 0);
|
|
6473
|
-
__decorate([
|
|
6498
|
+
__decorate$1([
|
|
6474
6499
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6475
6500
|
], OtherPrimeInfo.prototype, "exponent", void 0);
|
|
6476
|
-
__decorate([
|
|
6501
|
+
__decorate$1([
|
|
6477
6502
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6478
6503
|
], OtherPrimeInfo.prototype, "coefficient", void 0);
|
|
6479
6504
|
let OtherPrimeInfos = OtherPrimeInfos_1 = class OtherPrimeInfos extends AsnArray {
|
|
@@ -6482,7 +6507,7 @@ let OtherPrimeInfos = OtherPrimeInfos_1 = class OtherPrimeInfos extends AsnArray
|
|
|
6482
6507
|
Object.setPrototypeOf(this, OtherPrimeInfos_1.prototype);
|
|
6483
6508
|
}
|
|
6484
6509
|
};
|
|
6485
|
-
OtherPrimeInfos = OtherPrimeInfos_1 = __decorate([
|
|
6510
|
+
OtherPrimeInfos = OtherPrimeInfos_1 = __decorate$1([
|
|
6486
6511
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: OtherPrimeInfo })
|
|
6487
6512
|
], OtherPrimeInfos);
|
|
6488
6513
|
|
|
@@ -6500,34 +6525,34 @@ class RSAPrivateKey {
|
|
|
6500
6525
|
Object.assign(this, params);
|
|
6501
6526
|
}
|
|
6502
6527
|
}
|
|
6503
|
-
__decorate([
|
|
6528
|
+
__decorate$1([
|
|
6504
6529
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
6505
6530
|
], RSAPrivateKey.prototype, "version", void 0);
|
|
6506
|
-
__decorate([
|
|
6531
|
+
__decorate$1([
|
|
6507
6532
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6508
6533
|
], RSAPrivateKey.prototype, "modulus", void 0);
|
|
6509
|
-
__decorate([
|
|
6534
|
+
__decorate$1([
|
|
6510
6535
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6511
6536
|
], RSAPrivateKey.prototype, "publicExponent", void 0);
|
|
6512
|
-
__decorate([
|
|
6537
|
+
__decorate$1([
|
|
6513
6538
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6514
6539
|
], RSAPrivateKey.prototype, "privateExponent", void 0);
|
|
6515
|
-
__decorate([
|
|
6540
|
+
__decorate$1([
|
|
6516
6541
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6517
6542
|
], RSAPrivateKey.prototype, "prime1", void 0);
|
|
6518
|
-
__decorate([
|
|
6543
|
+
__decorate$1([
|
|
6519
6544
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6520
6545
|
], RSAPrivateKey.prototype, "prime2", void 0);
|
|
6521
|
-
__decorate([
|
|
6546
|
+
__decorate$1([
|
|
6522
6547
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6523
6548
|
], RSAPrivateKey.prototype, "exponent1", void 0);
|
|
6524
|
-
__decorate([
|
|
6549
|
+
__decorate$1([
|
|
6525
6550
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6526
6551
|
], RSAPrivateKey.prototype, "exponent2", void 0);
|
|
6527
|
-
__decorate([
|
|
6552
|
+
__decorate$1([
|
|
6528
6553
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6529
6554
|
], RSAPrivateKey.prototype, "coefficient", void 0);
|
|
6530
|
-
__decorate([
|
|
6555
|
+
__decorate$1([
|
|
6531
6556
|
AsnProp({ type: OtherPrimeInfos, optional: true })
|
|
6532
6557
|
], RSAPrivateKey.prototype, "otherPrimeInfos", void 0);
|
|
6533
6558
|
|
|
@@ -6538,10 +6563,10 @@ class RSAPublicKey {
|
|
|
6538
6563
|
Object.assign(this, params);
|
|
6539
6564
|
}
|
|
6540
6565
|
}
|
|
6541
|
-
__decorate([
|
|
6566
|
+
__decorate$1([
|
|
6542
6567
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6543
6568
|
], RSAPublicKey.prototype, "modulus", void 0);
|
|
6544
|
-
__decorate([
|
|
6569
|
+
__decorate$1([
|
|
6545
6570
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
6546
6571
|
], RSAPublicKey.prototype, "publicExponent", void 0);
|
|
6547
6572
|
|
|
@@ -6553,7 +6578,7 @@ let CompositeParams = CompositeParams_1 = class CompositeParams extends AsnArray
|
|
|
6553
6578
|
Object.setPrototypeOf(this, CompositeParams_1.prototype);
|
|
6554
6579
|
}
|
|
6555
6580
|
};
|
|
6556
|
-
CompositeParams = CompositeParams_1 = __decorate([
|
|
6581
|
+
CompositeParams = CompositeParams_1 = __decorate$1([
|
|
6557
6582
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: AlgorithmIdentifier })
|
|
6558
6583
|
], CompositeParams);
|
|
6559
6584
|
let CompositeSignatureValue = CompositeSignatureValue_1 = class CompositeSignatureValue extends AsnArray {
|
|
@@ -6562,7 +6587,7 @@ let CompositeSignatureValue = CompositeSignatureValue_1 = class CompositeSignatu
|
|
|
6562
6587
|
Object.setPrototypeOf(this, CompositeSignatureValue_1.prototype);
|
|
6563
6588
|
}
|
|
6564
6589
|
};
|
|
6565
|
-
CompositeSignatureValue = CompositeSignatureValue_1 = __decorate([
|
|
6590
|
+
CompositeSignatureValue = CompositeSignatureValue_1 = __decorate$1([
|
|
6566
6591
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.BitString })
|
|
6567
6592
|
], CompositeSignatureValue);
|
|
6568
6593
|
|
|
@@ -6575,18 +6600,18 @@ class EncryptedPrivateKeyInfo$1 {
|
|
|
6575
6600
|
Object.assign(this, params);
|
|
6576
6601
|
}
|
|
6577
6602
|
}
|
|
6578
|
-
__decorate([
|
|
6603
|
+
__decorate$1([
|
|
6579
6604
|
AsnProp({ type: AlgorithmIdentifier })
|
|
6580
6605
|
], EncryptedPrivateKeyInfo$1.prototype, "encryptionAlgorithm", void 0);
|
|
6581
|
-
__decorate([
|
|
6606
|
+
__decorate$1([
|
|
6582
6607
|
AsnProp({ type: EncryptedData })
|
|
6583
6608
|
], EncryptedPrivateKeyInfo$1.prototype, "encryptedData", void 0);
|
|
6584
6609
|
|
|
6585
6610
|
var Attributes_1$1;
|
|
6586
|
-
var Version$
|
|
6611
|
+
var Version$3;
|
|
6587
6612
|
(function (Version) {
|
|
6588
6613
|
Version[Version["v1"] = 0] = "v1";
|
|
6589
|
-
})(Version$
|
|
6614
|
+
})(Version$3 || (Version$3 = {}));
|
|
6590
6615
|
class PrivateKey extends OctetString {
|
|
6591
6616
|
}
|
|
6592
6617
|
let Attributes$1 = Attributes_1$1 = class Attributes extends AsnArray {
|
|
@@ -6595,69 +6620,69 @@ let Attributes$1 = Attributes_1$1 = class Attributes extends AsnArray {
|
|
|
6595
6620
|
Object.setPrototypeOf(this, Attributes_1$1.prototype);
|
|
6596
6621
|
}
|
|
6597
6622
|
};
|
|
6598
|
-
Attributes$1 = Attributes_1$1 = __decorate([
|
|
6623
|
+
Attributes$1 = Attributes_1$1 = __decorate$1([
|
|
6599
6624
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: Attribute$1 })
|
|
6600
6625
|
], Attributes$1);
|
|
6601
6626
|
class PrivateKeyInfo$1 {
|
|
6602
6627
|
constructor(params = {}) {
|
|
6603
|
-
this.version = Version$
|
|
6628
|
+
this.version = Version$3.v1;
|
|
6604
6629
|
this.privateKeyAlgorithm = new AlgorithmIdentifier();
|
|
6605
6630
|
this.privateKey = new PrivateKey();
|
|
6606
6631
|
Object.assign(this, params);
|
|
6607
6632
|
}
|
|
6608
6633
|
}
|
|
6609
|
-
__decorate([
|
|
6634
|
+
__decorate$1([
|
|
6610
6635
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
6611
6636
|
], PrivateKeyInfo$1.prototype, "version", void 0);
|
|
6612
|
-
__decorate([
|
|
6637
|
+
__decorate$1([
|
|
6613
6638
|
AsnProp({ type: AlgorithmIdentifier })
|
|
6614
6639
|
], PrivateKeyInfo$1.prototype, "privateKeyAlgorithm", void 0);
|
|
6615
|
-
__decorate([
|
|
6640
|
+
__decorate$1([
|
|
6616
6641
|
AsnProp({ type: PrivateKey })
|
|
6617
6642
|
], PrivateKeyInfo$1.prototype, "privateKey", void 0);
|
|
6618
|
-
__decorate([
|
|
6643
|
+
__decorate$1([
|
|
6619
6644
|
AsnProp({ type: Attributes$1, implicit: true, context: 0, optional: true })
|
|
6620
6645
|
], PrivateKeyInfo$1.prototype, "attributes", void 0);
|
|
6621
6646
|
|
|
6622
6647
|
var AsymmetricKeyPackage_1;
|
|
6623
|
-
var Version$
|
|
6648
|
+
var Version$2;
|
|
6624
6649
|
(function (Version) {
|
|
6625
6650
|
Version[Version["v1"] = 0] = "v1";
|
|
6626
6651
|
Version[Version["v2"] = 1] = "v2";
|
|
6627
|
-
})(Version$
|
|
6652
|
+
})(Version$2 || (Version$2 = {}));
|
|
6628
6653
|
let PrivateKeyAlgorithmIdentifier = class PrivateKeyAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
6629
6654
|
};
|
|
6630
|
-
PrivateKeyAlgorithmIdentifier = __decorate([
|
|
6655
|
+
PrivateKeyAlgorithmIdentifier = __decorate$1([
|
|
6631
6656
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
6632
6657
|
], PrivateKeyAlgorithmIdentifier);
|
|
6633
6658
|
let OneAsymmetricKey = class OneAsymmetricKey {
|
|
6634
6659
|
constructor() {
|
|
6635
|
-
this.version = Version$
|
|
6660
|
+
this.version = Version$2.v1;
|
|
6636
6661
|
this.privateKeyAlgorithm = new AlgorithmIdentifier();
|
|
6637
6662
|
this.privateKey = new ArrayBuffer(0);
|
|
6638
6663
|
}
|
|
6639
6664
|
};
|
|
6640
|
-
__decorate([
|
|
6665
|
+
__decorate$1([
|
|
6641
6666
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
6642
6667
|
], OneAsymmetricKey.prototype, "version", void 0);
|
|
6643
|
-
__decorate([
|
|
6668
|
+
__decorate$1([
|
|
6644
6669
|
AsnProp({ type: AlgorithmIdentifier })
|
|
6645
6670
|
], OneAsymmetricKey.prototype, "privateKeyAlgorithm", void 0);
|
|
6646
|
-
__decorate([
|
|
6671
|
+
__decorate$1([
|
|
6647
6672
|
AsnProp({ type: AsnPropTypes.OctetString })
|
|
6648
6673
|
], OneAsymmetricKey.prototype, "privateKey", void 0);
|
|
6649
|
-
__decorate([
|
|
6674
|
+
__decorate$1([
|
|
6650
6675
|
AsnProp({ type: Attributes$1, context: 0, implicit: true, optional: true })
|
|
6651
6676
|
], OneAsymmetricKey.prototype, "attributes", void 0);
|
|
6652
|
-
__decorate([
|
|
6677
|
+
__decorate$1([
|
|
6653
6678
|
AsnProp({ type: AsnPropTypes.BitString, context: 1, implicit: true, optional: true })
|
|
6654
6679
|
], OneAsymmetricKey.prototype, "publicKey", void 0);
|
|
6655
|
-
OneAsymmetricKey = __decorate([
|
|
6680
|
+
OneAsymmetricKey = __decorate$1([
|
|
6656
6681
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
6657
6682
|
], OneAsymmetricKey);
|
|
6658
6683
|
let PrivateKeyInfo = class PrivateKeyInfo extends OneAsymmetricKey {
|
|
6659
6684
|
};
|
|
6660
|
-
PrivateKeyInfo = __decorate([
|
|
6685
|
+
PrivateKeyInfo = __decorate$1([
|
|
6661
6686
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
6662
6687
|
], PrivateKeyInfo);
|
|
6663
6688
|
let AsymmetricKeyPackage = AsymmetricKeyPackage_1 = class AsymmetricKeyPackage extends AsnArray {
|
|
@@ -6666,7 +6691,7 @@ let AsymmetricKeyPackage = AsymmetricKeyPackage_1 = class AsymmetricKeyPackage e
|
|
|
6666
6691
|
Object.setPrototypeOf(this, AsymmetricKeyPackage_1.prototype);
|
|
6667
6692
|
}
|
|
6668
6693
|
};
|
|
6669
|
-
AsymmetricKeyPackage = AsymmetricKeyPackage_1 = __decorate([
|
|
6694
|
+
AsymmetricKeyPackage = AsymmetricKeyPackage_1 = __decorate$1([
|
|
6670
6695
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: OneAsymmetricKey })
|
|
6671
6696
|
], AsymmetricKeyPackage);
|
|
6672
6697
|
|
|
@@ -6674,7 +6699,7 @@ var CompositePublicKey_1, CompositePrivateKey_1;
|
|
|
6674
6699
|
const id_composite_key = "2.16.840.1.114027.80.4.1";
|
|
6675
6700
|
let CompositeAlgorithmIdentifier = class CompositeAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
6676
6701
|
};
|
|
6677
|
-
CompositeAlgorithmIdentifier = __decorate([
|
|
6702
|
+
CompositeAlgorithmIdentifier = __decorate$1([
|
|
6678
6703
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
6679
6704
|
], CompositeAlgorithmIdentifier);
|
|
6680
6705
|
let CompositePublicKey = CompositePublicKey_1 = class CompositePublicKey extends AsnArray {
|
|
@@ -6683,7 +6708,7 @@ let CompositePublicKey = CompositePublicKey_1 = class CompositePublicKey extends
|
|
|
6683
6708
|
Object.setPrototypeOf(this, CompositePublicKey_1.prototype);
|
|
6684
6709
|
}
|
|
6685
6710
|
};
|
|
6686
|
-
CompositePublicKey = CompositePublicKey_1 = __decorate([
|
|
6711
|
+
CompositePublicKey = CompositePublicKey_1 = __decorate$1([
|
|
6687
6712
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: SubjectPublicKeyInfo })
|
|
6688
6713
|
], CompositePublicKey);
|
|
6689
6714
|
let CompositePrivateKey = CompositePrivateKey_1 = class CompositePrivateKey extends AsnArray {
|
|
@@ -6692,7 +6717,7 @@ let CompositePrivateKey = CompositePrivateKey_1 = class CompositePrivateKey exte
|
|
|
6692
6717
|
Object.setPrototypeOf(this, CompositePrivateKey_1.prototype);
|
|
6693
6718
|
}
|
|
6694
6719
|
};
|
|
6695
|
-
CompositePrivateKey = CompositePrivateKey_1 = __decorate([
|
|
6720
|
+
CompositePrivateKey = CompositePrivateKey_1 = __decorate$1([
|
|
6696
6721
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: OneAsymmetricKey })
|
|
6697
6722
|
], CompositePrivateKey);
|
|
6698
6723
|
|
|
@@ -9038,7 +9063,6 @@ const OIDs = {
|
|
|
9038
9063
|
'2.16.840.1.114412.1.11': 'Digi Cert Federated Device Cert',
|
|
9039
9064
|
'2.16.840.1.114412.2.1': 'Digi Cert EV policy',
|
|
9040
9065
|
'2.16.840.1.114412.2.2': 'Digi Cert EV Cert',
|
|
9041
|
-
'2.23.140.1.1': 'EV guidelines certificate policy',
|
|
9042
9066
|
'2.16.840.1.114412.2.3': 'Digi Cert Object Signing Cert',
|
|
9043
9067
|
'2.16.840.1.114412.2.3.1': 'Digi Cert Code Signing Cert',
|
|
9044
9068
|
'2.16.840.1.114412.2.3.2': 'Digi Cert EV Code Signing Cert',
|
|
@@ -9182,14 +9206,12 @@ const OIDs = {
|
|
|
9182
9206
|
'2.54.1775.7': 'Set Qualifier',
|
|
9183
9207
|
'2.54.1775.99': 'Set Data',
|
|
9184
9208
|
'1.3.6.1.4.1.11129.2.4.3': 'CT Pre-Certificate Poison',
|
|
9185
|
-
'2.23.140.1.2.1': 'CA/B Forum Domain Validated',
|
|
9186
|
-
'2.23.140.1.2.2': 'CA/B Forum Organization Validated',
|
|
9187
|
-
'2.23.140.1.5.2.2': 'CA/B Forum Organization Validated Multipurpose',
|
|
9188
9209
|
'1.3.6.1.4.1.44947.1.1.1': 'Let\'s Encrypt',
|
|
9189
9210
|
'1.3.6.1.4.1.4329.7.2.4': 'SSL TLS Certs',
|
|
9190
9211
|
'1.3.6.1.4.1.4329.7': 'Siemens Public Key Infrastructure',
|
|
9191
9212
|
'1.3.6.1.4.1.52266.1': 'Legal Entity Identifier',
|
|
9192
9213
|
'1.3.6.1.4.1.52266.2': 'Role',
|
|
9214
|
+
'1.3.6.1.4.1.11129.2.1.17': 'Android Key Attestation',
|
|
9193
9215
|
// https://ec.europa.eu/futurium/sites/futurium/files/ntqwac_pilot.pdf
|
|
9194
9216
|
'0.4.0.9496.1': 'Domain Name Beneficiary',
|
|
9195
9217
|
'0.4.0.9496.2': 'DNB Legal representative',
|
|
@@ -9210,6 +9232,30 @@ const OIDs = {
|
|
|
9210
9232
|
'1.3.6.1.4.1.18227.999.1.2.1': 'Dilithium3 With SHA256',
|
|
9211
9233
|
'1.3.6.1.4.1.18227.999.1.2.2': 'Dilithium3 With SHA384',
|
|
9212
9234
|
'1.3.6.1.4.1.18227.999.1.2.3': 'Dilithium3 With SHA512',
|
|
9235
|
+
// https://cabforum.org/object-registry/
|
|
9236
|
+
'2.23.140.1.1': 'CA/B Forum Extended Validation',
|
|
9237
|
+
'2.23.140.1.2': 'CA/B Forum Baseline Requirements',
|
|
9238
|
+
'2.23.140.1.2.1': 'CA/B Forum Domain Validated',
|
|
9239
|
+
'2.23.140.1.2.2': 'CA/B Forum Organization Validated',
|
|
9240
|
+
'2.23.140.1.2.3': 'CA/B Forum Individual Validated',
|
|
9241
|
+
'2.23.140.1.3': 'CA/B Forum Extended Validation Codesigning',
|
|
9242
|
+
'2.23.140.1.4.1': 'CA/B Forum Codesigning Requirements Codesigning',
|
|
9243
|
+
'2.23.140.1.5': 'CA/B Forum S/MIME Baseline Requirements',
|
|
9244
|
+
'2.23.140.1.5.1.1': 'CA/B Forum Mailbox Validated Legacy',
|
|
9245
|
+
'2.23.140.1.5.1.2': 'CA/B Forum Mailbox Validated Multipurpose',
|
|
9246
|
+
'2.23.140.1.5.1.3': 'CA/B Forum Mailbox Validated Strict',
|
|
9247
|
+
'2.23.140.1.5.2.1': 'CA/B Forum Organization Validated Legacy',
|
|
9248
|
+
'2.23.140.1.5.2.2': 'CA/B Forum Organization Validated Multipurpose',
|
|
9249
|
+
'2.23.140.1.5.2.3': 'CA/B Forum Organization Validated Strict',
|
|
9250
|
+
'2.23.140.1.5.3.1': 'CA/B Forum Sponsor Validated Legacy',
|
|
9251
|
+
'2.23.140.1.5.3.2': 'CA/B Forum Sponsor Validated Multipurpose',
|
|
9252
|
+
'2.23.140.1.5.3.3': 'CA/B Forum Sponsor Validated Strict',
|
|
9253
|
+
'2.23.140.1.5.4.1': 'CA/B Forum Individual Validated Legacy',
|
|
9254
|
+
'2.23.140.1.5.4.2': 'CA/B Forum Individual Validated Multipurpose',
|
|
9255
|
+
'2.23.140.1.5.4.3': 'CA/B Forum Individual Validated Strict',
|
|
9256
|
+
'2.23.140.1.31': 'CA/B Forum Onion EV',
|
|
9257
|
+
'2.23.140.2.1': 'CA/B Forum Test Certificate',
|
|
9258
|
+
'2.23.140.3.1': 'CA/B Forum Organization Identifier',
|
|
9213
9259
|
};
|
|
9214
9260
|
|
|
9215
9261
|
/**
|
|
@@ -9227,6 +9273,18 @@ function getStringByOID(value) {
|
|
|
9227
9273
|
return value;
|
|
9228
9274
|
}
|
|
9229
9275
|
|
|
9276
|
+
/**
|
|
9277
|
+
* @license
|
|
9278
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
9279
|
+
*
|
|
9280
|
+
* This source code is licensed under the MIT license found in the
|
|
9281
|
+
* LICENSE file in the root directory of this source tree.
|
|
9282
|
+
*/
|
|
9283
|
+
function camelCaseToWords(value) {
|
|
9284
|
+
const result = value.replace(/([A-Z])/g, ' $1');
|
|
9285
|
+
return result.charAt(0).toUpperCase() + result.slice(1);
|
|
9286
|
+
}
|
|
9287
|
+
|
|
9230
9288
|
/**
|
|
9231
9289
|
* @license
|
|
9232
9290
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -9249,7 +9307,7 @@ var _Name_asn;
|
|
|
9249
9307
|
class Name {
|
|
9250
9308
|
constructor(data) {
|
|
9251
9309
|
_Name_asn.set(this, new Name$1());
|
|
9252
|
-
if (
|
|
9310
|
+
if (BufferSourceConverter_1.isBufferSource(data)) {
|
|
9253
9311
|
__classPrivateFieldSet$1(this, _Name_asn, AsnParser.parse(data, Name$1), "f");
|
|
9254
9312
|
}
|
|
9255
9313
|
else {
|
|
@@ -9283,13 +9341,13 @@ let TypeOfBiometricData = class TypeOfBiometricData {
|
|
|
9283
9341
|
Object.assign(this, params);
|
|
9284
9342
|
}
|
|
9285
9343
|
};
|
|
9286
|
-
__decorate([
|
|
9344
|
+
__decorate$1([
|
|
9287
9345
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
9288
9346
|
], TypeOfBiometricData.prototype, "predefinedBiometricType", void 0);
|
|
9289
|
-
__decorate([
|
|
9347
|
+
__decorate$1([
|
|
9290
9348
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
9291
9349
|
], TypeOfBiometricData.prototype, "biometricDataOid", void 0);
|
|
9292
|
-
TypeOfBiometricData = __decorate([
|
|
9350
|
+
TypeOfBiometricData = __decorate$1([
|
|
9293
9351
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9294
9352
|
], TypeOfBiometricData);
|
|
9295
9353
|
class BiometricData {
|
|
@@ -9300,16 +9358,16 @@ class BiometricData {
|
|
|
9300
9358
|
Object.assign(this, params);
|
|
9301
9359
|
}
|
|
9302
9360
|
}
|
|
9303
|
-
__decorate([
|
|
9361
|
+
__decorate$1([
|
|
9304
9362
|
AsnProp({ type: TypeOfBiometricData })
|
|
9305
9363
|
], BiometricData.prototype, "typeOfBiometricData", void 0);
|
|
9306
|
-
__decorate([
|
|
9364
|
+
__decorate$1([
|
|
9307
9365
|
AsnProp({ type: AlgorithmIdentifier })
|
|
9308
9366
|
], BiometricData.prototype, "hashAlgorithm", void 0);
|
|
9309
|
-
__decorate([
|
|
9367
|
+
__decorate$1([
|
|
9310
9368
|
AsnProp({ type: OctetString })
|
|
9311
9369
|
], BiometricData.prototype, "biometricDataHash", void 0);
|
|
9312
|
-
__decorate([
|
|
9370
|
+
__decorate$1([
|
|
9313
9371
|
AsnProp({ type: AsnPropTypes.IA5String, optional: true })
|
|
9314
9372
|
], BiometricData.prototype, "sourceDataUri", void 0);
|
|
9315
9373
|
let BiometricSyntax = BiometricSyntax_1 = class BiometricSyntax extends AsnArray {
|
|
@@ -9318,7 +9376,7 @@ let BiometricSyntax = BiometricSyntax_1 = class BiometricSyntax extends AsnArray
|
|
|
9318
9376
|
Object.setPrototypeOf(this, BiometricSyntax_1.prototype);
|
|
9319
9377
|
}
|
|
9320
9378
|
};
|
|
9321
|
-
BiometricSyntax = BiometricSyntax_1 = __decorate([
|
|
9379
|
+
BiometricSyntax = BiometricSyntax_1 = __decorate$1([
|
|
9322
9380
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: BiometricData })
|
|
9323
9381
|
], BiometricSyntax);
|
|
9324
9382
|
|
|
@@ -9332,10 +9390,10 @@ class QCStatement {
|
|
|
9332
9390
|
this.statementInfo = new ArrayBuffer(0);
|
|
9333
9391
|
}
|
|
9334
9392
|
}
|
|
9335
|
-
__decorate([
|
|
9393
|
+
__decorate$1([
|
|
9336
9394
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
9337
9395
|
], QCStatement.prototype, "statementId", void 0);
|
|
9338
|
-
__decorate([
|
|
9396
|
+
__decorate$1([
|
|
9339
9397
|
AsnProp({ type: AsnPropTypes.Any, optional: true })
|
|
9340
9398
|
], QCStatement.prototype, "statementInfo", void 0);
|
|
9341
9399
|
const id_qcs_pkixQCSyntax_v2 = `${id_qcs}.2`;
|
|
@@ -9345,7 +9403,7 @@ let NameRegistrationAuthorities = NameRegistrationAuthorities_1 = class NameRegi
|
|
|
9345
9403
|
Object.setPrototypeOf(this, NameRegistrationAuthorities_1.prototype);
|
|
9346
9404
|
}
|
|
9347
9405
|
};
|
|
9348
|
-
NameRegistrationAuthorities = NameRegistrationAuthorities_1 = __decorate([
|
|
9406
|
+
NameRegistrationAuthorities = NameRegistrationAuthorities_1 = __decorate$1([
|
|
9349
9407
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: GeneralName })
|
|
9350
9408
|
], NameRegistrationAuthorities);
|
|
9351
9409
|
class SemanticsInformation {
|
|
@@ -9353,10 +9411,10 @@ class SemanticsInformation {
|
|
|
9353
9411
|
Object.assign(this, params);
|
|
9354
9412
|
}
|
|
9355
9413
|
}
|
|
9356
|
-
__decorate([
|
|
9414
|
+
__decorate$1([
|
|
9357
9415
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier, optional: true })
|
|
9358
9416
|
], SemanticsInformation.prototype, "semanticsIdentifier", void 0);
|
|
9359
|
-
__decorate([
|
|
9417
|
+
__decorate$1([
|
|
9360
9418
|
AsnProp({ type: NameRegistrationAuthorities, optional: true })
|
|
9361
9419
|
], SemanticsInformation.prototype, "nameRegistrationAuthorities", void 0);
|
|
9362
9420
|
let QCStatements = QCStatements_1 = class QCStatements extends AsnArray {
|
|
@@ -9365,13 +9423,13 @@ let QCStatements = QCStatements_1 = class QCStatements extends AsnArray {
|
|
|
9365
9423
|
Object.setPrototypeOf(this, QCStatements_1.prototype);
|
|
9366
9424
|
}
|
|
9367
9425
|
};
|
|
9368
|
-
QCStatements = QCStatements_1 = __decorate([
|
|
9426
|
+
QCStatements = QCStatements_1 = __decorate$1([
|
|
9369
9427
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: QCStatement })
|
|
9370
9428
|
], QCStatements);
|
|
9371
9429
|
|
|
9372
9430
|
let PlaceOfBirth$1 = class PlaceOfBirth extends DirectoryString {
|
|
9373
9431
|
};
|
|
9374
|
-
PlaceOfBirth$1 = __decorate([
|
|
9432
|
+
PlaceOfBirth$1 = __decorate$1([
|
|
9375
9433
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9376
9434
|
], PlaceOfBirth$1);
|
|
9377
9435
|
var Gender$1;
|
|
@@ -9389,7 +9447,7 @@ let CertificateApplicationPolicies = CertificateApplicationPolicies_1 = class Ce
|
|
|
9389
9447
|
Object.setPrototypeOf(this, CertificateApplicationPolicies_1.prototype);
|
|
9390
9448
|
}
|
|
9391
9449
|
};
|
|
9392
|
-
CertificateApplicationPolicies = CertificateApplicationPolicies_1 = __decorate([
|
|
9450
|
+
CertificateApplicationPolicies = CertificateApplicationPolicies_1 = __decorate$1([
|
|
9393
9451
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
9394
9452
|
], CertificateApplicationPolicies);
|
|
9395
9453
|
|
|
@@ -9402,13 +9460,13 @@ class CertificateTemplate {
|
|
|
9402
9460
|
Object.assign(this, params);
|
|
9403
9461
|
}
|
|
9404
9462
|
}
|
|
9405
|
-
__decorate([
|
|
9463
|
+
__decorate$1([
|
|
9406
9464
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
9407
9465
|
], CertificateTemplate.prototype, "templateID", void 0);
|
|
9408
|
-
__decorate([
|
|
9466
|
+
__decorate$1([
|
|
9409
9467
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
9410
9468
|
], CertificateTemplate.prototype, "templateMajorVersion", void 0);
|
|
9411
|
-
__decorate([
|
|
9469
|
+
__decorate$1([
|
|
9412
9470
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
9413
9471
|
], CertificateTemplate.prototype, "templateMinorVersion", void 0);
|
|
9414
9472
|
|
|
@@ -9419,7 +9477,7 @@ class EnrollCertType {
|
|
|
9419
9477
|
Object.assign(this, params);
|
|
9420
9478
|
}
|
|
9421
9479
|
}
|
|
9422
|
-
__decorate([
|
|
9480
|
+
__decorate$1([
|
|
9423
9481
|
AsnProp({ type: AsnPropTypes.Utf8String })
|
|
9424
9482
|
], EnrollCertType.prototype, "name", void 0);
|
|
9425
9483
|
let EnrollCertTypeChoice = class EnrollCertTypeChoice {
|
|
@@ -9431,13 +9489,13 @@ let EnrollCertTypeChoice = class EnrollCertTypeChoice {
|
|
|
9431
9489
|
return ((_a = this.name) === null || _a === void 0 ? void 0 : _a.toString()) || ((_b = this.spec) === null || _b === void 0 ? void 0 : _b.name) || "";
|
|
9432
9490
|
}
|
|
9433
9491
|
};
|
|
9434
|
-
__decorate([
|
|
9492
|
+
__decorate$1([
|
|
9435
9493
|
AsnProp({ type: DirectoryString })
|
|
9436
9494
|
], EnrollCertTypeChoice.prototype, "name", void 0);
|
|
9437
|
-
__decorate([
|
|
9495
|
+
__decorate$1([
|
|
9438
9496
|
AsnProp({ type: EnrollCertType })
|
|
9439
9497
|
], EnrollCertTypeChoice.prototype, "spec", void 0);
|
|
9440
|
-
EnrollCertTypeChoice = __decorate([
|
|
9498
|
+
EnrollCertTypeChoice = __decorate$1([
|
|
9441
9499
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9442
9500
|
], EnrollCertTypeChoice);
|
|
9443
9501
|
|
|
@@ -9457,15 +9515,15 @@ let CaVersion = class CaVersion {
|
|
|
9457
9515
|
data.set(new Uint8Array(this.value), 4 - this.value.byteLength);
|
|
9458
9516
|
}
|
|
9459
9517
|
return {
|
|
9460
|
-
keyIndex: parseInt(
|
|
9461
|
-
certificateIndex: parseInt(
|
|
9518
|
+
keyIndex: parseInt(Convert_1.ToHex(data.slice(0, 2)), 16),
|
|
9519
|
+
certificateIndex: parseInt(Convert_1.ToHex(data.slice(2)), 16),
|
|
9462
9520
|
};
|
|
9463
9521
|
}
|
|
9464
9522
|
};
|
|
9465
|
-
__decorate([
|
|
9523
|
+
__decorate$1([
|
|
9466
9524
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
9467
9525
|
], CaVersion.prototype, "value", void 0);
|
|
9468
|
-
CaVersion = __decorate([
|
|
9526
|
+
CaVersion = __decorate$1([
|
|
9469
9527
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9470
9528
|
], CaVersion);
|
|
9471
9529
|
|
|
@@ -9474,37 +9532,37 @@ let AnyString = class AnyString {
|
|
|
9474
9532
|
Object.assign(this, params);
|
|
9475
9533
|
}
|
|
9476
9534
|
};
|
|
9477
|
-
__decorate([
|
|
9535
|
+
__decorate$1([
|
|
9478
9536
|
AsnProp({ type: AsnPropTypes.NumericString })
|
|
9479
9537
|
], AnyString.prototype, "numericString", void 0);
|
|
9480
|
-
__decorate([
|
|
9538
|
+
__decorate$1([
|
|
9481
9539
|
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
9482
9540
|
], AnyString.prototype, "printableString", void 0);
|
|
9483
|
-
__decorate([
|
|
9541
|
+
__decorate$1([
|
|
9484
9542
|
AsnProp({ type: AsnPropTypes.TeletexString })
|
|
9485
9543
|
], AnyString.prototype, "teletexString", void 0);
|
|
9486
|
-
__decorate([
|
|
9544
|
+
__decorate$1([
|
|
9487
9545
|
AsnProp({ type: AsnPropTypes.VideotexString })
|
|
9488
9546
|
], AnyString.prototype, "videotexString", void 0);
|
|
9489
|
-
__decorate([
|
|
9547
|
+
__decorate$1([
|
|
9490
9548
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
9491
9549
|
], AnyString.prototype, "ia5String", void 0);
|
|
9492
|
-
__decorate([
|
|
9550
|
+
__decorate$1([
|
|
9493
9551
|
AsnProp({ type: AsnPropTypes.GraphicString })
|
|
9494
9552
|
], AnyString.prototype, "graphicString", void 0);
|
|
9495
|
-
__decorate([
|
|
9553
|
+
__decorate$1([
|
|
9496
9554
|
AsnProp({ type: AsnPropTypes.VisibleString })
|
|
9497
9555
|
], AnyString.prototype, "visibleString", void 0);
|
|
9498
|
-
__decorate([
|
|
9556
|
+
__decorate$1([
|
|
9499
9557
|
AsnProp({ type: AsnPropTypes.GeneralString })
|
|
9500
9558
|
], AnyString.prototype, "generalString", void 0);
|
|
9501
|
-
__decorate([
|
|
9559
|
+
__decorate$1([
|
|
9502
9560
|
AsnProp({ type: AsnPropTypes.UniversalString })
|
|
9503
9561
|
], AnyString.prototype, "universalString", void 0);
|
|
9504
|
-
__decorate([
|
|
9562
|
+
__decorate$1([
|
|
9505
9563
|
AsnProp({ type: AsnPropTypes.BmpString })
|
|
9506
9564
|
], AnyString.prototype, "bmpString", void 0);
|
|
9507
|
-
AnyString = __decorate([
|
|
9565
|
+
AnyString = __decorate$1([
|
|
9508
9566
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9509
9567
|
], AnyString);
|
|
9510
9568
|
|
|
@@ -9513,10 +9571,10 @@ let ArchivedKey = class ArchivedKey {
|
|
|
9513
9571
|
this.value = value;
|
|
9514
9572
|
}
|
|
9515
9573
|
};
|
|
9516
|
-
__decorate([
|
|
9574
|
+
__decorate$1([
|
|
9517
9575
|
AsnProp({ type: AsnPropTypes.Any })
|
|
9518
9576
|
], ArchivedKey.prototype, "value", void 0);
|
|
9519
|
-
ArchivedKey = __decorate([
|
|
9577
|
+
ArchivedKey = __decorate$1([
|
|
9520
9578
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9521
9579
|
], ArchivedKey);
|
|
9522
9580
|
|
|
@@ -9527,7 +9585,7 @@ let CertExtensions = CertExtensions_1 = class CertExtensions extends Extensions$
|
|
|
9527
9585
|
Object.setPrototypeOf(this, CertExtensions_1.prototype);
|
|
9528
9586
|
}
|
|
9529
9587
|
};
|
|
9530
|
-
CertExtensions = CertExtensions_1 = __decorate([
|
|
9588
|
+
CertExtensions = CertExtensions_1 = __decorate$1([
|
|
9531
9589
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
9532
9590
|
], CertExtensions);
|
|
9533
9591
|
|
|
@@ -9539,13 +9597,13 @@ class CSPProvider {
|
|
|
9539
9597
|
Object.assign(this, params);
|
|
9540
9598
|
}
|
|
9541
9599
|
}
|
|
9542
|
-
__decorate([
|
|
9600
|
+
__decorate$1([
|
|
9543
9601
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
9544
9602
|
], CSPProvider.prototype, "keySpec", void 0);
|
|
9545
|
-
__decorate([
|
|
9603
|
+
__decorate$1([
|
|
9546
9604
|
AsnProp({ type: AsnPropTypes.BmpString })
|
|
9547
9605
|
], CSPProvider.prototype, "cspName", void 0);
|
|
9548
|
-
__decorate([
|
|
9606
|
+
__decorate$1([
|
|
9549
9607
|
AsnProp({ type: AsnPropTypes.BitString })
|
|
9550
9608
|
], CSPProvider.prototype, "signature", void 0);
|
|
9551
9609
|
|
|
@@ -9556,7 +9614,7 @@ let AttestationIdentityKeyInfo = AttestationIdentityKeyInfo_1 = class Attestatio
|
|
|
9556
9614
|
Object.setPrototypeOf(this, AttestationIdentityKeyInfo_1.prototype);
|
|
9557
9615
|
}
|
|
9558
9616
|
};
|
|
9559
|
-
AttestationIdentityKeyInfo = AttestationIdentityKeyInfo_1 = __decorate([
|
|
9617
|
+
AttestationIdentityKeyInfo = AttestationIdentityKeyInfo_1 = __decorate$1([
|
|
9560
9618
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.Any })
|
|
9561
9619
|
], AttestationIdentityKeyInfo);
|
|
9562
9620
|
|
|
@@ -9567,7 +9625,7 @@ let EndorsementKeyInfo = EndorsementKeyInfo_1 = class EndorsementKeyInfo extends
|
|
|
9567
9625
|
Object.setPrototypeOf(this, EndorsementKeyInfo_1.prototype);
|
|
9568
9626
|
}
|
|
9569
9627
|
};
|
|
9570
|
-
EndorsementKeyInfo = EndorsementKeyInfo_1 = __decorate([
|
|
9628
|
+
EndorsementKeyInfo = EndorsementKeyInfo_1 = __decorate$1([
|
|
9571
9629
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.Any })
|
|
9572
9630
|
], EndorsementKeyInfo);
|
|
9573
9631
|
|
|
@@ -9579,10 +9637,10 @@ class EnrollmentNameValuePair {
|
|
|
9579
9637
|
Object.assign(this, params);
|
|
9580
9638
|
}
|
|
9581
9639
|
}
|
|
9582
|
-
__decorate([
|
|
9640
|
+
__decorate$1([
|
|
9583
9641
|
AsnProp({ type: AsnPropTypes.BmpString })
|
|
9584
9642
|
], EnrollmentNameValuePair.prototype, "name", void 0);
|
|
9585
|
-
__decorate([
|
|
9643
|
+
__decorate$1([
|
|
9586
9644
|
AsnProp({ type: AsnPropTypes.BmpString })
|
|
9587
9645
|
], EnrollmentNameValuePair.prototype, "value", void 0);
|
|
9588
9646
|
let EnrollmentNameValuePairs = EnrollmentNameValuePairs_1 = class EnrollmentNameValuePairs extends AsnArray {
|
|
@@ -9591,25 +9649,25 @@ let EnrollmentNameValuePairs = EnrollmentNameValuePairs_1 = class EnrollmentName
|
|
|
9591
9649
|
Object.setPrototypeOf(this, EnrollmentNameValuePairs_1.prototype);
|
|
9592
9650
|
}
|
|
9593
9651
|
};
|
|
9594
|
-
EnrollmentNameValuePairs = EnrollmentNameValuePairs_1 = __decorate([
|
|
9652
|
+
EnrollmentNameValuePairs = EnrollmentNameValuePairs_1 = __decorate$1([
|
|
9595
9653
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: EnrollmentNameValuePair })
|
|
9596
9654
|
], EnrollmentNameValuePairs);
|
|
9597
9655
|
|
|
9598
9656
|
let NTPrincipalName = class NTPrincipalName extends OtherName {
|
|
9599
9657
|
};
|
|
9600
|
-
NTPrincipalName = __decorate([
|
|
9658
|
+
NTPrincipalName = __decorate$1([
|
|
9601
9659
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
9602
9660
|
], NTPrincipalName);
|
|
9603
9661
|
|
|
9604
9662
|
let NTDSReplication = class NTDSReplication extends OtherName {
|
|
9605
9663
|
};
|
|
9606
|
-
NTDSReplication = __decorate([
|
|
9664
|
+
NTDSReplication = __decorate$1([
|
|
9607
9665
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
9608
9666
|
], NTDSReplication);
|
|
9609
9667
|
|
|
9610
9668
|
let RenewalCertificate = class RenewalCertificate extends Certificate {
|
|
9611
9669
|
};
|
|
9612
|
-
RenewalCertificate = __decorate([
|
|
9670
|
+
RenewalCertificate = __decorate$1([
|
|
9613
9671
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
9614
9672
|
], RenewalCertificate);
|
|
9615
9673
|
|
|
@@ -9622,16 +9680,16 @@ class RequestClientInfo {
|
|
|
9622
9680
|
Object.assign(this, params);
|
|
9623
9681
|
}
|
|
9624
9682
|
}
|
|
9625
|
-
__decorate([
|
|
9683
|
+
__decorate$1([
|
|
9626
9684
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
9627
9685
|
], RequestClientInfo.prototype, "clientId", void 0);
|
|
9628
|
-
__decorate([
|
|
9686
|
+
__decorate$1([
|
|
9629
9687
|
AsnProp({ type: AsnPropTypes.Utf8String })
|
|
9630
9688
|
], RequestClientInfo.prototype, "machineName", void 0);
|
|
9631
|
-
__decorate([
|
|
9689
|
+
__decorate$1([
|
|
9632
9690
|
AsnProp({ type: AsnPropTypes.Utf8String })
|
|
9633
9691
|
], RequestClientInfo.prototype, "userName", void 0);
|
|
9634
|
-
__decorate([
|
|
9692
|
+
__decorate$1([
|
|
9635
9693
|
AsnProp({ type: AsnPropTypes.Utf8String })
|
|
9636
9694
|
], RequestClientInfo.prototype, "processName", void 0);
|
|
9637
9695
|
|
|
@@ -9646,10 +9704,10 @@ let NetscapeBaseUrl = class NetscapeBaseUrl {
|
|
|
9646
9704
|
}
|
|
9647
9705
|
}
|
|
9648
9706
|
};
|
|
9649
|
-
__decorate([
|
|
9707
|
+
__decorate$1([
|
|
9650
9708
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
9651
9709
|
], NetscapeBaseUrl.prototype, "value", void 0);
|
|
9652
|
-
NetscapeBaseUrl = __decorate([
|
|
9710
|
+
NetscapeBaseUrl = __decorate$1([
|
|
9653
9711
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9654
9712
|
], NetscapeBaseUrl);
|
|
9655
9713
|
|
|
@@ -9661,10 +9719,10 @@ let NetscapeCaPolicyUrl = class NetscapeCaPolicyUrl {
|
|
|
9661
9719
|
}
|
|
9662
9720
|
}
|
|
9663
9721
|
};
|
|
9664
|
-
__decorate([
|
|
9722
|
+
__decorate$1([
|
|
9665
9723
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
9666
9724
|
], NetscapeCaPolicyUrl.prototype, "value", void 0);
|
|
9667
|
-
NetscapeCaPolicyUrl = __decorate([
|
|
9725
|
+
NetscapeCaPolicyUrl = __decorate$1([
|
|
9668
9726
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9669
9727
|
], NetscapeCaPolicyUrl);
|
|
9670
9728
|
|
|
@@ -9676,10 +9734,10 @@ let NetscapeCaRevocationUrl = class NetscapeCaRevocationUrl {
|
|
|
9676
9734
|
}
|
|
9677
9735
|
}
|
|
9678
9736
|
};
|
|
9679
|
-
__decorate([
|
|
9737
|
+
__decorate$1([
|
|
9680
9738
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
9681
9739
|
], NetscapeCaRevocationUrl.prototype, "value", void 0);
|
|
9682
|
-
NetscapeCaRevocationUrl = __decorate([
|
|
9740
|
+
NetscapeCaRevocationUrl = __decorate$1([
|
|
9683
9741
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9684
9742
|
], NetscapeCaRevocationUrl);
|
|
9685
9743
|
|
|
@@ -9691,10 +9749,10 @@ let NetscapeCertRenewUrl = class NetscapeCertRenewUrl {
|
|
|
9691
9749
|
}
|
|
9692
9750
|
}
|
|
9693
9751
|
};
|
|
9694
|
-
__decorate([
|
|
9752
|
+
__decorate$1([
|
|
9695
9753
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
9696
9754
|
], NetscapeCertRenewUrl.prototype, "value", void 0);
|
|
9697
|
-
NetscapeCertRenewUrl = __decorate([
|
|
9755
|
+
NetscapeCertRenewUrl = __decorate$1([
|
|
9698
9756
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9699
9757
|
], NetscapeCertRenewUrl);
|
|
9700
9758
|
|
|
@@ -9750,10 +9808,10 @@ let NetscapeComment = class NetscapeComment {
|
|
|
9750
9808
|
}
|
|
9751
9809
|
}
|
|
9752
9810
|
};
|
|
9753
|
-
__decorate([
|
|
9811
|
+
__decorate$1([
|
|
9754
9812
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
9755
9813
|
], NetscapeComment.prototype, "value", void 0);
|
|
9756
|
-
NetscapeComment = __decorate([
|
|
9814
|
+
NetscapeComment = __decorate$1([
|
|
9757
9815
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9758
9816
|
], NetscapeComment);
|
|
9759
9817
|
|
|
@@ -9765,10 +9823,10 @@ let NetscapeRevocationUrl = class NetscapeRevocationUrl {
|
|
|
9765
9823
|
}
|
|
9766
9824
|
}
|
|
9767
9825
|
};
|
|
9768
|
-
__decorate([
|
|
9826
|
+
__decorate$1([
|
|
9769
9827
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
9770
9828
|
], NetscapeRevocationUrl.prototype, "value", void 0);
|
|
9771
|
-
NetscapeRevocationUrl = __decorate([
|
|
9829
|
+
NetscapeRevocationUrl = __decorate$1([
|
|
9772
9830
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9773
9831
|
], NetscapeRevocationUrl);
|
|
9774
9832
|
|
|
@@ -9780,10 +9838,10 @@ let NetscapeSSLServerName = class NetscapeSSLServerName {
|
|
|
9780
9838
|
}
|
|
9781
9839
|
}
|
|
9782
9840
|
};
|
|
9783
|
-
__decorate([
|
|
9841
|
+
__decorate$1([
|
|
9784
9842
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
9785
9843
|
], NetscapeSSLServerName.prototype, "value", void 0);
|
|
9786
|
-
NetscapeSSLServerName = __decorate([
|
|
9844
|
+
NetscapeSSLServerName = __decorate$1([
|
|
9787
9845
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9788
9846
|
], NetscapeSSLServerName);
|
|
9789
9847
|
|
|
@@ -9794,21 +9852,16 @@ let Lei = class Lei {
|
|
|
9794
9852
|
Object.assign(this, params);
|
|
9795
9853
|
}
|
|
9796
9854
|
};
|
|
9797
|
-
__decorate([
|
|
9855
|
+
__decorate$1([
|
|
9798
9856
|
AsnProp({ type: PrintableString })
|
|
9799
9857
|
], Lei.prototype, "leiCode", void 0);
|
|
9800
|
-
__decorate([
|
|
9858
|
+
__decorate$1([
|
|
9801
9859
|
AsnProp({ type: PrintableString, context: 0, optional: true })
|
|
9802
9860
|
], Lei.prototype, "leiRole", void 0);
|
|
9803
|
-
Lei = __decorate([
|
|
9861
|
+
Lei = __decorate$1([
|
|
9804
9862
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
9805
9863
|
], Lei);
|
|
9806
9864
|
let BaseLeiChoice = class BaseLeiChoice {
|
|
9807
|
-
constructor(value) {
|
|
9808
|
-
if (value) {
|
|
9809
|
-
this.text = value;
|
|
9810
|
-
}
|
|
9811
|
-
}
|
|
9812
9865
|
get text() {
|
|
9813
9866
|
if (this.bmpString !== undefined) {
|
|
9814
9867
|
return this.bmpString;
|
|
@@ -9830,23 +9883,28 @@ let BaseLeiChoice = class BaseLeiChoice {
|
|
|
9830
9883
|
set text(value) {
|
|
9831
9884
|
this.printableString = value;
|
|
9832
9885
|
}
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
|
|
9886
|
+
constructor(value) {
|
|
9887
|
+
if (value) {
|
|
9888
|
+
this.text = value;
|
|
9889
|
+
}
|
|
9890
|
+
}
|
|
9891
|
+
};
|
|
9892
|
+
__decorate$1([
|
|
9893
|
+
AsnProp({ type: AsnPropTypes.IA5String })
|
|
9836
9894
|
], BaseLeiChoice.prototype, "ia5String", void 0);
|
|
9837
|
-
__decorate([
|
|
9895
|
+
__decorate$1([
|
|
9838
9896
|
AsnProp({ type: AsnPropTypes.VisibleString })
|
|
9839
9897
|
], BaseLeiChoice.prototype, "visibleString", void 0);
|
|
9840
|
-
__decorate([
|
|
9898
|
+
__decorate$1([
|
|
9841
9899
|
AsnProp({ type: AsnPropTypes.BmpString })
|
|
9842
9900
|
], BaseLeiChoice.prototype, "bmpString", void 0);
|
|
9843
|
-
__decorate([
|
|
9901
|
+
__decorate$1([
|
|
9844
9902
|
AsnProp({ type: AsnPropTypes.Utf8String })
|
|
9845
9903
|
], BaseLeiChoice.prototype, "utf8String", void 0);
|
|
9846
|
-
__decorate([
|
|
9904
|
+
__decorate$1([
|
|
9847
9905
|
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
9848
9906
|
], BaseLeiChoice.prototype, "printableString", void 0);
|
|
9849
|
-
BaseLeiChoice = __decorate([
|
|
9907
|
+
BaseLeiChoice = __decorate$1([
|
|
9850
9908
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9851
9909
|
], BaseLeiChoice);
|
|
9852
9910
|
let LeiChoice = class LeiChoice extends BaseLeiChoice {
|
|
@@ -9860,27 +9918,27 @@ let LeiChoice = class LeiChoice extends BaseLeiChoice {
|
|
|
9860
9918
|
}
|
|
9861
9919
|
}
|
|
9862
9920
|
};
|
|
9863
|
-
__decorate([
|
|
9921
|
+
__decorate$1([
|
|
9864
9922
|
AsnProp({ type: Lei })
|
|
9865
9923
|
], LeiChoice.prototype, "struct", void 0);
|
|
9866
|
-
LeiChoice = __decorate([
|
|
9924
|
+
LeiChoice = __decorate$1([
|
|
9867
9925
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9868
9926
|
], LeiChoice);
|
|
9869
9927
|
const id_role = "1.3.6.1.4.1.52266.2";
|
|
9870
9928
|
let LeiRole = class LeiRole extends BaseLeiChoice {
|
|
9871
9929
|
};
|
|
9872
|
-
LeiRole = __decorate([
|
|
9930
|
+
LeiRole = __decorate$1([
|
|
9873
9931
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
9874
9932
|
], LeiRole);
|
|
9875
9933
|
|
|
9876
9934
|
class ByteStream {
|
|
9877
|
-
constructor(bytes) {
|
|
9878
|
-
this.offset = 0;
|
|
9879
|
-
this.view = build.BufferSourceConverter.toUint8Array(bytes);
|
|
9880
|
-
}
|
|
9881
9935
|
get position() {
|
|
9882
9936
|
return this.offset;
|
|
9883
9937
|
}
|
|
9938
|
+
constructor(bytes) {
|
|
9939
|
+
this.offset = 0;
|
|
9940
|
+
this.view = BufferSourceConverter_1.toUint8Array(bytes);
|
|
9941
|
+
}
|
|
9884
9942
|
read(size = 1) {
|
|
9885
9943
|
const res = this.view.slice(this.offset, this.offset + size);
|
|
9886
9944
|
this.offset = this.offset + res.length;
|
|
@@ -9895,7 +9953,7 @@ class ByteStream {
|
|
|
9895
9953
|
}
|
|
9896
9954
|
readNumber(size) {
|
|
9897
9955
|
const bytes = this.read(size);
|
|
9898
|
-
const hex =
|
|
9956
|
+
const hex = Convert_1.ToHex(bytes);
|
|
9899
9957
|
return parseInt(hex, 16);
|
|
9900
9958
|
}
|
|
9901
9959
|
readEnd() {
|
|
@@ -9908,7 +9966,7 @@ class ByteStream {
|
|
|
9908
9966
|
|
|
9909
9967
|
class Structure {
|
|
9910
9968
|
static createStream(bytes) {
|
|
9911
|
-
const view =
|
|
9969
|
+
const view = BufferSourceConverter_1.toUint8Array(bytes);
|
|
9912
9970
|
return new ByteStream(view);
|
|
9913
9971
|
}
|
|
9914
9972
|
}
|
|
@@ -9952,7 +10010,7 @@ class SignedCertificateTimestamp extends Structure {
|
|
|
9952
10010
|
parse(stream) {
|
|
9953
10011
|
this.version = stream.readByte();
|
|
9954
10012
|
stream.read(2);
|
|
9955
|
-
this.logId =
|
|
10013
|
+
this.logId = BufferSourceConverter_1.toArrayBuffer(stream.read(32));
|
|
9956
10014
|
this.timestamp = new Date(stream.readNumber(8));
|
|
9957
10015
|
const extLen = stream.readNumber(2);
|
|
9958
10016
|
this.extensions = stream.read(extLen).buffer;
|
|
@@ -9963,12 +10021,12 @@ class SignedCertificateTimestamp extends Structure {
|
|
|
9963
10021
|
toJSON() {
|
|
9964
10022
|
return {
|
|
9965
10023
|
version: this.version,
|
|
9966
|
-
logId:
|
|
10024
|
+
logId: Convert_1.ToHex(this.logId),
|
|
9967
10025
|
timestamp: this.timestamp,
|
|
9968
|
-
extensions:
|
|
10026
|
+
extensions: Convert_1.ToBase64(this.extensions),
|
|
9969
10027
|
hashAlgorithm: HashAlgorithm[this.hashAlgorithm] || "undefined",
|
|
9970
10028
|
signatureAlgorithm: SignatureAlgorithm[this.signatureAlgorithm] || "undefined",
|
|
9971
|
-
signature:
|
|
10029
|
+
signature: Convert_1.ToBase64(this.signature),
|
|
9972
10030
|
};
|
|
9973
10031
|
}
|
|
9974
10032
|
}
|
|
@@ -9994,38 +10052,38 @@ class CertificateTransparency extends OctetString {
|
|
|
9994
10052
|
}
|
|
9995
10053
|
}
|
|
9996
10054
|
|
|
9997
|
-
var Version;
|
|
10055
|
+
var Version$1;
|
|
9998
10056
|
(function (Version) {
|
|
9999
10057
|
Version[Version["v1"] = 1] = "v1";
|
|
10000
|
-
})(Version || (Version = {}));
|
|
10058
|
+
})(Version$1 || (Version$1 = {}));
|
|
10001
10059
|
|
|
10002
10060
|
const id_adbe_archiveRevInfo = "1.2.840.113583.1.1.9.2";
|
|
10003
10061
|
class ArchiveRevInfo {
|
|
10004
10062
|
constructor(params = {}) {
|
|
10005
|
-
this.version = Version.v1;
|
|
10063
|
+
this.version = Version$1.v1;
|
|
10006
10064
|
Object.assign(this, params);
|
|
10007
10065
|
}
|
|
10008
10066
|
}
|
|
10009
|
-
__decorate([
|
|
10067
|
+
__decorate$1([
|
|
10010
10068
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
10011
10069
|
], ArchiveRevInfo.prototype, "version", void 0);
|
|
10012
10070
|
|
|
10013
10071
|
const id_adbe_timestamp = "1.2.840.113583.1.1.9.1";
|
|
10014
10072
|
class Timestamp {
|
|
10015
10073
|
constructor(params = {}) {
|
|
10016
|
-
this.version = Version.v1;
|
|
10074
|
+
this.version = Version$1.v1;
|
|
10017
10075
|
this.location = new GeneralName();
|
|
10018
10076
|
this.requiresAuth = false;
|
|
10019
10077
|
Object.assign(this, params);
|
|
10020
10078
|
}
|
|
10021
10079
|
}
|
|
10022
|
-
__decorate([
|
|
10080
|
+
__decorate$1([
|
|
10023
10081
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
10024
10082
|
], Timestamp.prototype, "version", void 0);
|
|
10025
|
-
__decorate([
|
|
10083
|
+
__decorate$1([
|
|
10026
10084
|
AsnProp({ type: GeneralName })
|
|
10027
10085
|
], Timestamp.prototype, "location", void 0);
|
|
10028
|
-
__decorate([
|
|
10086
|
+
__decorate$1([
|
|
10029
10087
|
AsnProp({ type: AsnPropTypes.Boolean, defaultValue: false, optional: true })
|
|
10030
10088
|
], Timestamp.prototype, "requiresAuth", void 0);
|
|
10031
10089
|
|
|
@@ -10036,10 +10094,10 @@ class HashAlgAndValue {
|
|
|
10036
10094
|
Object.assign(this, params);
|
|
10037
10095
|
}
|
|
10038
10096
|
}
|
|
10039
|
-
__decorate([
|
|
10097
|
+
__decorate$1([
|
|
10040
10098
|
AsnProp({ type: AlgorithmIdentifier })
|
|
10041
10099
|
], HashAlgAndValue.prototype, "hashAlg", void 0);
|
|
10042
|
-
__decorate([
|
|
10100
|
+
__decorate$1([
|
|
10043
10101
|
AsnProp({ type: OctetString })
|
|
10044
10102
|
], HashAlgAndValue.prototype, "hashValue", void 0);
|
|
10045
10103
|
|
|
@@ -10051,13 +10109,13 @@ class LogotypeDetails {
|
|
|
10051
10109
|
Object.assign(this, params);
|
|
10052
10110
|
}
|
|
10053
10111
|
}
|
|
10054
|
-
__decorate([
|
|
10112
|
+
__decorate$1([
|
|
10055
10113
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
10056
10114
|
], LogotypeDetails.prototype, "mediaType", void 0);
|
|
10057
|
-
__decorate([
|
|
10115
|
+
__decorate$1([
|
|
10058
10116
|
AsnProp({ type: HashAlgAndValue, repeated: "sequence" })
|
|
10059
10117
|
], LogotypeDetails.prototype, "logotypeHash", void 0);
|
|
10060
|
-
__decorate([
|
|
10118
|
+
__decorate$1([
|
|
10061
10119
|
AsnProp({ type: AsnPropTypes.IA5String, repeated: "sequence" })
|
|
10062
10120
|
], LogotypeDetails.prototype, "logotypeURI", void 0);
|
|
10063
10121
|
|
|
@@ -10075,19 +10133,19 @@ class LogotypeAudioInfo {
|
|
|
10075
10133
|
Object.assign(this, params);
|
|
10076
10134
|
}
|
|
10077
10135
|
}
|
|
10078
|
-
__decorate([
|
|
10136
|
+
__decorate$1([
|
|
10079
10137
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
10080
10138
|
], LogotypeAudioInfo.prototype, "fileSize", void 0);
|
|
10081
|
-
__decorate([
|
|
10139
|
+
__decorate$1([
|
|
10082
10140
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
10083
10141
|
], LogotypeAudioInfo.prototype, "playTime", void 0);
|
|
10084
|
-
__decorate([
|
|
10142
|
+
__decorate$1([
|
|
10085
10143
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
10086
10144
|
], LogotypeAudioInfo.prototype, "channels", void 0);
|
|
10087
|
-
__decorate([
|
|
10145
|
+
__decorate$1([
|
|
10088
10146
|
AsnProp({ type: AsnPropTypes.Integer, implicit: true, context: 3, optional: true })
|
|
10089
10147
|
], LogotypeAudioInfo.prototype, "sampleRate", void 0);
|
|
10090
|
-
__decorate([
|
|
10148
|
+
__decorate$1([
|
|
10091
10149
|
AsnProp({ type: AsnPropTypes.IA5String, implicit: true, context: 4, optional: true })
|
|
10092
10150
|
], LogotypeAudioInfo.prototype, "language", void 0);
|
|
10093
10151
|
|
|
@@ -10097,10 +10155,10 @@ class LogotypeAudio {
|
|
|
10097
10155
|
Object.assign(this, params);
|
|
10098
10156
|
}
|
|
10099
10157
|
}
|
|
10100
|
-
__decorate([
|
|
10158
|
+
__decorate$1([
|
|
10101
10159
|
AsnProp({ type: LogotypeDetails })
|
|
10102
10160
|
], LogotypeAudio.prototype, "audioDetails", void 0);
|
|
10103
|
-
__decorate([
|
|
10161
|
+
__decorate$1([
|
|
10104
10162
|
AsnProp({ type: LogotypeAudioInfo, optional: true })
|
|
10105
10163
|
], LogotypeAudio.prototype, "audioInfo", void 0);
|
|
10106
10164
|
|
|
@@ -10109,13 +10167,13 @@ let LogotypeImageResolution = class LogotypeImageResolution {
|
|
|
10109
10167
|
Object.assign(this, params);
|
|
10110
10168
|
}
|
|
10111
10169
|
};
|
|
10112
|
-
__decorate([
|
|
10170
|
+
__decorate$1([
|
|
10113
10171
|
AsnProp({ type: AsnPropTypes.Integer, context: 1, implicit: true })
|
|
10114
10172
|
], LogotypeImageResolution.prototype, "numBits", void 0);
|
|
10115
|
-
__decorate([
|
|
10173
|
+
__decorate$1([
|
|
10116
10174
|
AsnProp({ type: AsnPropTypes.Integer, context: 2, implicit: true })
|
|
10117
10175
|
], LogotypeImageResolution.prototype, "tableSize", void 0);
|
|
10118
|
-
LogotypeImageResolution = __decorate([
|
|
10176
|
+
LogotypeImageResolution = __decorate$1([
|
|
10119
10177
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
10120
10178
|
], LogotypeImageResolution);
|
|
10121
10179
|
|
|
@@ -10133,22 +10191,22 @@ class LogotypeImageInfo {
|
|
|
10133
10191
|
Object.assign(this, params);
|
|
10134
10192
|
}
|
|
10135
10193
|
}
|
|
10136
|
-
__decorate([
|
|
10194
|
+
__decorate$1([
|
|
10137
10195
|
AsnProp({ type: AsnPropTypes.Integer, context: 0, implicit: true, defaultValue: LogotypeImageType.color })
|
|
10138
10196
|
], LogotypeImageInfo.prototype, "type", void 0);
|
|
10139
|
-
__decorate([
|
|
10197
|
+
__decorate$1([
|
|
10140
10198
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
10141
10199
|
], LogotypeImageInfo.prototype, "fileSize", void 0);
|
|
10142
|
-
__decorate([
|
|
10200
|
+
__decorate$1([
|
|
10143
10201
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
10144
10202
|
], LogotypeImageInfo.prototype, "xSize", void 0);
|
|
10145
|
-
__decorate([
|
|
10203
|
+
__decorate$1([
|
|
10146
10204
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
10147
10205
|
], LogotypeImageInfo.prototype, "ySize", void 0);
|
|
10148
|
-
__decorate([
|
|
10206
|
+
__decorate$1([
|
|
10149
10207
|
AsnProp({ type: LogotypeImageResolution })
|
|
10150
10208
|
], LogotypeImageInfo.prototype, "resolution", void 0);
|
|
10151
|
-
__decorate([
|
|
10209
|
+
__decorate$1([
|
|
10152
10210
|
AsnProp({ type: AsnPropTypes.IA5String, context: 4, implicit: true, optional: true })
|
|
10153
10211
|
], LogotypeImageInfo.prototype, "language", void 0);
|
|
10154
10212
|
|
|
@@ -10158,10 +10216,10 @@ class LogotypeImage {
|
|
|
10158
10216
|
Object.assign(this, params);
|
|
10159
10217
|
}
|
|
10160
10218
|
}
|
|
10161
|
-
__decorate([
|
|
10219
|
+
__decorate$1([
|
|
10162
10220
|
AsnProp({ type: LogotypeDetails })
|
|
10163
10221
|
], LogotypeImage.prototype, "imageDetails", void 0);
|
|
10164
|
-
__decorate([
|
|
10222
|
+
__decorate$1([
|
|
10165
10223
|
AsnProp({ type: LogotypeImageInfo, optional: true })
|
|
10166
10224
|
], LogotypeImage.prototype, "imageInfo", void 0);
|
|
10167
10225
|
|
|
@@ -10170,10 +10228,10 @@ class LogotypeData {
|
|
|
10170
10228
|
Object.assign(this, params);
|
|
10171
10229
|
}
|
|
10172
10230
|
}
|
|
10173
|
-
__decorate([
|
|
10231
|
+
__decorate$1([
|
|
10174
10232
|
AsnProp({ type: LogotypeImage, repeated: "sequence", optional: true })
|
|
10175
10233
|
], LogotypeData.prototype, "image", void 0);
|
|
10176
|
-
__decorate([
|
|
10234
|
+
__decorate$1([
|
|
10177
10235
|
AsnProp({ type: LogotypeAudio, repeated: "sequence", context: 1, optional: true })
|
|
10178
10236
|
], LogotypeData.prototype, "audio", void 0);
|
|
10179
10237
|
|
|
@@ -10184,10 +10242,10 @@ class LogotypeReference {
|
|
|
10184
10242
|
Object.assign(this, params);
|
|
10185
10243
|
}
|
|
10186
10244
|
}
|
|
10187
|
-
__decorate([
|
|
10245
|
+
__decorate$1([
|
|
10188
10246
|
AsnProp({ type: HashAlgAndValue, repeated: "sequence" })
|
|
10189
10247
|
], LogotypeReference.prototype, "refStructHash", void 0);
|
|
10190
|
-
__decorate([
|
|
10248
|
+
__decorate$1([
|
|
10191
10249
|
AsnProp({ type: AsnPropTypes.IA5String, repeated: "sequence" })
|
|
10192
10250
|
], LogotypeReference.prototype, "refStructURI", void 0);
|
|
10193
10251
|
|
|
@@ -10196,13 +10254,13 @@ let LogotypeInfo = class LogotypeInfo {
|
|
|
10196
10254
|
Object.assign(this, params);
|
|
10197
10255
|
}
|
|
10198
10256
|
};
|
|
10199
|
-
__decorate([
|
|
10257
|
+
__decorate$1([
|
|
10200
10258
|
AsnProp({ type: LogotypeData, implicit: true, context: 0 })
|
|
10201
10259
|
], LogotypeInfo.prototype, "direct", void 0);
|
|
10202
|
-
__decorate([
|
|
10260
|
+
__decorate$1([
|
|
10203
10261
|
AsnProp({ type: LogotypeReference, implicit: true, context: 1 })
|
|
10204
10262
|
], LogotypeInfo.prototype, "indirect", void 0);
|
|
10205
|
-
LogotypeInfo = __decorate([
|
|
10263
|
+
LogotypeInfo = __decorate$1([
|
|
10206
10264
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
10207
10265
|
], LogotypeInfo);
|
|
10208
10266
|
|
|
@@ -10213,10 +10271,10 @@ class OtherLogotypeInfo {
|
|
|
10213
10271
|
Object.assign(this, params);
|
|
10214
10272
|
}
|
|
10215
10273
|
}
|
|
10216
|
-
__decorate([
|
|
10274
|
+
__decorate$1([
|
|
10217
10275
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
10218
10276
|
], OtherLogotypeInfo.prototype, "logotypeType", void 0);
|
|
10219
|
-
__decorate([
|
|
10277
|
+
__decorate$1([
|
|
10220
10278
|
AsnProp({ type: LogotypeInfo })
|
|
10221
10279
|
], OtherLogotypeInfo.prototype, "info", void 0);
|
|
10222
10280
|
|
|
@@ -10225,16 +10283,16 @@ class LogotypeExtn {
|
|
|
10225
10283
|
Object.assign(this, params);
|
|
10226
10284
|
}
|
|
10227
10285
|
}
|
|
10228
|
-
__decorate([
|
|
10286
|
+
__decorate$1([
|
|
10229
10287
|
AsnProp({ type: LogotypeInfo, context: 0, repeated: "sequence", optional: true })
|
|
10230
10288
|
], LogotypeExtn.prototype, "communityLogos", void 0);
|
|
10231
|
-
__decorate([
|
|
10289
|
+
__decorate$1([
|
|
10232
10290
|
AsnProp({ type: LogotypeInfo, context: 1, optional: true })
|
|
10233
10291
|
], LogotypeExtn.prototype, "issuerLogo", void 0);
|
|
10234
|
-
__decorate([
|
|
10292
|
+
__decorate$1([
|
|
10235
10293
|
AsnProp({ type: LogotypeInfo, context: 2, optional: true })
|
|
10236
10294
|
], LogotypeExtn.prototype, "subjectLogo", void 0);
|
|
10237
|
-
__decorate([
|
|
10295
|
+
__decorate$1([
|
|
10238
10296
|
AsnProp({ type: OtherLogotypeInfo, context: 3, repeated: "sequence", optional: true })
|
|
10239
10297
|
], LogotypeExtn.prototype, "otherLogos", void 0);
|
|
10240
10298
|
|
|
@@ -10249,7 +10307,7 @@ let JWTClaimNames = JWTClaimNames_1 = class JWTClaimNames extends AsnArray {
|
|
|
10249
10307
|
Object.setPrototypeOf(this, JWTClaimNames_1.prototype);
|
|
10250
10308
|
}
|
|
10251
10309
|
};
|
|
10252
|
-
JWTClaimNames = JWTClaimNames_1 = __decorate([
|
|
10310
|
+
JWTClaimNames = JWTClaimNames_1 = __decorate$1([
|
|
10253
10311
|
AsnType({
|
|
10254
10312
|
type: AsnTypeTypes.Sequence,
|
|
10255
10313
|
itemType: AsnPropTypes.IA5String
|
|
@@ -10262,12 +10320,12 @@ class JWTClaimPermittedValues {
|
|
|
10262
10320
|
Object.assign(this, params);
|
|
10263
10321
|
}
|
|
10264
10322
|
}
|
|
10265
|
-
__decorate([
|
|
10323
|
+
__decorate$1([
|
|
10266
10324
|
AsnProp({
|
|
10267
10325
|
type: AsnPropTypes.IA5String,
|
|
10268
10326
|
})
|
|
10269
10327
|
], JWTClaimPermittedValues.prototype, "claim", void 0);
|
|
10270
|
-
__decorate([
|
|
10328
|
+
__decorate$1([
|
|
10271
10329
|
AsnProp({
|
|
10272
10330
|
type: AsnPropTypes.Utf8String,
|
|
10273
10331
|
repeated: "sequence",
|
|
@@ -10279,7 +10337,7 @@ let JWTClaimPermittedValuesList = JWTClaimPermittedValuesList_1 = class JWTClaim
|
|
|
10279
10337
|
Object.setPrototypeOf(this, JWTClaimPermittedValuesList_1.prototype);
|
|
10280
10338
|
}
|
|
10281
10339
|
};
|
|
10282
|
-
JWTClaimPermittedValuesList = JWTClaimPermittedValuesList_1 = __decorate([
|
|
10340
|
+
JWTClaimPermittedValuesList = JWTClaimPermittedValuesList_1 = __decorate$1([
|
|
10283
10341
|
AsnType({
|
|
10284
10342
|
type: AsnTypeTypes.Sequence,
|
|
10285
10343
|
itemType: JWTClaimPermittedValues
|
|
@@ -10290,14 +10348,14 @@ class JWTClaimConstraints {
|
|
|
10290
10348
|
Object.assign(this, params);
|
|
10291
10349
|
}
|
|
10292
10350
|
}
|
|
10293
|
-
__decorate([
|
|
10351
|
+
__decorate$1([
|
|
10294
10352
|
AsnProp({
|
|
10295
10353
|
type: JWTClaimNames,
|
|
10296
10354
|
optional: true,
|
|
10297
10355
|
context: 0,
|
|
10298
10356
|
})
|
|
10299
10357
|
], JWTClaimConstraints.prototype, "mustInclude", void 0);
|
|
10300
|
-
__decorate([
|
|
10358
|
+
__decorate$1([
|
|
10301
10359
|
AsnProp({
|
|
10302
10360
|
type: JWTClaimPermittedValuesList,
|
|
10303
10361
|
optional: true,
|
|
@@ -10311,10 +10369,10 @@ class TelephoneNumberRange {
|
|
|
10311
10369
|
this.count = 2;
|
|
10312
10370
|
}
|
|
10313
10371
|
}
|
|
10314
|
-
__decorate([
|
|
10372
|
+
__decorate$1([
|
|
10315
10373
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
10316
10374
|
], TelephoneNumberRange.prototype, "start", void 0);
|
|
10317
|
-
__decorate([
|
|
10375
|
+
__decorate$1([
|
|
10318
10376
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
10319
10377
|
], TelephoneNumberRange.prototype, "count", void 0);
|
|
10320
10378
|
let TNEntry = class TNEntry {
|
|
@@ -10322,25 +10380,25 @@ let TNEntry = class TNEntry {
|
|
|
10322
10380
|
Object.assign(this, params);
|
|
10323
10381
|
}
|
|
10324
10382
|
};
|
|
10325
|
-
__decorate([
|
|
10383
|
+
__decorate$1([
|
|
10326
10384
|
AsnProp({
|
|
10327
10385
|
type: AsnPropTypes.IA5String,
|
|
10328
10386
|
context: 0,
|
|
10329
10387
|
})
|
|
10330
10388
|
], TNEntry.prototype, "spc", void 0);
|
|
10331
|
-
__decorate([
|
|
10389
|
+
__decorate$1([
|
|
10332
10390
|
AsnProp({
|
|
10333
10391
|
type: TelephoneNumberRange,
|
|
10334
10392
|
context: 1,
|
|
10335
10393
|
})
|
|
10336
10394
|
], TNEntry.prototype, "range", void 0);
|
|
10337
|
-
__decorate([
|
|
10395
|
+
__decorate$1([
|
|
10338
10396
|
AsnProp({
|
|
10339
10397
|
type: AsnPropTypes.IA5String,
|
|
10340
10398
|
context: 2,
|
|
10341
10399
|
})
|
|
10342
10400
|
], TNEntry.prototype, "one", void 0);
|
|
10343
|
-
TNEntry = __decorate([
|
|
10401
|
+
TNEntry = __decorate$1([
|
|
10344
10402
|
AsnType({
|
|
10345
10403
|
type: AsnTypeTypes.Choice,
|
|
10346
10404
|
})
|
|
@@ -10351,13 +10409,350 @@ let TNAuthorizationList = TNAuthorizationList_1 = class TNAuthorizationList exte
|
|
|
10351
10409
|
Object.setPrototypeOf(this, TNAuthorizationList_1.prototype);
|
|
10352
10410
|
}
|
|
10353
10411
|
};
|
|
10354
|
-
TNAuthorizationList = TNAuthorizationList_1 = __decorate([
|
|
10412
|
+
TNAuthorizationList = TNAuthorizationList_1 = __decorate$1([
|
|
10355
10413
|
AsnType({
|
|
10356
10414
|
type: AsnTypeTypes.Sequence,
|
|
10357
10415
|
itemType: TNEntry,
|
|
10358
10416
|
})
|
|
10359
10417
|
], TNAuthorizationList);
|
|
10360
10418
|
|
|
10419
|
+
var IntegerSet_1;
|
|
10420
|
+
const id_ce_keyDescription = "1.3.6.1.4.1.11129.2.1.17";
|
|
10421
|
+
var VerifiedBootState;
|
|
10422
|
+
(function (VerifiedBootState) {
|
|
10423
|
+
VerifiedBootState[VerifiedBootState["verified"] = 0] = "verified";
|
|
10424
|
+
VerifiedBootState[VerifiedBootState["selfSigned"] = 1] = "selfSigned";
|
|
10425
|
+
VerifiedBootState[VerifiedBootState["unverified"] = 2] = "unverified";
|
|
10426
|
+
VerifiedBootState[VerifiedBootState["failed"] = 3] = "failed";
|
|
10427
|
+
})(VerifiedBootState || (VerifiedBootState = {}));
|
|
10428
|
+
class RootOfTrust {
|
|
10429
|
+
constructor(params = {}) {
|
|
10430
|
+
this.verifiedBootKey = new OctetString();
|
|
10431
|
+
this.deviceLocked = false;
|
|
10432
|
+
this.verifiedBootState = VerifiedBootState.verified;
|
|
10433
|
+
Object.assign(this, params);
|
|
10434
|
+
}
|
|
10435
|
+
}
|
|
10436
|
+
__decorate$1([
|
|
10437
|
+
AsnProp({ type: OctetString })
|
|
10438
|
+
], RootOfTrust.prototype, "verifiedBootKey", void 0);
|
|
10439
|
+
__decorate$1([
|
|
10440
|
+
AsnProp({ type: AsnPropTypes.Boolean })
|
|
10441
|
+
], RootOfTrust.prototype, "deviceLocked", void 0);
|
|
10442
|
+
__decorate$1([
|
|
10443
|
+
AsnProp({ type: AsnPropTypes.Enumerated })
|
|
10444
|
+
], RootOfTrust.prototype, "verifiedBootState", void 0);
|
|
10445
|
+
__decorate$1([
|
|
10446
|
+
AsnProp({ type: OctetString, optional: true })
|
|
10447
|
+
], RootOfTrust.prototype, "verifiedBootHash", void 0);
|
|
10448
|
+
let IntegerSet = IntegerSet_1 = class IntegerSet extends AsnArray {
|
|
10449
|
+
constructor(items) {
|
|
10450
|
+
super(items);
|
|
10451
|
+
Object.setPrototypeOf(this, IntegerSet_1.prototype);
|
|
10452
|
+
}
|
|
10453
|
+
};
|
|
10454
|
+
IntegerSet = IntegerSet_1 = __decorate$1([
|
|
10455
|
+
AsnType({ type: AsnTypeTypes.Set, itemType: AsnPropTypes.Integer })
|
|
10456
|
+
], IntegerSet);
|
|
10457
|
+
class AuthorizationList {
|
|
10458
|
+
constructor(params = {}) {
|
|
10459
|
+
Object.assign(this, params);
|
|
10460
|
+
}
|
|
10461
|
+
}
|
|
10462
|
+
__decorate$1([
|
|
10463
|
+
AsnProp({ context: 1, type: IntegerSet, optional: true })
|
|
10464
|
+
], AuthorizationList.prototype, "purpose", void 0);
|
|
10465
|
+
__decorate$1([
|
|
10466
|
+
AsnProp({ context: 2, type: AsnPropTypes.Integer, optional: true })
|
|
10467
|
+
], AuthorizationList.prototype, "algorithm", void 0);
|
|
10468
|
+
__decorate$1([
|
|
10469
|
+
AsnProp({ context: 3, type: AsnPropTypes.Integer, optional: true })
|
|
10470
|
+
], AuthorizationList.prototype, "keySize", void 0);
|
|
10471
|
+
__decorate$1([
|
|
10472
|
+
AsnProp({ context: 5, type: IntegerSet, optional: true })
|
|
10473
|
+
], AuthorizationList.prototype, "digest", void 0);
|
|
10474
|
+
__decorate$1([
|
|
10475
|
+
AsnProp({ context: 6, type: IntegerSet, optional: true })
|
|
10476
|
+
], AuthorizationList.prototype, "padding", void 0);
|
|
10477
|
+
__decorate$1([
|
|
10478
|
+
AsnProp({ context: 10, type: AsnPropTypes.Integer, optional: true })
|
|
10479
|
+
], AuthorizationList.prototype, "ecCurve", void 0);
|
|
10480
|
+
__decorate$1([
|
|
10481
|
+
AsnProp({ context: 200, type: AsnPropTypes.Integer, optional: true })
|
|
10482
|
+
], AuthorizationList.prototype, "rsaPublicExponent", void 0);
|
|
10483
|
+
__decorate$1([
|
|
10484
|
+
AsnProp({ context: 303, type: AsnPropTypes.Null, optional: true })
|
|
10485
|
+
], AuthorizationList.prototype, "rollbackResistance", void 0);
|
|
10486
|
+
__decorate$1([
|
|
10487
|
+
AsnProp({ context: 305, type: AsnPropTypes.Null, optional: true })
|
|
10488
|
+
], AuthorizationList.prototype, "earlyBootOnly", void 0);
|
|
10489
|
+
__decorate$1([
|
|
10490
|
+
AsnProp({ context: 400, type: AsnPropTypes.Integer, optional: true })
|
|
10491
|
+
], AuthorizationList.prototype, "activeDateTime", void 0);
|
|
10492
|
+
__decorate$1([
|
|
10493
|
+
AsnProp({ context: 401, type: AsnPropTypes.Integer, optional: true })
|
|
10494
|
+
], AuthorizationList.prototype, "originationExpireDateTime", void 0);
|
|
10495
|
+
__decorate$1([
|
|
10496
|
+
AsnProp({ context: 402, type: AsnPropTypes.Integer, optional: true })
|
|
10497
|
+
], AuthorizationList.prototype, "usageExpireDateTime", void 0);
|
|
10498
|
+
__decorate$1([
|
|
10499
|
+
AsnProp({ context: 503, type: AsnPropTypes.Null, optional: true })
|
|
10500
|
+
], AuthorizationList.prototype, "noAuthRequired", void 0);
|
|
10501
|
+
__decorate$1([
|
|
10502
|
+
AsnProp({ context: 504, type: AsnPropTypes.Integer, optional: true })
|
|
10503
|
+
], AuthorizationList.prototype, "userAuthType", void 0);
|
|
10504
|
+
__decorate$1([
|
|
10505
|
+
AsnProp({ context: 505, type: AsnPropTypes.Integer, optional: true })
|
|
10506
|
+
], AuthorizationList.prototype, "authTimeout", void 0);
|
|
10507
|
+
__decorate$1([
|
|
10508
|
+
AsnProp({ context: 506, type: AsnPropTypes.Null, optional: true })
|
|
10509
|
+
], AuthorizationList.prototype, "allowWhileOnBody", void 0);
|
|
10510
|
+
__decorate$1([
|
|
10511
|
+
AsnProp({ context: 507, type: AsnPropTypes.Null, optional: true })
|
|
10512
|
+
], AuthorizationList.prototype, "trustedUserPresenceRequired", void 0);
|
|
10513
|
+
__decorate$1([
|
|
10514
|
+
AsnProp({ context: 508, type: AsnPropTypes.Null, optional: true })
|
|
10515
|
+
], AuthorizationList.prototype, "trustedConfirmationRequired", void 0);
|
|
10516
|
+
__decorate$1([
|
|
10517
|
+
AsnProp({ context: 509, type: AsnPropTypes.Null, optional: true })
|
|
10518
|
+
], AuthorizationList.prototype, "unlockedDeviceRequired", void 0);
|
|
10519
|
+
__decorate$1([
|
|
10520
|
+
AsnProp({ context: 600, type: AsnPropTypes.Null, optional: true })
|
|
10521
|
+
], AuthorizationList.prototype, "allApplications", void 0);
|
|
10522
|
+
__decorate$1([
|
|
10523
|
+
AsnProp({ context: 601, type: OctetString, optional: true })
|
|
10524
|
+
], AuthorizationList.prototype, "applicationId", void 0);
|
|
10525
|
+
__decorate$1([
|
|
10526
|
+
AsnProp({ context: 701, type: AsnPropTypes.Integer, optional: true })
|
|
10527
|
+
], AuthorizationList.prototype, "creationDateTime", void 0);
|
|
10528
|
+
__decorate$1([
|
|
10529
|
+
AsnProp({ context: 702, type: AsnPropTypes.Integer, optional: true })
|
|
10530
|
+
], AuthorizationList.prototype, "origin", void 0);
|
|
10531
|
+
__decorate$1([
|
|
10532
|
+
AsnProp({ context: 703, type: AsnPropTypes.Null, optional: true })
|
|
10533
|
+
], AuthorizationList.prototype, "rollbackResistant", void 0);
|
|
10534
|
+
__decorate$1([
|
|
10535
|
+
AsnProp({ context: 704, type: RootOfTrust, optional: true })
|
|
10536
|
+
], AuthorizationList.prototype, "rootOfTrust", void 0);
|
|
10537
|
+
__decorate$1([
|
|
10538
|
+
AsnProp({ context: 705, type: AsnPropTypes.Integer, optional: true })
|
|
10539
|
+
], AuthorizationList.prototype, "osVersion", void 0);
|
|
10540
|
+
__decorate$1([
|
|
10541
|
+
AsnProp({ context: 706, type: AsnPropTypes.Integer, optional: true })
|
|
10542
|
+
], AuthorizationList.prototype, "osPatchLevel", void 0);
|
|
10543
|
+
__decorate$1([
|
|
10544
|
+
AsnProp({ context: 709, type: OctetString, optional: true })
|
|
10545
|
+
], AuthorizationList.prototype, "attestationApplicationId", void 0);
|
|
10546
|
+
__decorate$1([
|
|
10547
|
+
AsnProp({ context: 710, type: OctetString, optional: true })
|
|
10548
|
+
], AuthorizationList.prototype, "attestationIdBrand", void 0);
|
|
10549
|
+
__decorate$1([
|
|
10550
|
+
AsnProp({ context: 711, type: OctetString, optional: true })
|
|
10551
|
+
], AuthorizationList.prototype, "attestationIdDevice", void 0);
|
|
10552
|
+
__decorate$1([
|
|
10553
|
+
AsnProp({ context: 712, type: OctetString, optional: true })
|
|
10554
|
+
], AuthorizationList.prototype, "attestationIdProduct", void 0);
|
|
10555
|
+
__decorate$1([
|
|
10556
|
+
AsnProp({ context: 713, type: OctetString, optional: true })
|
|
10557
|
+
], AuthorizationList.prototype, "attestationIdSerial", void 0);
|
|
10558
|
+
__decorate$1([
|
|
10559
|
+
AsnProp({ context: 714, type: OctetString, optional: true })
|
|
10560
|
+
], AuthorizationList.prototype, "attestationIdImei", void 0);
|
|
10561
|
+
__decorate$1([
|
|
10562
|
+
AsnProp({ context: 715, type: OctetString, optional: true })
|
|
10563
|
+
], AuthorizationList.prototype, "attestationIdMeid", void 0);
|
|
10564
|
+
__decorate$1([
|
|
10565
|
+
AsnProp({ context: 716, type: OctetString, optional: true })
|
|
10566
|
+
], AuthorizationList.prototype, "attestationIdManufacturer", void 0);
|
|
10567
|
+
__decorate$1([
|
|
10568
|
+
AsnProp({ context: 717, type: OctetString, optional: true })
|
|
10569
|
+
], AuthorizationList.prototype, "attestationIdModel", void 0);
|
|
10570
|
+
__decorate$1([
|
|
10571
|
+
AsnProp({ context: 718, type: AsnPropTypes.Integer, optional: true })
|
|
10572
|
+
], AuthorizationList.prototype, "vendorPatchLevel", void 0);
|
|
10573
|
+
__decorate$1([
|
|
10574
|
+
AsnProp({ context: 719, type: AsnPropTypes.Integer, optional: true })
|
|
10575
|
+
], AuthorizationList.prototype, "bootPatchLevel", void 0);
|
|
10576
|
+
__decorate$1([
|
|
10577
|
+
AsnProp({ context: 720, type: AsnPropTypes.Null, optional: true })
|
|
10578
|
+
], AuthorizationList.prototype, "deviceUniqueAttestation", void 0);
|
|
10579
|
+
var SecurityLevel;
|
|
10580
|
+
(function (SecurityLevel) {
|
|
10581
|
+
SecurityLevel[SecurityLevel["software"] = 0] = "software";
|
|
10582
|
+
SecurityLevel[SecurityLevel["trustedEnvironment"] = 1] = "trustedEnvironment";
|
|
10583
|
+
SecurityLevel[SecurityLevel["strongBox"] = 2] = "strongBox";
|
|
10584
|
+
})(SecurityLevel || (SecurityLevel = {}));
|
|
10585
|
+
var Version;
|
|
10586
|
+
(function (Version) {
|
|
10587
|
+
Version[Version["KM2"] = 1] = "KM2";
|
|
10588
|
+
Version[Version["KM3"] = 2] = "KM3";
|
|
10589
|
+
Version[Version["KM4"] = 3] = "KM4";
|
|
10590
|
+
Version[Version["KM4_1"] = 4] = "KM4_1";
|
|
10591
|
+
Version[Version["keyMint1"] = 100] = "keyMint1";
|
|
10592
|
+
Version[Version["keyMint2"] = 200] = "keyMint2";
|
|
10593
|
+
})(Version || (Version = {}));
|
|
10594
|
+
class KeyDescription {
|
|
10595
|
+
constructor(params = {}) {
|
|
10596
|
+
this.attestationVersion = Version.KM4;
|
|
10597
|
+
this.attestationSecurityLevel = SecurityLevel.software;
|
|
10598
|
+
this.keymasterVersion = 0;
|
|
10599
|
+
this.keymasterSecurityLevel = SecurityLevel.software;
|
|
10600
|
+
this.attestationChallenge = new OctetString();
|
|
10601
|
+
this.uniqueId = new OctetString();
|
|
10602
|
+
this.softwareEnforced = new AuthorizationList();
|
|
10603
|
+
this.teeEnforced = new AuthorizationList();
|
|
10604
|
+
Object.assign(this, params);
|
|
10605
|
+
}
|
|
10606
|
+
}
|
|
10607
|
+
__decorate$1([
|
|
10608
|
+
AsnProp({ type: AsnPropTypes.Integer })
|
|
10609
|
+
], KeyDescription.prototype, "attestationVersion", void 0);
|
|
10610
|
+
__decorate$1([
|
|
10611
|
+
AsnProp({ type: AsnPropTypes.Enumerated })
|
|
10612
|
+
], KeyDescription.prototype, "attestationSecurityLevel", void 0);
|
|
10613
|
+
__decorate$1([
|
|
10614
|
+
AsnProp({ type: AsnPropTypes.Integer })
|
|
10615
|
+
], KeyDescription.prototype, "keymasterVersion", void 0);
|
|
10616
|
+
__decorate$1([
|
|
10617
|
+
AsnProp({ type: AsnPropTypes.Enumerated })
|
|
10618
|
+
], KeyDescription.prototype, "keymasterSecurityLevel", void 0);
|
|
10619
|
+
__decorate$1([
|
|
10620
|
+
AsnProp({ type: OctetString })
|
|
10621
|
+
], KeyDescription.prototype, "attestationChallenge", void 0);
|
|
10622
|
+
__decorate$1([
|
|
10623
|
+
AsnProp({ type: OctetString })
|
|
10624
|
+
], KeyDescription.prototype, "uniqueId", void 0);
|
|
10625
|
+
__decorate$1([
|
|
10626
|
+
AsnProp({ type: AuthorizationList })
|
|
10627
|
+
], KeyDescription.prototype, "softwareEnforced", void 0);
|
|
10628
|
+
__decorate$1([
|
|
10629
|
+
AsnProp({ type: AuthorizationList })
|
|
10630
|
+
], KeyDescription.prototype, "teeEnforced", void 0);
|
|
10631
|
+
|
|
10632
|
+
var NonStandardAuthorizationList_1;
|
|
10633
|
+
let NonStandardAuthorization = class NonStandardAuthorization extends AuthorizationList {
|
|
10634
|
+
};
|
|
10635
|
+
NonStandardAuthorization = __decorate$1([
|
|
10636
|
+
AsnType({ type: AsnTypeTypes.Choice })
|
|
10637
|
+
], NonStandardAuthorization);
|
|
10638
|
+
let NonStandardAuthorizationList = NonStandardAuthorizationList_1 = class NonStandardAuthorizationList extends AsnArray {
|
|
10639
|
+
constructor(items) {
|
|
10640
|
+
super(items);
|
|
10641
|
+
Object.setPrototypeOf(this, NonStandardAuthorizationList_1.prototype);
|
|
10642
|
+
}
|
|
10643
|
+
findProperty(key) {
|
|
10644
|
+
const prop = this.find((o => key in o));
|
|
10645
|
+
if (prop) {
|
|
10646
|
+
return prop[key];
|
|
10647
|
+
}
|
|
10648
|
+
return undefined;
|
|
10649
|
+
}
|
|
10650
|
+
};
|
|
10651
|
+
NonStandardAuthorizationList = NonStandardAuthorizationList_1 = __decorate$1([
|
|
10652
|
+
AsnType({ type: AsnTypeTypes.Sequence, itemType: NonStandardAuthorization })
|
|
10653
|
+
], NonStandardAuthorizationList);
|
|
10654
|
+
class NonStandardKeyDescription {
|
|
10655
|
+
constructor(params = {}) {
|
|
10656
|
+
this.attestationVersion = Version.KM4;
|
|
10657
|
+
this.attestationSecurityLevel = SecurityLevel.software;
|
|
10658
|
+
this.keymasterVersion = 0;
|
|
10659
|
+
this.keymasterSecurityLevel = SecurityLevel.software;
|
|
10660
|
+
this.attestationChallenge = new OctetString();
|
|
10661
|
+
this.uniqueId = new OctetString();
|
|
10662
|
+
this.softwareEnforced = new NonStandardAuthorizationList();
|
|
10663
|
+
this.teeEnforced = new NonStandardAuthorizationList();
|
|
10664
|
+
Object.assign(this, params);
|
|
10665
|
+
}
|
|
10666
|
+
}
|
|
10667
|
+
__decorate$1([
|
|
10668
|
+
AsnProp({ type: AsnPropTypes.Integer })
|
|
10669
|
+
], NonStandardKeyDescription.prototype, "attestationVersion", void 0);
|
|
10670
|
+
__decorate$1([
|
|
10671
|
+
AsnProp({ type: AsnPropTypes.Enumerated })
|
|
10672
|
+
], NonStandardKeyDescription.prototype, "attestationSecurityLevel", void 0);
|
|
10673
|
+
__decorate$1([
|
|
10674
|
+
AsnProp({ type: AsnPropTypes.Integer })
|
|
10675
|
+
], NonStandardKeyDescription.prototype, "keymasterVersion", void 0);
|
|
10676
|
+
__decorate$1([
|
|
10677
|
+
AsnProp({ type: AsnPropTypes.Enumerated })
|
|
10678
|
+
], NonStandardKeyDescription.prototype, "keymasterSecurityLevel", void 0);
|
|
10679
|
+
__decorate$1([
|
|
10680
|
+
AsnProp({ type: OctetString })
|
|
10681
|
+
], NonStandardKeyDescription.prototype, "attestationChallenge", void 0);
|
|
10682
|
+
__decorate$1([
|
|
10683
|
+
AsnProp({ type: OctetString })
|
|
10684
|
+
], NonStandardKeyDescription.prototype, "uniqueId", void 0);
|
|
10685
|
+
__decorate$1([
|
|
10686
|
+
AsnProp({ type: NonStandardAuthorizationList })
|
|
10687
|
+
], NonStandardKeyDescription.prototype, "softwareEnforced", void 0);
|
|
10688
|
+
__decorate$1([
|
|
10689
|
+
AsnProp({ type: NonStandardAuthorizationList })
|
|
10690
|
+
], NonStandardKeyDescription.prototype, "teeEnforced", void 0);
|
|
10691
|
+
|
|
10692
|
+
class AttestationPackageInfo {
|
|
10693
|
+
constructor(params = {}) {
|
|
10694
|
+
Object.assign(this, params);
|
|
10695
|
+
}
|
|
10696
|
+
}
|
|
10697
|
+
__decorate$1([
|
|
10698
|
+
AsnProp({ type: AsnPropTypes.OctetString })
|
|
10699
|
+
], AttestationPackageInfo.prototype, "packageName", void 0);
|
|
10700
|
+
__decorate$1([
|
|
10701
|
+
AsnProp({ type: AsnPropTypes.Integer })
|
|
10702
|
+
], AttestationPackageInfo.prototype, "version", void 0);
|
|
10703
|
+
class AttestationApplicationId {
|
|
10704
|
+
constructor(params = {}) {
|
|
10705
|
+
Object.assign(this, params);
|
|
10706
|
+
}
|
|
10707
|
+
}
|
|
10708
|
+
__decorate$1([
|
|
10709
|
+
AsnProp({ type: AttestationPackageInfo, repeated: "set" })
|
|
10710
|
+
], AttestationApplicationId.prototype, "packageInfos", void 0);
|
|
10711
|
+
__decorate$1([
|
|
10712
|
+
AsnProp({ type: AsnPropTypes.OctetString, repeated: "set" })
|
|
10713
|
+
], AttestationApplicationId.prototype, "signatureDigests", void 0);
|
|
10714
|
+
|
|
10715
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10716
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10717
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10718
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10719
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10720
|
+
};
|
|
10721
|
+
/**
|
|
10722
|
+
* Extension OID for CABF organization identifier.
|
|
10723
|
+
*/
|
|
10724
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10725
|
+
const id_cabforganizationIdentifier = '2.23.140.3.1';
|
|
10726
|
+
/**
|
|
10727
|
+
* Implements ASN.1 enumeration for CABF organization identifier.
|
|
10728
|
+
*
|
|
10729
|
+
* ```asn
|
|
10730
|
+
* CABFOrganizationIdentifier ::= SEQUENCE {
|
|
10731
|
+
* registrationSchemeIdentifier PrintableString (SIZE(3)),
|
|
10732
|
+
* registrationCountry PrintableString (SIZE(2)),
|
|
10733
|
+
* registrationStateOrProvince [0] IMPLICIT PrintableString OPTIONAL (SIZE(0..128)),
|
|
10734
|
+
* registrationReference UTF8String
|
|
10735
|
+
* }
|
|
10736
|
+
* ```
|
|
10737
|
+
*/
|
|
10738
|
+
class CabforganizationIdentifier {
|
|
10739
|
+
constructor(params = {}) {
|
|
10740
|
+
Object.assign(this, params);
|
|
10741
|
+
}
|
|
10742
|
+
}
|
|
10743
|
+
__decorate([
|
|
10744
|
+
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
10745
|
+
], CabforganizationIdentifier.prototype, "registrationSchemeIdentifier", void 0);
|
|
10746
|
+
__decorate([
|
|
10747
|
+
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
10748
|
+
], CabforganizationIdentifier.prototype, "registrationCountry", void 0);
|
|
10749
|
+
__decorate([
|
|
10750
|
+
AsnProp({ type: AsnPropTypes.PrintableString, optional: true })
|
|
10751
|
+
], CabforganizationIdentifier.prototype, "registrationStateOrProvince", void 0);
|
|
10752
|
+
__decorate([
|
|
10753
|
+
AsnProp({ type: AsnPropTypes.Utf8String })
|
|
10754
|
+
], CabforganizationIdentifier.prototype, "registrationReference", void 0);
|
|
10755
|
+
|
|
10361
10756
|
/**
|
|
10362
10757
|
* @license
|
|
10363
10758
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -10390,7 +10785,7 @@ class AsnData {
|
|
|
10390
10785
|
else {
|
|
10391
10786
|
// raw, type
|
|
10392
10787
|
__classPrivateFieldSet(this, _AsnData_asn, AsnConvert.parse(args[0], args[1]), "f");
|
|
10393
|
-
__classPrivateFieldSet(this, _AsnData_raw,
|
|
10788
|
+
__classPrivateFieldSet(this, _AsnData_raw, BufferSourceConverter_1.toArrayBuffer(args[0]), "f");
|
|
10394
10789
|
}
|
|
10395
10790
|
}
|
|
10396
10791
|
get asn() {
|
|
@@ -10534,14 +10929,20 @@ class Extension extends AsnData {
|
|
|
10534
10929
|
case id_ce_deltaCRLIndicator:
|
|
10535
10930
|
this.value = AsnParser.parse(asnExtnValue, BaseCRLNumber);
|
|
10536
10931
|
break;
|
|
10932
|
+
case id_ce_keyDescription:
|
|
10933
|
+
this.value = AsnParser.parse(asnExtnValue, NonStandardKeyDescription);
|
|
10934
|
+
break;
|
|
10935
|
+
case id_cabforganizationIdentifier:
|
|
10936
|
+
this.value = AsnParser.parse(asnExtnValue, CabforganizationIdentifier);
|
|
10937
|
+
break;
|
|
10537
10938
|
default:
|
|
10538
10939
|
console.warn(`Didn't detect parser for "${this.asn.extnID}" extension.`);
|
|
10539
|
-
this.value =
|
|
10940
|
+
this.value = Convert_1.ToHex(asnExtnValue);
|
|
10540
10941
|
}
|
|
10541
10942
|
}
|
|
10542
10943
|
catch (error) {
|
|
10543
10944
|
console.error(`Error parse "${this.asn.extnID}" extension:`, error.message);
|
|
10544
|
-
this.value =
|
|
10945
|
+
this.value = Convert_1.ToHex(asnExtnValue);
|
|
10545
10946
|
}
|
|
10546
10947
|
}
|
|
10547
10948
|
}
|
|
@@ -10603,13 +11004,13 @@ const certificateRawToBuffer = (raw) => {
|
|
|
10603
11004
|
const rawClarified = base64Clarify(raw);
|
|
10604
11005
|
let buffer;
|
|
10605
11006
|
if (isHex(rawClarified)) {
|
|
10606
|
-
buffer =
|
|
11007
|
+
buffer = Convert_1.FromHex(rawClarified);
|
|
10607
11008
|
}
|
|
10608
11009
|
else if (isBase64(rawClarified) || isPem(rawClarified)) {
|
|
10609
|
-
buffer =
|
|
11010
|
+
buffer = Convert_1.FromBase64(rawClarified);
|
|
10610
11011
|
}
|
|
10611
11012
|
else {
|
|
10612
|
-
buffer =
|
|
11013
|
+
buffer = Convert_1.FromBinary(raw);
|
|
10613
11014
|
}
|
|
10614
11015
|
return buffer;
|
|
10615
11016
|
};
|
|
@@ -10629,13 +11030,13 @@ class ACClearAttrs {
|
|
|
10629
11030
|
Object.assign(this, params);
|
|
10630
11031
|
}
|
|
10631
11032
|
}
|
|
10632
|
-
__decorate([
|
|
11033
|
+
__decorate$1([
|
|
10633
11034
|
AsnProp({ type: GeneralName })
|
|
10634
11035
|
], ACClearAttrs.prototype, "acIssuer", void 0);
|
|
10635
|
-
__decorate([
|
|
11036
|
+
__decorate$1([
|
|
10636
11037
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
10637
11038
|
], ACClearAttrs.prototype, "acSerial", void 0);
|
|
10638
|
-
__decorate([
|
|
11039
|
+
__decorate$1([
|
|
10639
11040
|
AsnProp({ type: Attribute$1, repeated: "sequence" })
|
|
10640
11041
|
], ACClearAttrs.prototype, "attrs", void 0);
|
|
10641
11042
|
|
|
@@ -10646,7 +11047,7 @@ let AttrSpec = AttrSpec_1 = class AttrSpec extends AsnArray {
|
|
|
10646
11047
|
Object.setPrototypeOf(this, AttrSpec_1.prototype);
|
|
10647
11048
|
}
|
|
10648
11049
|
};
|
|
10649
|
-
AttrSpec = AttrSpec_1 = __decorate([
|
|
11050
|
+
AttrSpec = AttrSpec_1 = __decorate$1([
|
|
10650
11051
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.ObjectIdentifier })
|
|
10651
11052
|
], AttrSpec);
|
|
10652
11053
|
|
|
@@ -10656,16 +11057,16 @@ class AAControls {
|
|
|
10656
11057
|
Object.assign(this, params);
|
|
10657
11058
|
}
|
|
10658
11059
|
}
|
|
10659
|
-
__decorate([
|
|
11060
|
+
__decorate$1([
|
|
10660
11061
|
AsnProp({ type: AsnPropTypes.Integer, optional: true })
|
|
10661
11062
|
], AAControls.prototype, "pathLenConstraint", void 0);
|
|
10662
|
-
__decorate([
|
|
11063
|
+
__decorate$1([
|
|
10663
11064
|
AsnProp({ type: AttrSpec, implicit: true, context: 0, optional: true })
|
|
10664
11065
|
], AAControls.prototype, "permittedAttrs", void 0);
|
|
10665
|
-
__decorate([
|
|
11066
|
+
__decorate$1([
|
|
10666
11067
|
AsnProp({ type: AttrSpec, implicit: true, context: 1, optional: true })
|
|
10667
11068
|
], AAControls.prototype, "excludedAttrs", void 0);
|
|
10668
|
-
__decorate([
|
|
11069
|
+
__decorate$1([
|
|
10669
11070
|
AsnProp({ type: AsnPropTypes.Boolean, defaultValue: true })
|
|
10670
11071
|
], AAControls.prototype, "permitUnSpecified", void 0);
|
|
10671
11072
|
|
|
@@ -10677,13 +11078,13 @@ class IssuerSerial {
|
|
|
10677
11078
|
Object.assign(this, params);
|
|
10678
11079
|
}
|
|
10679
11080
|
}
|
|
10680
|
-
__decorate([
|
|
11081
|
+
__decorate$1([
|
|
10681
11082
|
AsnProp({ type: GeneralNames })
|
|
10682
11083
|
], IssuerSerial.prototype, "issuer", void 0);
|
|
10683
|
-
__decorate([
|
|
11084
|
+
__decorate$1([
|
|
10684
11085
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
10685
11086
|
], IssuerSerial.prototype, "serial", void 0);
|
|
10686
|
-
__decorate([
|
|
11087
|
+
__decorate$1([
|
|
10687
11088
|
AsnProp({ type: AsnPropTypes.BitString, optional: true })
|
|
10688
11089
|
], IssuerSerial.prototype, "issuerUID", void 0);
|
|
10689
11090
|
|
|
@@ -10701,16 +11102,16 @@ class ObjectDigestInfo {
|
|
|
10701
11102
|
Object.assign(this, params);
|
|
10702
11103
|
}
|
|
10703
11104
|
}
|
|
10704
|
-
__decorate([
|
|
11105
|
+
__decorate$1([
|
|
10705
11106
|
AsnProp({ type: AsnPropTypes.Enumerated })
|
|
10706
11107
|
], ObjectDigestInfo.prototype, "digestedObjectType", void 0);
|
|
10707
|
-
__decorate([
|
|
11108
|
+
__decorate$1([
|
|
10708
11109
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier, optional: true })
|
|
10709
11110
|
], ObjectDigestInfo.prototype, "otherObjectTypeID", void 0);
|
|
10710
|
-
__decorate([
|
|
11111
|
+
__decorate$1([
|
|
10711
11112
|
AsnProp({ type: AlgorithmIdentifier })
|
|
10712
11113
|
], ObjectDigestInfo.prototype, "digestAlgorithm", void 0);
|
|
10713
|
-
__decorate([
|
|
11114
|
+
__decorate$1([
|
|
10714
11115
|
AsnProp({ type: AsnPropTypes.BitString })
|
|
10715
11116
|
], ObjectDigestInfo.prototype, "objectDigest", void 0);
|
|
10716
11117
|
|
|
@@ -10719,13 +11120,13 @@ class V2Form {
|
|
|
10719
11120
|
Object.assign(this, params);
|
|
10720
11121
|
}
|
|
10721
11122
|
}
|
|
10722
|
-
__decorate([
|
|
11123
|
+
__decorate$1([
|
|
10723
11124
|
AsnProp({ type: GeneralNames, optional: true })
|
|
10724
11125
|
], V2Form.prototype, "issuerName", void 0);
|
|
10725
|
-
__decorate([
|
|
11126
|
+
__decorate$1([
|
|
10726
11127
|
AsnProp({ type: IssuerSerial, context: 0, implicit: true, optional: true })
|
|
10727
11128
|
], V2Form.prototype, "baseCertificateID", void 0);
|
|
10728
|
-
__decorate([
|
|
11129
|
+
__decorate$1([
|
|
10729
11130
|
AsnProp({ type: ObjectDigestInfo, context: 1, implicit: true, optional: true })
|
|
10730
11131
|
], V2Form.prototype, "objectDigestInfo", void 0);
|
|
10731
11132
|
|
|
@@ -10734,13 +11135,13 @@ let AttCertIssuer = class AttCertIssuer {
|
|
|
10734
11135
|
Object.assign(this, params);
|
|
10735
11136
|
}
|
|
10736
11137
|
};
|
|
10737
|
-
__decorate([
|
|
11138
|
+
__decorate$1([
|
|
10738
11139
|
AsnProp({ type: GeneralName, repeated: "sequence" })
|
|
10739
11140
|
], AttCertIssuer.prototype, "v1Form", void 0);
|
|
10740
|
-
__decorate([
|
|
11141
|
+
__decorate$1([
|
|
10741
11142
|
AsnProp({ type: V2Form, context: 0, implicit: true })
|
|
10742
11143
|
], AttCertIssuer.prototype, "v2Form", void 0);
|
|
10743
|
-
AttCertIssuer = __decorate([
|
|
11144
|
+
AttCertIssuer = __decorate$1([
|
|
10744
11145
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
10745
11146
|
], AttCertIssuer);
|
|
10746
11147
|
|
|
@@ -10751,10 +11152,10 @@ class AttCertValidityPeriod {
|
|
|
10751
11152
|
Object.assign(this, params);
|
|
10752
11153
|
}
|
|
10753
11154
|
}
|
|
10754
|
-
__decorate([
|
|
11155
|
+
__decorate$1([
|
|
10755
11156
|
AsnProp({ type: AsnPropTypes.GeneralizedTime })
|
|
10756
11157
|
], AttCertValidityPeriod.prototype, "notBeforeTime", void 0);
|
|
10757
|
-
__decorate([
|
|
11158
|
+
__decorate$1([
|
|
10758
11159
|
AsnProp({ type: AsnPropTypes.GeneralizedTime })
|
|
10759
11160
|
], AttCertValidityPeriod.prototype, "notAfterTime", void 0);
|
|
10760
11161
|
|
|
@@ -10763,13 +11164,13 @@ class Holder {
|
|
|
10763
11164
|
Object.assign(this, params);
|
|
10764
11165
|
}
|
|
10765
11166
|
}
|
|
10766
|
-
__decorate([
|
|
11167
|
+
__decorate$1([
|
|
10767
11168
|
AsnProp({ type: IssuerSerial, implicit: true, context: 0, optional: true })
|
|
10768
11169
|
], Holder.prototype, "baseCertificateID", void 0);
|
|
10769
|
-
__decorate([
|
|
11170
|
+
__decorate$1([
|
|
10770
11171
|
AsnProp({ type: GeneralNames, implicit: true, context: 1, optional: true })
|
|
10771
11172
|
], Holder.prototype, "entityName", void 0);
|
|
10772
|
-
__decorate([
|
|
11173
|
+
__decorate$1([
|
|
10773
11174
|
AsnProp({ type: ObjectDigestInfo, implicit: true, context: 2, optional: true })
|
|
10774
11175
|
], Holder.prototype, "objectDigestInfo", void 0);
|
|
10775
11176
|
|
|
@@ -10789,31 +11190,31 @@ class AttributeCertificateInfo {
|
|
|
10789
11190
|
Object.assign(this, params);
|
|
10790
11191
|
}
|
|
10791
11192
|
}
|
|
10792
|
-
__decorate([
|
|
11193
|
+
__decorate$1([
|
|
10793
11194
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
10794
11195
|
], AttributeCertificateInfo.prototype, "version", void 0);
|
|
10795
|
-
__decorate([
|
|
11196
|
+
__decorate$1([
|
|
10796
11197
|
AsnProp({ type: Holder })
|
|
10797
11198
|
], AttributeCertificateInfo.prototype, "holder", void 0);
|
|
10798
|
-
__decorate([
|
|
11199
|
+
__decorate$1([
|
|
10799
11200
|
AsnProp({ type: AttCertIssuer })
|
|
10800
11201
|
], AttributeCertificateInfo.prototype, "issuer", void 0);
|
|
10801
|
-
__decorate([
|
|
11202
|
+
__decorate$1([
|
|
10802
11203
|
AsnProp({ type: AlgorithmIdentifier })
|
|
10803
11204
|
], AttributeCertificateInfo.prototype, "signature", void 0);
|
|
10804
|
-
__decorate([
|
|
11205
|
+
__decorate$1([
|
|
10805
11206
|
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
10806
11207
|
], AttributeCertificateInfo.prototype, "serialNumber", void 0);
|
|
10807
|
-
__decorate([
|
|
11208
|
+
__decorate$1([
|
|
10808
11209
|
AsnProp({ type: AttCertValidityPeriod })
|
|
10809
11210
|
], AttributeCertificateInfo.prototype, "attrCertValidityPeriod", void 0);
|
|
10810
|
-
__decorate([
|
|
11211
|
+
__decorate$1([
|
|
10811
11212
|
AsnProp({ type: Attribute$1, repeated: "sequence" })
|
|
10812
11213
|
], AttributeCertificateInfo.prototype, "attributes", void 0);
|
|
10813
|
-
__decorate([
|
|
11214
|
+
__decorate$1([
|
|
10814
11215
|
AsnProp({ type: AsnPropTypes.BitString, optional: true })
|
|
10815
11216
|
], AttributeCertificateInfo.prototype, "issuerUniqueID", void 0);
|
|
10816
|
-
__decorate([
|
|
11217
|
+
__decorate$1([
|
|
10817
11218
|
AsnProp({ type: Extensions$1, optional: true })
|
|
10818
11219
|
], AttributeCertificateInfo.prototype, "extensions", void 0);
|
|
10819
11220
|
|
|
@@ -10825,13 +11226,13 @@ class AttributeCertificate {
|
|
|
10825
11226
|
Object.assign(this, params);
|
|
10826
11227
|
}
|
|
10827
11228
|
}
|
|
10828
|
-
__decorate([
|
|
11229
|
+
__decorate$1([
|
|
10829
11230
|
AsnProp({ type: AttributeCertificateInfo })
|
|
10830
11231
|
], AttributeCertificate.prototype, "acinfo", void 0);
|
|
10831
|
-
__decorate([
|
|
11232
|
+
__decorate$1([
|
|
10832
11233
|
AsnProp({ type: AlgorithmIdentifier })
|
|
10833
11234
|
], AttributeCertificate.prototype, "signatureAlgorithm", void 0);
|
|
10834
|
-
__decorate([
|
|
11235
|
+
__decorate$1([
|
|
10835
11236
|
AsnProp({ type: AsnPropTypes.BitString })
|
|
10836
11237
|
], AttributeCertificate.prototype, "signatureValue", void 0);
|
|
10837
11238
|
|
|
@@ -10854,10 +11255,10 @@ class SecurityCategory {
|
|
|
10854
11255
|
Object.assign(this, params);
|
|
10855
11256
|
}
|
|
10856
11257
|
}
|
|
10857
|
-
__decorate([
|
|
11258
|
+
__decorate$1([
|
|
10858
11259
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier, implicit: true, context: 0 })
|
|
10859
11260
|
], SecurityCategory.prototype, "type", void 0);
|
|
10860
|
-
__decorate([
|
|
11261
|
+
__decorate$1([
|
|
10861
11262
|
AsnProp({ type: AsnPropTypes.Any, implicit: true, context: 1 })
|
|
10862
11263
|
], SecurityCategory.prototype, "value", void 0);
|
|
10863
11264
|
|
|
@@ -10868,13 +11269,13 @@ class Clearance {
|
|
|
10868
11269
|
Object.assign(this, params);
|
|
10869
11270
|
}
|
|
10870
11271
|
}
|
|
10871
|
-
__decorate([
|
|
11272
|
+
__decorate$1([
|
|
10872
11273
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
10873
11274
|
], Clearance.prototype, "policyId", void 0);
|
|
10874
|
-
__decorate([
|
|
11275
|
+
__decorate$1([
|
|
10875
11276
|
AsnProp({ type: ClassList, defaultValue: new ClassList(ClassListFlags.unclassified) })
|
|
10876
11277
|
], Clearance.prototype, "classList", void 0);
|
|
10877
|
-
__decorate([
|
|
11278
|
+
__decorate$1([
|
|
10878
11279
|
AsnProp({ type: SecurityCategory, repeated: "set" })
|
|
10879
11280
|
], Clearance.prototype, "securityCategories", void 0);
|
|
10880
11281
|
|
|
@@ -10883,13 +11284,13 @@ class IetfAttrSyntaxValueChoices {
|
|
|
10883
11284
|
Object.assign(this, params);
|
|
10884
11285
|
}
|
|
10885
11286
|
}
|
|
10886
|
-
__decorate([
|
|
11287
|
+
__decorate$1([
|
|
10887
11288
|
AsnProp({ type: OctetString })
|
|
10888
11289
|
], IetfAttrSyntaxValueChoices.prototype, "cotets", void 0);
|
|
10889
|
-
__decorate([
|
|
11290
|
+
__decorate$1([
|
|
10890
11291
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
10891
11292
|
], IetfAttrSyntaxValueChoices.prototype, "oid", void 0);
|
|
10892
|
-
__decorate([
|
|
11293
|
+
__decorate$1([
|
|
10893
11294
|
AsnProp({ type: AsnPropTypes.Utf8String })
|
|
10894
11295
|
], IetfAttrSyntaxValueChoices.prototype, "string", void 0);
|
|
10895
11296
|
class IetfAttrSyntax {
|
|
@@ -10898,10 +11299,10 @@ class IetfAttrSyntax {
|
|
|
10898
11299
|
Object.assign(this, params);
|
|
10899
11300
|
}
|
|
10900
11301
|
}
|
|
10901
|
-
__decorate([
|
|
11302
|
+
__decorate$1([
|
|
10902
11303
|
AsnProp({ type: GeneralNames, implicit: true, context: 0, optional: true })
|
|
10903
11304
|
], IetfAttrSyntax.prototype, "policyAuthority", void 0);
|
|
10904
|
-
__decorate([
|
|
11305
|
+
__decorate$1([
|
|
10905
11306
|
AsnProp({ type: IetfAttrSyntaxValueChoices, repeated: "sequence" })
|
|
10906
11307
|
], IetfAttrSyntax.prototype, "values", void 0);
|
|
10907
11308
|
|
|
@@ -10912,13 +11313,13 @@ class TargetCert {
|
|
|
10912
11313
|
Object.assign(this, params);
|
|
10913
11314
|
}
|
|
10914
11315
|
}
|
|
10915
|
-
__decorate([
|
|
11316
|
+
__decorate$1([
|
|
10916
11317
|
AsnProp({ type: IssuerSerial })
|
|
10917
11318
|
], TargetCert.prototype, "targetCertificate", void 0);
|
|
10918
|
-
__decorate([
|
|
11319
|
+
__decorate$1([
|
|
10919
11320
|
AsnProp({ type: GeneralName, optional: true })
|
|
10920
11321
|
], TargetCert.prototype, "targetName", void 0);
|
|
10921
|
-
__decorate([
|
|
11322
|
+
__decorate$1([
|
|
10922
11323
|
AsnProp({ type: ObjectDigestInfo, optional: true })
|
|
10923
11324
|
], TargetCert.prototype, "certDigestInfo", void 0);
|
|
10924
11325
|
let Target = class Target {
|
|
@@ -10926,16 +11327,16 @@ let Target = class Target {
|
|
|
10926
11327
|
Object.assign(this, params);
|
|
10927
11328
|
}
|
|
10928
11329
|
};
|
|
10929
|
-
__decorate([
|
|
11330
|
+
__decorate$1([
|
|
10930
11331
|
AsnProp({ type: GeneralName, context: 0, implicit: true })
|
|
10931
11332
|
], Target.prototype, "targetName", void 0);
|
|
10932
|
-
__decorate([
|
|
11333
|
+
__decorate$1([
|
|
10933
11334
|
AsnProp({ type: GeneralName, context: 1, implicit: true })
|
|
10934
11335
|
], Target.prototype, "targetGroup", void 0);
|
|
10935
|
-
__decorate([
|
|
11336
|
+
__decorate$1([
|
|
10936
11337
|
AsnProp({ type: TargetCert, context: 2, implicit: true })
|
|
10937
11338
|
], Target.prototype, "targetCert", void 0);
|
|
10938
|
-
Target = __decorate([
|
|
11339
|
+
Target = __decorate$1([
|
|
10939
11340
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
10940
11341
|
], Target);
|
|
10941
11342
|
let Targets = Targets_1 = class Targets extends AsnArray {
|
|
@@ -10944,7 +11345,7 @@ let Targets = Targets_1 = class Targets extends AsnArray {
|
|
|
10944
11345
|
Object.setPrototypeOf(this, Targets_1.prototype);
|
|
10945
11346
|
}
|
|
10946
11347
|
};
|
|
10947
|
-
Targets = Targets_1 = __decorate([
|
|
11348
|
+
Targets = Targets_1 = __decorate$1([
|
|
10948
11349
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: Target })
|
|
10949
11350
|
], Targets);
|
|
10950
11351
|
|
|
@@ -10955,7 +11356,7 @@ let ProxyInfo = ProxyInfo_1 = class ProxyInfo extends AsnArray {
|
|
|
10955
11356
|
Object.setPrototypeOf(this, ProxyInfo_1.prototype);
|
|
10956
11357
|
}
|
|
10957
11358
|
};
|
|
10958
|
-
ProxyInfo = ProxyInfo_1 = __decorate([
|
|
11359
|
+
ProxyInfo = ProxyInfo_1 = __decorate$1([
|
|
10959
11360
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: Targets })
|
|
10960
11361
|
], ProxyInfo);
|
|
10961
11362
|
|
|
@@ -10964,10 +11365,10 @@ class RoleSyntax {
|
|
|
10964
11365
|
Object.assign(this, params);
|
|
10965
11366
|
}
|
|
10966
11367
|
}
|
|
10967
|
-
__decorate([
|
|
11368
|
+
__decorate$1([
|
|
10968
11369
|
AsnProp({ type: GeneralNames, implicit: true, context: 0, optional: true })
|
|
10969
11370
|
], RoleSyntax.prototype, "roleAuthority", void 0);
|
|
10970
|
-
__decorate([
|
|
11371
|
+
__decorate$1([
|
|
10971
11372
|
AsnProp({ type: GeneralName, implicit: true, context: 1 })
|
|
10972
11373
|
], RoleSyntax.prototype, "roleName", void 0);
|
|
10973
11374
|
|
|
@@ -10978,13 +11379,13 @@ class SvceAuthInfo {
|
|
|
10978
11379
|
Object.assign(this, params);
|
|
10979
11380
|
}
|
|
10980
11381
|
}
|
|
10981
|
-
__decorate([
|
|
11382
|
+
__decorate$1([
|
|
10982
11383
|
AsnProp({ type: GeneralName })
|
|
10983
11384
|
], SvceAuthInfo.prototype, "service", void 0);
|
|
10984
|
-
__decorate([
|
|
11385
|
+
__decorate$1([
|
|
10985
11386
|
AsnProp({ type: GeneralName })
|
|
10986
11387
|
], SvceAuthInfo.prototype, "ident", void 0);
|
|
10987
|
-
__decorate([
|
|
11388
|
+
__decorate$1([
|
|
10988
11389
|
AsnProp({ type: OctetString, optional: true })
|
|
10989
11390
|
], SvceAuthInfo.prototype, "authInfo", void 0);
|
|
10990
11391
|
|
|
@@ -11000,19 +11401,19 @@ let ActivityDescription = class ActivityDescription {
|
|
|
11000
11401
|
Object.assign(this, params);
|
|
11001
11402
|
}
|
|
11002
11403
|
};
|
|
11003
|
-
__decorate([
|
|
11404
|
+
__decorate$1([
|
|
11004
11405
|
AsnProp({ type: GeneralName, context: 0 })
|
|
11005
11406
|
], ActivityDescription.prototype, "codeAuthority", void 0);
|
|
11006
|
-
__decorate([
|
|
11407
|
+
__decorate$1([
|
|
11007
11408
|
AsnProp({ type: GeneralName, context: 1 })
|
|
11008
11409
|
], ActivityDescription.prototype, "codeId", void 0);
|
|
11009
|
-
__decorate([
|
|
11410
|
+
__decorate$1([
|
|
11010
11411
|
AsnProp({ type: AsnPropTypes.Utf8String, context: 2 })
|
|
11011
11412
|
], ActivityDescription.prototype, "shortName", void 0);
|
|
11012
|
-
__decorate([
|
|
11413
|
+
__decorate$1([
|
|
11013
11414
|
AsnProp({ type: AsnPropTypes.Utf8String, context: 3 })
|
|
11014
11415
|
], ActivityDescription.prototype, "shortDescription", void 0);
|
|
11015
|
-
ActivityDescription = __decorate([
|
|
11416
|
+
ActivityDescription = __decorate$1([
|
|
11016
11417
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11017
11418
|
], ActivityDescription);
|
|
11018
11419
|
|
|
@@ -11022,7 +11423,7 @@ let DomainName = class DomainName extends Name$1 {
|
|
|
11022
11423
|
Object.setPrototypeOf(this, Name$1.prototype);
|
|
11023
11424
|
}
|
|
11024
11425
|
};
|
|
11025
|
-
DomainName = __decorate([
|
|
11426
|
+
DomainName = __decorate$1([
|
|
11026
11427
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11027
11428
|
], DomainName);
|
|
11028
11429
|
|
|
@@ -11033,7 +11434,7 @@ let DomainNameBeneficiary = class DomainNameBeneficiary extends DomainName {
|
|
|
11033
11434
|
Object.setPrototypeOf(this, Name$1.prototype);
|
|
11034
11435
|
}
|
|
11035
11436
|
};
|
|
11036
|
-
DomainNameBeneficiary = __decorate([
|
|
11437
|
+
DomainNameBeneficiary = __decorate$1([
|
|
11037
11438
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11038
11439
|
], DomainNameBeneficiary);
|
|
11039
11440
|
|
|
@@ -11044,7 +11445,7 @@ let DomainNameLegalRepresentative = class DomainNameLegalRepresentative extends
|
|
|
11044
11445
|
Object.setPrototypeOf(this, Name$1.prototype);
|
|
11045
11446
|
}
|
|
11046
11447
|
};
|
|
11047
|
-
DomainNameLegalRepresentative = __decorate([
|
|
11448
|
+
DomainNameLegalRepresentative = __decorate$1([
|
|
11048
11449
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11049
11450
|
], DomainNameLegalRepresentative);
|
|
11050
11451
|
|
|
@@ -11055,7 +11456,7 @@ let DomainNameOwner = class DomainNameOwner extends DomainName {
|
|
|
11055
11456
|
Object.setPrototypeOf(this, Name$1.prototype);
|
|
11056
11457
|
}
|
|
11057
11458
|
};
|
|
11058
|
-
DomainNameOwner = __decorate([
|
|
11459
|
+
DomainNameOwner = __decorate$1([
|
|
11059
11460
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11060
11461
|
], DomainNameOwner);
|
|
11061
11462
|
|
|
@@ -11066,7 +11467,7 @@ let DomainNameTechnicalOperator = class DomainNameTechnicalOperator extends Doma
|
|
|
11066
11467
|
Object.setPrototypeOf(this, Name$1.prototype);
|
|
11067
11468
|
}
|
|
11068
11469
|
};
|
|
11069
|
-
DomainNameTechnicalOperator = __decorate([
|
|
11470
|
+
DomainNameTechnicalOperator = __decorate$1([
|
|
11070
11471
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11071
11472
|
], DomainNameTechnicalOperator);
|
|
11072
11473
|
|
|
@@ -11082,16 +11483,16 @@ let InsuranceValue = class InsuranceValue {
|
|
|
11082
11483
|
return `${this.base} x 10^${this.degree} ${this.location}`;
|
|
11083
11484
|
}
|
|
11084
11485
|
};
|
|
11085
|
-
__decorate([
|
|
11486
|
+
__decorate$1([
|
|
11086
11487
|
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
11087
11488
|
], InsuranceValue.prototype, "location", void 0);
|
|
11088
|
-
__decorate([
|
|
11489
|
+
__decorate$1([
|
|
11089
11490
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11090
11491
|
], InsuranceValue.prototype, "base", void 0);
|
|
11091
|
-
__decorate([
|
|
11492
|
+
__decorate$1([
|
|
11092
11493
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11093
11494
|
], InsuranceValue.prototype, "degree", void 0);
|
|
11094
|
-
InsuranceValue = __decorate([
|
|
11495
|
+
InsuranceValue = __decorate$1([
|
|
11095
11496
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11096
11497
|
], InsuranceValue);
|
|
11097
11498
|
|
|
@@ -11106,22 +11507,22 @@ let ValuationRanking = class ValuationRanking {
|
|
|
11106
11507
|
Object.assign(this, params);
|
|
11107
11508
|
}
|
|
11108
11509
|
};
|
|
11109
|
-
__decorate([
|
|
11510
|
+
__decorate$1([
|
|
11110
11511
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11111
11512
|
], ValuationRanking.prototype, "stars5", void 0);
|
|
11112
|
-
__decorate([
|
|
11513
|
+
__decorate$1([
|
|
11113
11514
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11114
11515
|
], ValuationRanking.prototype, "stars4", void 0);
|
|
11115
|
-
__decorate([
|
|
11516
|
+
__decorate$1([
|
|
11116
11517
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11117
11518
|
], ValuationRanking.prototype, "stars3", void 0);
|
|
11118
|
-
__decorate([
|
|
11519
|
+
__decorate$1([
|
|
11119
11520
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11120
11521
|
], ValuationRanking.prototype, "stars2", void 0);
|
|
11121
|
-
__decorate([
|
|
11522
|
+
__decorate$1([
|
|
11122
11523
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11123
11524
|
], ValuationRanking.prototype, "stars1", void 0);
|
|
11124
|
-
ValuationRanking = __decorate([
|
|
11525
|
+
ValuationRanking = __decorate$1([
|
|
11125
11526
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11126
11527
|
], ValuationRanking);
|
|
11127
11528
|
|
|
@@ -11134,16 +11535,16 @@ let TypeRelationship = class TypeRelationship {
|
|
|
11134
11535
|
Object.assign(this, params);
|
|
11135
11536
|
}
|
|
11136
11537
|
};
|
|
11137
|
-
__decorate([
|
|
11538
|
+
__decorate$1([
|
|
11138
11539
|
AsnProp({ type: BitString, context: 0 })
|
|
11139
11540
|
], TypeRelationship.prototype, "DNBvsDNO", void 0);
|
|
11140
|
-
__decorate([
|
|
11541
|
+
__decorate$1([
|
|
11141
11542
|
AsnProp({ type: BitString, context: 1 })
|
|
11142
11543
|
], TypeRelationship.prototype, "DNBvsDNT", void 0);
|
|
11143
|
-
__decorate([
|
|
11544
|
+
__decorate$1([
|
|
11144
11545
|
AsnProp({ type: BitString, context: 2 })
|
|
11145
11546
|
], TypeRelationship.prototype, "DNOvsDNT", void 0);
|
|
11146
|
-
TypeRelationship = __decorate([
|
|
11547
|
+
TypeRelationship = __decorate$1([
|
|
11147
11548
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11148
11549
|
], TypeRelationship);
|
|
11149
11550
|
|
|
@@ -11158,25 +11559,94 @@ let WebGDPR = class WebGDPR {
|
|
|
11158
11559
|
Object.assign(this, params);
|
|
11159
11560
|
}
|
|
11160
11561
|
};
|
|
11161
|
-
__decorate([
|
|
11562
|
+
__decorate$1([
|
|
11162
11563
|
AsnProp({ type: GeneralName, context: 0 })
|
|
11163
11564
|
], WebGDPR.prototype, "assessmentAuthority", void 0);
|
|
11164
|
-
__decorate([
|
|
11565
|
+
__decorate$1([
|
|
11165
11566
|
AsnProp({ type: GeneralName, context: 1 })
|
|
11166
11567
|
], WebGDPR.prototype, "assessmentRef", void 0);
|
|
11167
|
-
__decorate([
|
|
11568
|
+
__decorate$1([
|
|
11168
11569
|
AsnProp({ type: GeneralName, context: 2 })
|
|
11169
11570
|
], WebGDPR.prototype, "assessmentLocation", void 0);
|
|
11170
|
-
__decorate([
|
|
11571
|
+
__decorate$1([
|
|
11171
11572
|
AsnProp({ type: AsnPropTypes.PrintableString, context: 3 })
|
|
11172
11573
|
], WebGDPR.prototype, "dataStorageTerritory", void 0);
|
|
11173
|
-
__decorate([
|
|
11574
|
+
__decorate$1([
|
|
11174
11575
|
AsnProp({ type: AsnPropTypes.Utf8String, context: 4 })
|
|
11175
11576
|
], WebGDPR.prototype, "description", void 0);
|
|
11176
|
-
WebGDPR = __decorate([
|
|
11577
|
+
WebGDPR = __decorate$1([
|
|
11177
11578
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11178
11579
|
], WebGDPR);
|
|
11179
11580
|
|
|
11581
|
+
class IssuerAndSerialNumber {
|
|
11582
|
+
constructor(params = {}) {
|
|
11583
|
+
this.issuer = new Name$1;
|
|
11584
|
+
this.serialNumber = new ArrayBuffer(0);
|
|
11585
|
+
Object.assign(this, params);
|
|
11586
|
+
}
|
|
11587
|
+
}
|
|
11588
|
+
__decorate$1([
|
|
11589
|
+
AsnProp({ type: Name$1 })
|
|
11590
|
+
], IssuerAndSerialNumber.prototype, "issuer", void 0);
|
|
11591
|
+
__decorate$1([
|
|
11592
|
+
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
11593
|
+
], IssuerAndSerialNumber.prototype, "serialNumber", void 0);
|
|
11594
|
+
|
|
11595
|
+
let SignerIdentifier = class SignerIdentifier {
|
|
11596
|
+
constructor(params = {}) {
|
|
11597
|
+
Object.assign(this, params);
|
|
11598
|
+
}
|
|
11599
|
+
};
|
|
11600
|
+
__decorate$1([
|
|
11601
|
+
AsnProp({ type: SubjectKeyIdentifier, context: 0, implicit: true })
|
|
11602
|
+
], SignerIdentifier.prototype, "subjectKeyIdentifier", void 0);
|
|
11603
|
+
__decorate$1([
|
|
11604
|
+
AsnProp({ type: IssuerAndSerialNumber })
|
|
11605
|
+
], SignerIdentifier.prototype, "issuerAndSerialNumber", void 0);
|
|
11606
|
+
SignerIdentifier = __decorate$1([
|
|
11607
|
+
AsnType({ type: AsnTypeTypes.Choice })
|
|
11608
|
+
], SignerIdentifier);
|
|
11609
|
+
|
|
11610
|
+
var CMSVersion;
|
|
11611
|
+
(function (CMSVersion) {
|
|
11612
|
+
CMSVersion[CMSVersion["v0"] = 0] = "v0";
|
|
11613
|
+
CMSVersion[CMSVersion["v1"] = 1] = "v1";
|
|
11614
|
+
CMSVersion[CMSVersion["v2"] = 2] = "v2";
|
|
11615
|
+
CMSVersion[CMSVersion["v3"] = 3] = "v3";
|
|
11616
|
+
CMSVersion[CMSVersion["v4"] = 4] = "v4";
|
|
11617
|
+
CMSVersion[CMSVersion["v5"] = 5] = "v5";
|
|
11618
|
+
})(CMSVersion || (CMSVersion = {}));
|
|
11619
|
+
let DigestAlgorithmIdentifier = class DigestAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11620
|
+
};
|
|
11621
|
+
DigestAlgorithmIdentifier = __decorate$1([
|
|
11622
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11623
|
+
], DigestAlgorithmIdentifier);
|
|
11624
|
+
let SignatureAlgorithmIdentifier = class SignatureAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11625
|
+
};
|
|
11626
|
+
SignatureAlgorithmIdentifier = __decorate$1([
|
|
11627
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11628
|
+
], SignatureAlgorithmIdentifier);
|
|
11629
|
+
let KeyEncryptionAlgorithmIdentifier = class KeyEncryptionAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11630
|
+
};
|
|
11631
|
+
KeyEncryptionAlgorithmIdentifier = __decorate$1([
|
|
11632
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11633
|
+
], KeyEncryptionAlgorithmIdentifier);
|
|
11634
|
+
let ContentEncryptionAlgorithmIdentifier = class ContentEncryptionAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11635
|
+
};
|
|
11636
|
+
ContentEncryptionAlgorithmIdentifier = __decorate$1([
|
|
11637
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11638
|
+
], ContentEncryptionAlgorithmIdentifier);
|
|
11639
|
+
let MessageAuthenticationCodeAlgorithm = class MessageAuthenticationCodeAlgorithm extends AlgorithmIdentifier {
|
|
11640
|
+
};
|
|
11641
|
+
MessageAuthenticationCodeAlgorithm = __decorate$1([
|
|
11642
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11643
|
+
], MessageAuthenticationCodeAlgorithm);
|
|
11644
|
+
let KeyDerivationAlgorithmIdentifier = class KeyDerivationAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11645
|
+
};
|
|
11646
|
+
KeyDerivationAlgorithmIdentifier = __decorate$1([
|
|
11647
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11648
|
+
], KeyDerivationAlgorithmIdentifier);
|
|
11649
|
+
|
|
11180
11650
|
class Attribute {
|
|
11181
11651
|
constructor(params = {}) {
|
|
11182
11652
|
this.attrType = "";
|
|
@@ -11184,13 +11654,66 @@ class Attribute {
|
|
|
11184
11654
|
Object.assign(this, params);
|
|
11185
11655
|
}
|
|
11186
11656
|
}
|
|
11187
|
-
__decorate([
|
|
11657
|
+
__decorate$1([
|
|
11188
11658
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11189
11659
|
], Attribute.prototype, "attrType", void 0);
|
|
11190
|
-
__decorate([
|
|
11660
|
+
__decorate$1([
|
|
11191
11661
|
AsnProp({ type: AsnPropTypes.Any, repeated: "set" })
|
|
11192
11662
|
], Attribute.prototype, "attrValues", void 0);
|
|
11193
11663
|
|
|
11664
|
+
var SignerInfos_1;
|
|
11665
|
+
class SignerInfo {
|
|
11666
|
+
constructor(params = {}) {
|
|
11667
|
+
this.version = CMSVersion.v0;
|
|
11668
|
+
this.sid = new SignerIdentifier();
|
|
11669
|
+
this.digestAlgorithm = new DigestAlgorithmIdentifier();
|
|
11670
|
+
this.signatureAlgorithm = new SignatureAlgorithmIdentifier();
|
|
11671
|
+
this.signature = new OctetString();
|
|
11672
|
+
Object.assign(this, params);
|
|
11673
|
+
}
|
|
11674
|
+
}
|
|
11675
|
+
__decorate$1([
|
|
11676
|
+
AsnProp({ type: AsnPropTypes.Integer })
|
|
11677
|
+
], SignerInfo.prototype, "version", void 0);
|
|
11678
|
+
__decorate$1([
|
|
11679
|
+
AsnProp({ type: SignerIdentifier })
|
|
11680
|
+
], SignerInfo.prototype, "sid", void 0);
|
|
11681
|
+
__decorate$1([
|
|
11682
|
+
AsnProp({ type: DigestAlgorithmIdentifier })
|
|
11683
|
+
], SignerInfo.prototype, "digestAlgorithm", void 0);
|
|
11684
|
+
__decorate$1([
|
|
11685
|
+
AsnProp({ type: Attribute, repeated: "set", context: 0, implicit: true, optional: true })
|
|
11686
|
+
], SignerInfo.prototype, "signedAttrs", void 0);
|
|
11687
|
+
__decorate$1([
|
|
11688
|
+
AsnProp({ type: SignatureAlgorithmIdentifier })
|
|
11689
|
+
], SignerInfo.prototype, "signatureAlgorithm", void 0);
|
|
11690
|
+
__decorate$1([
|
|
11691
|
+
AsnProp({ type: OctetString })
|
|
11692
|
+
], SignerInfo.prototype, "signature", void 0);
|
|
11693
|
+
__decorate$1([
|
|
11694
|
+
AsnProp({ type: Attribute, repeated: "set", context: 1, implicit: true, optional: true })
|
|
11695
|
+
], SignerInfo.prototype, "unsignedAttrs", void 0);
|
|
11696
|
+
let SignerInfos = SignerInfos_1 = class SignerInfos extends AsnArray {
|
|
11697
|
+
constructor(items) {
|
|
11698
|
+
super(items);
|
|
11699
|
+
Object.setPrototypeOf(this, SignerInfos_1.prototype);
|
|
11700
|
+
}
|
|
11701
|
+
};
|
|
11702
|
+
SignerInfos = SignerInfos_1 = __decorate$1([
|
|
11703
|
+
AsnType({ type: AsnTypeTypes.Set, itemType: SignerInfo })
|
|
11704
|
+
], SignerInfos);
|
|
11705
|
+
|
|
11706
|
+
let SigningTime$1 = class SigningTime extends Time {
|
|
11707
|
+
};
|
|
11708
|
+
SigningTime$1 = __decorate$1([
|
|
11709
|
+
AsnType({ type: AsnTypeTypes.Choice })
|
|
11710
|
+
], SigningTime$1);
|
|
11711
|
+
let CounterSignature$1 = class CounterSignature extends SignerInfo {
|
|
11712
|
+
};
|
|
11713
|
+
CounterSignature$1 = __decorate$1([
|
|
11714
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11715
|
+
], CounterSignature$1);
|
|
11716
|
+
|
|
11194
11717
|
var CertificateSet_1;
|
|
11195
11718
|
class OtherCertificateFormat {
|
|
11196
11719
|
constructor(params = {}) {
|
|
@@ -11199,10 +11722,10 @@ class OtherCertificateFormat {
|
|
|
11199
11722
|
Object.assign(this, params);
|
|
11200
11723
|
}
|
|
11201
11724
|
}
|
|
11202
|
-
__decorate([
|
|
11725
|
+
__decorate$1([
|
|
11203
11726
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11204
11727
|
], OtherCertificateFormat.prototype, "otherCertFormat", void 0);
|
|
11205
|
-
__decorate([
|
|
11728
|
+
__decorate$1([
|
|
11206
11729
|
AsnProp({ type: AsnPropTypes.Any })
|
|
11207
11730
|
], OtherCertificateFormat.prototype, "otherCert", void 0);
|
|
11208
11731
|
let CertificateChoices = class CertificateChoices {
|
|
@@ -11210,16 +11733,16 @@ let CertificateChoices = class CertificateChoices {
|
|
|
11210
11733
|
Object.assign(this, params);
|
|
11211
11734
|
}
|
|
11212
11735
|
};
|
|
11213
|
-
__decorate([
|
|
11736
|
+
__decorate$1([
|
|
11214
11737
|
AsnProp({ type: Certificate })
|
|
11215
11738
|
], CertificateChoices.prototype, "certificate", void 0);
|
|
11216
|
-
__decorate([
|
|
11739
|
+
__decorate$1([
|
|
11217
11740
|
AsnProp({ type: AttributeCertificate, context: 2, implicit: true })
|
|
11218
11741
|
], CertificateChoices.prototype, "v2AttrCert", void 0);
|
|
11219
|
-
__decorate([
|
|
11742
|
+
__decorate$1([
|
|
11220
11743
|
AsnProp({ type: OtherCertificateFormat, context: 3, implicit: true })
|
|
11221
11744
|
], CertificateChoices.prototype, "other", void 0);
|
|
11222
|
-
CertificateChoices = __decorate([
|
|
11745
|
+
CertificateChoices = __decorate$1([
|
|
11223
11746
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
11224
11747
|
], CertificateChoices);
|
|
11225
11748
|
let CertificateSet = CertificateSet_1 = class CertificateSet extends AsnArray {
|
|
@@ -11228,7 +11751,7 @@ let CertificateSet = CertificateSet_1 = class CertificateSet extends AsnArray {
|
|
|
11228
11751
|
Object.setPrototypeOf(this, CertificateSet_1.prototype);
|
|
11229
11752
|
}
|
|
11230
11753
|
};
|
|
11231
|
-
CertificateSet = CertificateSet_1 = __decorate([
|
|
11754
|
+
CertificateSet = CertificateSet_1 = __decorate$1([
|
|
11232
11755
|
AsnType({ type: AsnTypeTypes.Set, itemType: CertificateChoices })
|
|
11233
11756
|
], CertificateSet);
|
|
11234
11757
|
|
|
@@ -11239,10 +11762,10 @@ class ContentInfo {
|
|
|
11239
11762
|
Object.assign(this, params);
|
|
11240
11763
|
}
|
|
11241
11764
|
}
|
|
11242
|
-
__decorate([
|
|
11765
|
+
__decorate$1([
|
|
11243
11766
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11244
11767
|
], ContentInfo.prototype, "contentType", void 0);
|
|
11245
|
-
__decorate([
|
|
11768
|
+
__decorate$1([
|
|
11246
11769
|
AsnProp({ type: AsnPropTypes.Any, context: 0 })
|
|
11247
11770
|
], ContentInfo.prototype, "content", void 0);
|
|
11248
11771
|
|
|
@@ -11251,13 +11774,13 @@ let EncapsulatedContent = class EncapsulatedContent {
|
|
|
11251
11774
|
Object.assign(this, params);
|
|
11252
11775
|
}
|
|
11253
11776
|
};
|
|
11254
|
-
__decorate([
|
|
11777
|
+
__decorate$1([
|
|
11255
11778
|
AsnProp({ type: OctetString })
|
|
11256
11779
|
], EncapsulatedContent.prototype, "single", void 0);
|
|
11257
|
-
__decorate([
|
|
11780
|
+
__decorate$1([
|
|
11258
11781
|
AsnProp({ type: AsnPropTypes.Any })
|
|
11259
11782
|
], EncapsulatedContent.prototype, "any", void 0);
|
|
11260
|
-
EncapsulatedContent = __decorate([
|
|
11783
|
+
EncapsulatedContent = __decorate$1([
|
|
11261
11784
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
11262
11785
|
], EncapsulatedContent);
|
|
11263
11786
|
class EncapsulatedContentInfo {
|
|
@@ -11266,65 +11789,25 @@ class EncapsulatedContentInfo {
|
|
|
11266
11789
|
Object.assign(this, params);
|
|
11267
11790
|
}
|
|
11268
11791
|
}
|
|
11269
|
-
__decorate([
|
|
11792
|
+
__decorate$1([
|
|
11270
11793
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11271
11794
|
], EncapsulatedContentInfo.prototype, "eContentType", void 0);
|
|
11272
|
-
__decorate([
|
|
11795
|
+
__decorate$1([
|
|
11273
11796
|
AsnProp({ type: EncapsulatedContent, context: 0, optional: true })
|
|
11274
11797
|
], EncapsulatedContentInfo.prototype, "eContent", void 0);
|
|
11275
11798
|
|
|
11276
|
-
var CMSVersion;
|
|
11277
|
-
(function (CMSVersion) {
|
|
11278
|
-
CMSVersion[CMSVersion["v0"] = 0] = "v0";
|
|
11279
|
-
CMSVersion[CMSVersion["v1"] = 1] = "v1";
|
|
11280
|
-
CMSVersion[CMSVersion["v2"] = 2] = "v2";
|
|
11281
|
-
CMSVersion[CMSVersion["v3"] = 3] = "v3";
|
|
11282
|
-
CMSVersion[CMSVersion["v4"] = 4] = "v4";
|
|
11283
|
-
CMSVersion[CMSVersion["v5"] = 5] = "v5";
|
|
11284
|
-
})(CMSVersion || (CMSVersion = {}));
|
|
11285
|
-
let DigestAlgorithmIdentifier = class DigestAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11286
|
-
};
|
|
11287
|
-
DigestAlgorithmIdentifier = __decorate([
|
|
11288
|
-
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11289
|
-
], DigestAlgorithmIdentifier);
|
|
11290
|
-
let SignatureAlgorithmIdentifier = class SignatureAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11291
|
-
};
|
|
11292
|
-
SignatureAlgorithmIdentifier = __decorate([
|
|
11293
|
-
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11294
|
-
], SignatureAlgorithmIdentifier);
|
|
11295
|
-
let KeyEncryptionAlgorithmIdentifier = class KeyEncryptionAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11296
|
-
};
|
|
11297
|
-
KeyEncryptionAlgorithmIdentifier = __decorate([
|
|
11298
|
-
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11299
|
-
], KeyEncryptionAlgorithmIdentifier);
|
|
11300
|
-
let ContentEncryptionAlgorithmIdentifier = class ContentEncryptionAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11301
|
-
};
|
|
11302
|
-
ContentEncryptionAlgorithmIdentifier = __decorate([
|
|
11303
|
-
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11304
|
-
], ContentEncryptionAlgorithmIdentifier);
|
|
11305
|
-
let MessageAuthenticationCodeAlgorithm = class MessageAuthenticationCodeAlgorithm extends AlgorithmIdentifier {
|
|
11306
|
-
};
|
|
11307
|
-
MessageAuthenticationCodeAlgorithm = __decorate([
|
|
11308
|
-
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11309
|
-
], MessageAuthenticationCodeAlgorithm);
|
|
11310
|
-
let KeyDerivationAlgorithmIdentifier = class KeyDerivationAlgorithmIdentifier extends AlgorithmIdentifier {
|
|
11311
|
-
};
|
|
11312
|
-
KeyDerivationAlgorithmIdentifier = __decorate([
|
|
11313
|
-
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11314
|
-
], KeyDerivationAlgorithmIdentifier);
|
|
11315
|
-
|
|
11316
11799
|
let EncryptedContent = class EncryptedContent {
|
|
11317
11800
|
constructor(params = {}) {
|
|
11318
11801
|
Object.assign(this, params);
|
|
11319
11802
|
}
|
|
11320
11803
|
};
|
|
11321
|
-
__decorate([
|
|
11804
|
+
__decorate$1([
|
|
11322
11805
|
AsnProp({ type: OctetString, context: 0, implicit: true, optional: true })
|
|
11323
11806
|
], EncryptedContent.prototype, "value", void 0);
|
|
11324
|
-
__decorate([
|
|
11807
|
+
__decorate$1([
|
|
11325
11808
|
AsnProp({ type: OctetString, converter: AsnConstructedOctetStringConverter, context: 0, implicit: true, optional: true, repeated: "sequence" })
|
|
11326
11809
|
], EncryptedContent.prototype, "constructedValue", void 0);
|
|
11327
|
-
EncryptedContent = __decorate([
|
|
11810
|
+
EncryptedContent = __decorate$1([
|
|
11328
11811
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
11329
11812
|
], EncryptedContent);
|
|
11330
11813
|
class EncryptedContentInfo {
|
|
@@ -11334,40 +11817,26 @@ class EncryptedContentInfo {
|
|
|
11334
11817
|
Object.assign(this, params);
|
|
11335
11818
|
}
|
|
11336
11819
|
}
|
|
11337
|
-
__decorate([
|
|
11820
|
+
__decorate$1([
|
|
11338
11821
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11339
11822
|
], EncryptedContentInfo.prototype, "contentType", void 0);
|
|
11340
|
-
__decorate([
|
|
11823
|
+
__decorate$1([
|
|
11341
11824
|
AsnProp({ type: ContentEncryptionAlgorithmIdentifier })
|
|
11342
11825
|
], EncryptedContentInfo.prototype, "contentEncryptionAlgorithm", void 0);
|
|
11343
|
-
__decorate([
|
|
11826
|
+
__decorate$1([
|
|
11344
11827
|
AsnProp({ type: EncryptedContent, optional: true })
|
|
11345
11828
|
], EncryptedContentInfo.prototype, "encryptedContent", void 0);
|
|
11346
11829
|
|
|
11347
|
-
class IssuerAndSerialNumber {
|
|
11348
|
-
constructor(params = {}) {
|
|
11349
|
-
this.issuer = new Name$1;
|
|
11350
|
-
this.serialNumber = new ArrayBuffer(0);
|
|
11351
|
-
Object.assign(this, params);
|
|
11352
|
-
}
|
|
11353
|
-
}
|
|
11354
|
-
__decorate([
|
|
11355
|
-
AsnProp({ type: Name$1 })
|
|
11356
|
-
], IssuerAndSerialNumber.prototype, "issuer", void 0);
|
|
11357
|
-
__decorate([
|
|
11358
|
-
AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter })
|
|
11359
|
-
], IssuerAndSerialNumber.prototype, "serialNumber", void 0);
|
|
11360
|
-
|
|
11361
11830
|
class OtherKeyAttribute {
|
|
11362
11831
|
constructor(params = {}) {
|
|
11363
11832
|
this.keyAttrId = "";
|
|
11364
11833
|
Object.assign(this, params);
|
|
11365
11834
|
}
|
|
11366
11835
|
}
|
|
11367
|
-
__decorate([
|
|
11836
|
+
__decorate$1([
|
|
11368
11837
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11369
11838
|
], OtherKeyAttribute.prototype, "keyAttrId", void 0);
|
|
11370
|
-
__decorate([
|
|
11839
|
+
__decorate$1([
|
|
11371
11840
|
AsnProp({ type: AsnPropTypes.Any, optional: true })
|
|
11372
11841
|
], OtherKeyAttribute.prototype, "keyAttr", void 0);
|
|
11373
11842
|
|
|
@@ -11378,13 +11847,13 @@ class RecipientKeyIdentifier {
|
|
|
11378
11847
|
Object.assign(this, params);
|
|
11379
11848
|
}
|
|
11380
11849
|
}
|
|
11381
|
-
__decorate([
|
|
11850
|
+
__decorate$1([
|
|
11382
11851
|
AsnProp({ type: SubjectKeyIdentifier })
|
|
11383
11852
|
], RecipientKeyIdentifier.prototype, "subjectKeyIdentifier", void 0);
|
|
11384
|
-
__decorate([
|
|
11853
|
+
__decorate$1([
|
|
11385
11854
|
AsnProp({ type: AsnPropTypes.GeneralizedTime, optional: true })
|
|
11386
11855
|
], RecipientKeyIdentifier.prototype, "date", void 0);
|
|
11387
|
-
__decorate([
|
|
11856
|
+
__decorate$1([
|
|
11388
11857
|
AsnProp({ type: OtherKeyAttribute, optional: true })
|
|
11389
11858
|
], RecipientKeyIdentifier.prototype, "other", void 0);
|
|
11390
11859
|
let KeyAgreeRecipientIdentifier = class KeyAgreeRecipientIdentifier {
|
|
@@ -11392,13 +11861,13 @@ let KeyAgreeRecipientIdentifier = class KeyAgreeRecipientIdentifier {
|
|
|
11392
11861
|
Object.assign(this, params);
|
|
11393
11862
|
}
|
|
11394
11863
|
};
|
|
11395
|
-
__decorate([
|
|
11864
|
+
__decorate$1([
|
|
11396
11865
|
AsnProp({ type: RecipientKeyIdentifier, context: 0, implicit: true, optional: true })
|
|
11397
11866
|
], KeyAgreeRecipientIdentifier.prototype, "rKeyId", void 0);
|
|
11398
|
-
__decorate([
|
|
11867
|
+
__decorate$1([
|
|
11399
11868
|
AsnProp({ type: IssuerAndSerialNumber, optional: true })
|
|
11400
11869
|
], KeyAgreeRecipientIdentifier.prototype, "issuerAndSerialNumber", void 0);
|
|
11401
|
-
KeyAgreeRecipientIdentifier = __decorate([
|
|
11870
|
+
KeyAgreeRecipientIdentifier = __decorate$1([
|
|
11402
11871
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
11403
11872
|
], KeyAgreeRecipientIdentifier);
|
|
11404
11873
|
class RecipientEncryptedKey {
|
|
@@ -11408,10 +11877,10 @@ class RecipientEncryptedKey {
|
|
|
11408
11877
|
Object.assign(this, params);
|
|
11409
11878
|
}
|
|
11410
11879
|
}
|
|
11411
|
-
__decorate([
|
|
11880
|
+
__decorate$1([
|
|
11412
11881
|
AsnProp({ type: KeyAgreeRecipientIdentifier })
|
|
11413
11882
|
], RecipientEncryptedKey.prototype, "rid", void 0);
|
|
11414
|
-
__decorate([
|
|
11883
|
+
__decorate$1([
|
|
11415
11884
|
AsnProp({ type: OctetString })
|
|
11416
11885
|
], RecipientEncryptedKey.prototype, "encryptedKey", void 0);
|
|
11417
11886
|
let RecipientEncryptedKeys = RecipientEncryptedKeys_1 = class RecipientEncryptedKeys extends AsnArray {
|
|
@@ -11420,7 +11889,7 @@ let RecipientEncryptedKeys = RecipientEncryptedKeys_1 = class RecipientEncrypted
|
|
|
11420
11889
|
Object.setPrototypeOf(this, RecipientEncryptedKeys_1.prototype);
|
|
11421
11890
|
}
|
|
11422
11891
|
};
|
|
11423
|
-
RecipientEncryptedKeys = RecipientEncryptedKeys_1 = __decorate([
|
|
11892
|
+
RecipientEncryptedKeys = RecipientEncryptedKeys_1 = __decorate$1([
|
|
11424
11893
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: RecipientEncryptedKey })
|
|
11425
11894
|
], RecipientEncryptedKeys);
|
|
11426
11895
|
class OriginatorPublicKey {
|
|
@@ -11430,10 +11899,10 @@ class OriginatorPublicKey {
|
|
|
11430
11899
|
Object.assign(this, params);
|
|
11431
11900
|
}
|
|
11432
11901
|
}
|
|
11433
|
-
__decorate([
|
|
11902
|
+
__decorate$1([
|
|
11434
11903
|
AsnProp({ type: AlgorithmIdentifier })
|
|
11435
11904
|
], OriginatorPublicKey.prototype, "algorithm", void 0);
|
|
11436
|
-
__decorate([
|
|
11905
|
+
__decorate$1([
|
|
11437
11906
|
AsnProp({ type: AsnPropTypes.BitString })
|
|
11438
11907
|
], OriginatorPublicKey.prototype, "publicKey", void 0);
|
|
11439
11908
|
let OriginatorIdentifierOrKey = class OriginatorIdentifierOrKey {
|
|
@@ -11441,16 +11910,16 @@ let OriginatorIdentifierOrKey = class OriginatorIdentifierOrKey {
|
|
|
11441
11910
|
Object.assign(this, params);
|
|
11442
11911
|
}
|
|
11443
11912
|
};
|
|
11444
|
-
__decorate([
|
|
11913
|
+
__decorate$1([
|
|
11445
11914
|
AsnProp({ type: SubjectKeyIdentifier, context: 0, implicit: true, optional: true })
|
|
11446
11915
|
], OriginatorIdentifierOrKey.prototype, "subjectKeyIdentifier", void 0);
|
|
11447
|
-
__decorate([
|
|
11916
|
+
__decorate$1([
|
|
11448
11917
|
AsnProp({ type: OriginatorPublicKey, context: 1, implicit: true, optional: true })
|
|
11449
11918
|
], OriginatorIdentifierOrKey.prototype, "originatorKey", void 0);
|
|
11450
|
-
__decorate([
|
|
11919
|
+
__decorate$1([
|
|
11451
11920
|
AsnProp({ type: IssuerAndSerialNumber, optional: true })
|
|
11452
11921
|
], OriginatorIdentifierOrKey.prototype, "issuerAndSerialNumber", void 0);
|
|
11453
|
-
OriginatorIdentifierOrKey = __decorate([
|
|
11922
|
+
OriginatorIdentifierOrKey = __decorate$1([
|
|
11454
11923
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
11455
11924
|
], OriginatorIdentifierOrKey);
|
|
11456
11925
|
class KeyAgreeRecipientInfo {
|
|
@@ -11462,19 +11931,19 @@ class KeyAgreeRecipientInfo {
|
|
|
11462
11931
|
Object.assign(this, params);
|
|
11463
11932
|
}
|
|
11464
11933
|
}
|
|
11465
|
-
__decorate([
|
|
11934
|
+
__decorate$1([
|
|
11466
11935
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11467
11936
|
], KeyAgreeRecipientInfo.prototype, "version", void 0);
|
|
11468
|
-
__decorate([
|
|
11937
|
+
__decorate$1([
|
|
11469
11938
|
AsnProp({ type: OriginatorIdentifierOrKey, context: 0 })
|
|
11470
11939
|
], KeyAgreeRecipientInfo.prototype, "originator", void 0);
|
|
11471
|
-
__decorate([
|
|
11940
|
+
__decorate$1([
|
|
11472
11941
|
AsnProp({ type: OctetString, context: 1, optional: true })
|
|
11473
11942
|
], KeyAgreeRecipientInfo.prototype, "ukm", void 0);
|
|
11474
|
-
__decorate([
|
|
11943
|
+
__decorate$1([
|
|
11475
11944
|
AsnProp({ type: KeyEncryptionAlgorithmIdentifier })
|
|
11476
11945
|
], KeyAgreeRecipientInfo.prototype, "keyEncryptionAlgorithm", void 0);
|
|
11477
|
-
__decorate([
|
|
11946
|
+
__decorate$1([
|
|
11478
11947
|
AsnProp({ type: RecipientEncryptedKeys })
|
|
11479
11948
|
], KeyAgreeRecipientInfo.prototype, "recipientEncryptedKeys", void 0);
|
|
11480
11949
|
|
|
@@ -11483,13 +11952,13 @@ let RecipientIdentifier = class RecipientIdentifier {
|
|
|
11483
11952
|
Object.assign(this, params);
|
|
11484
11953
|
}
|
|
11485
11954
|
};
|
|
11486
|
-
__decorate([
|
|
11955
|
+
__decorate$1([
|
|
11487
11956
|
AsnProp({ type: SubjectKeyIdentifier, context: 0, implicit: true })
|
|
11488
11957
|
], RecipientIdentifier.prototype, "subjectKeyIdentifier", void 0);
|
|
11489
|
-
__decorate([
|
|
11958
|
+
__decorate$1([
|
|
11490
11959
|
AsnProp({ type: IssuerAndSerialNumber })
|
|
11491
11960
|
], RecipientIdentifier.prototype, "issuerAndSerialNumber", void 0);
|
|
11492
|
-
RecipientIdentifier = __decorate([
|
|
11961
|
+
RecipientIdentifier = __decorate$1([
|
|
11493
11962
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
11494
11963
|
], RecipientIdentifier);
|
|
11495
11964
|
class KeyTransRecipientInfo {
|
|
@@ -11501,16 +11970,16 @@ class KeyTransRecipientInfo {
|
|
|
11501
11970
|
Object.assign(this, params);
|
|
11502
11971
|
}
|
|
11503
11972
|
}
|
|
11504
|
-
__decorate([
|
|
11973
|
+
__decorate$1([
|
|
11505
11974
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11506
11975
|
], KeyTransRecipientInfo.prototype, "version", void 0);
|
|
11507
|
-
__decorate([
|
|
11976
|
+
__decorate$1([
|
|
11508
11977
|
AsnProp({ type: RecipientIdentifier })
|
|
11509
11978
|
], KeyTransRecipientInfo.prototype, "rid", void 0);
|
|
11510
|
-
__decorate([
|
|
11979
|
+
__decorate$1([
|
|
11511
11980
|
AsnProp({ type: KeyEncryptionAlgorithmIdentifier })
|
|
11512
11981
|
], KeyTransRecipientInfo.prototype, "keyEncryptionAlgorithm", void 0);
|
|
11513
|
-
__decorate([
|
|
11982
|
+
__decorate$1([
|
|
11514
11983
|
AsnProp({ type: OctetString })
|
|
11515
11984
|
], KeyTransRecipientInfo.prototype, "encryptedKey", void 0);
|
|
11516
11985
|
|
|
@@ -11520,13 +11989,13 @@ class KEKIdentifier {
|
|
|
11520
11989
|
Object.assign(this, params);
|
|
11521
11990
|
}
|
|
11522
11991
|
}
|
|
11523
|
-
__decorate([
|
|
11992
|
+
__decorate$1([
|
|
11524
11993
|
AsnProp({ type: OctetString })
|
|
11525
11994
|
], KEKIdentifier.prototype, "keyIdentifier", void 0);
|
|
11526
|
-
__decorate([
|
|
11995
|
+
__decorate$1([
|
|
11527
11996
|
AsnProp({ type: AsnPropTypes.GeneralizedTime, optional: true })
|
|
11528
11997
|
], KEKIdentifier.prototype, "date", void 0);
|
|
11529
|
-
__decorate([
|
|
11998
|
+
__decorate$1([
|
|
11530
11999
|
AsnProp({ type: OtherKeyAttribute, optional: true })
|
|
11531
12000
|
], KEKIdentifier.prototype, "other", void 0);
|
|
11532
12001
|
class KEKRecipientInfo {
|
|
@@ -11538,16 +12007,16 @@ class KEKRecipientInfo {
|
|
|
11538
12007
|
Object.assign(this, params);
|
|
11539
12008
|
}
|
|
11540
12009
|
}
|
|
11541
|
-
__decorate([
|
|
12010
|
+
__decorate$1([
|
|
11542
12011
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11543
12012
|
], KEKRecipientInfo.prototype, "version", void 0);
|
|
11544
|
-
__decorate([
|
|
12013
|
+
__decorate$1([
|
|
11545
12014
|
AsnProp({ type: KEKIdentifier })
|
|
11546
12015
|
], KEKRecipientInfo.prototype, "kekid", void 0);
|
|
11547
|
-
__decorate([
|
|
12016
|
+
__decorate$1([
|
|
11548
12017
|
AsnProp({ type: KeyEncryptionAlgorithmIdentifier })
|
|
11549
12018
|
], KEKRecipientInfo.prototype, "keyEncryptionAlgorithm", void 0);
|
|
11550
|
-
__decorate([
|
|
12019
|
+
__decorate$1([
|
|
11551
12020
|
AsnProp({ type: OctetString })
|
|
11552
12021
|
], KEKRecipientInfo.prototype, "encryptedKey", void 0);
|
|
11553
12022
|
|
|
@@ -11559,16 +12028,16 @@ class PasswordRecipientInfo {
|
|
|
11559
12028
|
Object.assign(this, params);
|
|
11560
12029
|
}
|
|
11561
12030
|
}
|
|
11562
|
-
__decorate([
|
|
12031
|
+
__decorate$1([
|
|
11563
12032
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11564
12033
|
], PasswordRecipientInfo.prototype, "version", void 0);
|
|
11565
|
-
__decorate([
|
|
12034
|
+
__decorate$1([
|
|
11566
12035
|
AsnProp({ type: KeyDerivationAlgorithmIdentifier, context: 0, optional: true })
|
|
11567
12036
|
], PasswordRecipientInfo.prototype, "keyDerivationAlgorithm", void 0);
|
|
11568
|
-
__decorate([
|
|
12037
|
+
__decorate$1([
|
|
11569
12038
|
AsnProp({ type: KeyEncryptionAlgorithmIdentifier })
|
|
11570
12039
|
], PasswordRecipientInfo.prototype, "keyEncryptionAlgorithm", void 0);
|
|
11571
|
-
__decorate([
|
|
12040
|
+
__decorate$1([
|
|
11572
12041
|
AsnProp({ type: OctetString })
|
|
11573
12042
|
], PasswordRecipientInfo.prototype, "encryptedKey", void 0);
|
|
11574
12043
|
|
|
@@ -11579,10 +12048,10 @@ class OtherRecipientInfo {
|
|
|
11579
12048
|
Object.assign(this, params);
|
|
11580
12049
|
}
|
|
11581
12050
|
}
|
|
11582
|
-
__decorate([
|
|
12051
|
+
__decorate$1([
|
|
11583
12052
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11584
12053
|
], OtherRecipientInfo.prototype, "oriType", void 0);
|
|
11585
|
-
__decorate([
|
|
12054
|
+
__decorate$1([
|
|
11586
12055
|
AsnProp({ type: AsnPropTypes.Any })
|
|
11587
12056
|
], OtherRecipientInfo.prototype, "oriValue", void 0);
|
|
11588
12057
|
let RecipientInfo = class RecipientInfo {
|
|
@@ -11590,22 +12059,22 @@ let RecipientInfo = class RecipientInfo {
|
|
|
11590
12059
|
Object.assign(this, params);
|
|
11591
12060
|
}
|
|
11592
12061
|
};
|
|
11593
|
-
__decorate([
|
|
12062
|
+
__decorate$1([
|
|
11594
12063
|
AsnProp({ type: KeyTransRecipientInfo, optional: true })
|
|
11595
12064
|
], RecipientInfo.prototype, "ktri", void 0);
|
|
11596
|
-
__decorate([
|
|
12065
|
+
__decorate$1([
|
|
11597
12066
|
AsnProp({ type: KeyAgreeRecipientInfo, context: 1, implicit: true, optional: true })
|
|
11598
12067
|
], RecipientInfo.prototype, "kari", void 0);
|
|
11599
|
-
__decorate([
|
|
12068
|
+
__decorate$1([
|
|
11600
12069
|
AsnProp({ type: KEKRecipientInfo, context: 2, implicit: true, optional: true })
|
|
11601
12070
|
], RecipientInfo.prototype, "kekri", void 0);
|
|
11602
|
-
__decorate([
|
|
12071
|
+
__decorate$1([
|
|
11603
12072
|
AsnProp({ type: PasswordRecipientInfo, context: 3, implicit: true, optional: true })
|
|
11604
12073
|
], RecipientInfo.prototype, "pwri", void 0);
|
|
11605
|
-
__decorate([
|
|
12074
|
+
__decorate$1([
|
|
11606
12075
|
AsnProp({ type: OtherRecipientInfo, context: 4, implicit: true, optional: true })
|
|
11607
12076
|
], RecipientInfo.prototype, "ori", void 0);
|
|
11608
|
-
RecipientInfo = __decorate([
|
|
12077
|
+
RecipientInfo = __decorate$1([
|
|
11609
12078
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
11610
12079
|
], RecipientInfo);
|
|
11611
12080
|
|
|
@@ -11616,7 +12085,7 @@ let RecipientInfos = RecipientInfos_1 = class RecipientInfos extends AsnArray {
|
|
|
11616
12085
|
Object.setPrototypeOf(this, RecipientInfos_1.prototype);
|
|
11617
12086
|
}
|
|
11618
12087
|
};
|
|
11619
|
-
RecipientInfos = RecipientInfos_1 = __decorate([
|
|
12088
|
+
RecipientInfos = RecipientInfos_1 = __decorate$1([
|
|
11620
12089
|
AsnType({ type: AsnTypeTypes.Set, itemType: RecipientInfo })
|
|
11621
12090
|
], RecipientInfos);
|
|
11622
12091
|
|
|
@@ -11628,10 +12097,10 @@ class OtherRevocationInfoFormat {
|
|
|
11628
12097
|
Object.assign(this, params);
|
|
11629
12098
|
}
|
|
11630
12099
|
}
|
|
11631
|
-
__decorate([
|
|
12100
|
+
__decorate$1([
|
|
11632
12101
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11633
12102
|
], OtherRevocationInfoFormat.prototype, "otherRevInfoFormat", void 0);
|
|
11634
|
-
__decorate([
|
|
12103
|
+
__decorate$1([
|
|
11635
12104
|
AsnProp({ type: AsnPropTypes.Any })
|
|
11636
12105
|
], OtherRevocationInfoFormat.prototype, "otherRevInfo", void 0);
|
|
11637
12106
|
let RevocationInfoChoice = class RevocationInfoChoice {
|
|
@@ -11640,10 +12109,10 @@ let RevocationInfoChoice = class RevocationInfoChoice {
|
|
|
11640
12109
|
Object.assign(this, params);
|
|
11641
12110
|
}
|
|
11642
12111
|
};
|
|
11643
|
-
__decorate([
|
|
12112
|
+
__decorate$1([
|
|
11644
12113
|
AsnProp({ type: OtherRevocationInfoFormat, context: 1, implicit: true })
|
|
11645
12114
|
], RevocationInfoChoice.prototype, "other", void 0);
|
|
11646
|
-
RevocationInfoChoice = __decorate([
|
|
12115
|
+
RevocationInfoChoice = __decorate$1([
|
|
11647
12116
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
11648
12117
|
], RevocationInfoChoice);
|
|
11649
12118
|
let RevocationInfoChoices = RevocationInfoChoices_1 = class RevocationInfoChoices extends AsnArray {
|
|
@@ -11652,7 +12121,7 @@ let RevocationInfoChoices = RevocationInfoChoices_1 = class RevocationInfoChoice
|
|
|
11652
12121
|
Object.setPrototypeOf(this, RevocationInfoChoices_1.prototype);
|
|
11653
12122
|
}
|
|
11654
12123
|
};
|
|
11655
|
-
RevocationInfoChoices = RevocationInfoChoices_1 = __decorate([
|
|
12124
|
+
RevocationInfoChoices = RevocationInfoChoices_1 = __decorate$1([
|
|
11656
12125
|
AsnType({ type: AsnTypeTypes.Set, itemType: RevocationInfoChoice })
|
|
11657
12126
|
], RevocationInfoChoices);
|
|
11658
12127
|
|
|
@@ -11661,10 +12130,10 @@ class OriginatorInfo {
|
|
|
11661
12130
|
Object.assign(this, params);
|
|
11662
12131
|
}
|
|
11663
12132
|
}
|
|
11664
|
-
__decorate([
|
|
12133
|
+
__decorate$1([
|
|
11665
12134
|
AsnProp({ type: CertificateSet, context: 0, implicit: true, optional: true })
|
|
11666
12135
|
], OriginatorInfo.prototype, "certs", void 0);
|
|
11667
|
-
__decorate([
|
|
12136
|
+
__decorate$1([
|
|
11668
12137
|
AsnProp({ type: RevocationInfoChoices, context: 1, implicit: true, optional: true })
|
|
11669
12138
|
], OriginatorInfo.prototype, "crls", void 0);
|
|
11670
12139
|
|
|
@@ -11675,7 +12144,7 @@ let UnprotectedAttributes = UnprotectedAttributes_1 = class UnprotectedAttribute
|
|
|
11675
12144
|
Object.setPrototypeOf(this, UnprotectedAttributes_1.prototype);
|
|
11676
12145
|
}
|
|
11677
12146
|
};
|
|
11678
|
-
UnprotectedAttributes = UnprotectedAttributes_1 = __decorate([
|
|
12147
|
+
UnprotectedAttributes = UnprotectedAttributes_1 = __decorate$1([
|
|
11679
12148
|
AsnType({ type: AsnTypeTypes.Set, itemType: Attribute })
|
|
11680
12149
|
], UnprotectedAttributes);
|
|
11681
12150
|
class EnvelopedData {
|
|
@@ -11686,79 +12155,22 @@ class EnvelopedData {
|
|
|
11686
12155
|
Object.assign(this, params);
|
|
11687
12156
|
}
|
|
11688
12157
|
}
|
|
11689
|
-
__decorate([
|
|
12158
|
+
__decorate$1([
|
|
11690
12159
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11691
12160
|
], EnvelopedData.prototype, "version", void 0);
|
|
11692
|
-
__decorate([
|
|
12161
|
+
__decorate$1([
|
|
11693
12162
|
AsnProp({ type: OriginatorInfo, context: 0, implicit: true, optional: true })
|
|
11694
12163
|
], EnvelopedData.prototype, "originatorInfo", void 0);
|
|
11695
|
-
__decorate([
|
|
12164
|
+
__decorate$1([
|
|
11696
12165
|
AsnProp({ type: RecipientInfos })
|
|
11697
12166
|
], EnvelopedData.prototype, "recipientInfos", void 0);
|
|
11698
|
-
__decorate([
|
|
12167
|
+
__decorate$1([
|
|
11699
12168
|
AsnProp({ type: EncryptedContentInfo })
|
|
11700
12169
|
], EnvelopedData.prototype, "encryptedContentInfo", void 0);
|
|
11701
|
-
__decorate([
|
|
12170
|
+
__decorate$1([
|
|
11702
12171
|
AsnProp({ type: UnprotectedAttributes, context: 1, implicit: true, optional: true })
|
|
11703
12172
|
], EnvelopedData.prototype, "unprotectedAttrs", void 0);
|
|
11704
12173
|
|
|
11705
|
-
let SignerIdentifier = class SignerIdentifier {
|
|
11706
|
-
constructor(params = {}) {
|
|
11707
|
-
Object.assign(this, params);
|
|
11708
|
-
}
|
|
11709
|
-
};
|
|
11710
|
-
__decorate([
|
|
11711
|
-
AsnProp({ type: SubjectKeyIdentifier, context: 0, implicit: true })
|
|
11712
|
-
], SignerIdentifier.prototype, "subjectKeyIdentifier", void 0);
|
|
11713
|
-
__decorate([
|
|
11714
|
-
AsnProp({ type: IssuerAndSerialNumber })
|
|
11715
|
-
], SignerIdentifier.prototype, "issuerAndSerialNumber", void 0);
|
|
11716
|
-
SignerIdentifier = __decorate([
|
|
11717
|
-
AsnType({ type: AsnTypeTypes.Choice })
|
|
11718
|
-
], SignerIdentifier);
|
|
11719
|
-
|
|
11720
|
-
var SignerInfos_1;
|
|
11721
|
-
class SignerInfo {
|
|
11722
|
-
constructor(params = {}) {
|
|
11723
|
-
this.version = CMSVersion.v0;
|
|
11724
|
-
this.sid = new SignerIdentifier();
|
|
11725
|
-
this.digestAlgorithm = new DigestAlgorithmIdentifier();
|
|
11726
|
-
this.signatureAlgorithm = new SignatureAlgorithmIdentifier();
|
|
11727
|
-
this.signature = new OctetString();
|
|
11728
|
-
Object.assign(this, params);
|
|
11729
|
-
}
|
|
11730
|
-
}
|
|
11731
|
-
__decorate([
|
|
11732
|
-
AsnProp({ type: AsnPropTypes.Integer })
|
|
11733
|
-
], SignerInfo.prototype, "version", void 0);
|
|
11734
|
-
__decorate([
|
|
11735
|
-
AsnProp({ type: SignerIdentifier })
|
|
11736
|
-
], SignerInfo.prototype, "sid", void 0);
|
|
11737
|
-
__decorate([
|
|
11738
|
-
AsnProp({ type: DigestAlgorithmIdentifier })
|
|
11739
|
-
], SignerInfo.prototype, "digestAlgorithm", void 0);
|
|
11740
|
-
__decorate([
|
|
11741
|
-
AsnProp({ type: Attribute, repeated: "set", context: 0, implicit: true, optional: true })
|
|
11742
|
-
], SignerInfo.prototype, "signedAttrs", void 0);
|
|
11743
|
-
__decorate([
|
|
11744
|
-
AsnProp({ type: SignatureAlgorithmIdentifier })
|
|
11745
|
-
], SignerInfo.prototype, "signatureAlgorithm", void 0);
|
|
11746
|
-
__decorate([
|
|
11747
|
-
AsnProp({ type: OctetString })
|
|
11748
|
-
], SignerInfo.prototype, "signature", void 0);
|
|
11749
|
-
__decorate([
|
|
11750
|
-
AsnProp({ type: Attribute, repeated: "set", context: 1, implicit: true, optional: true })
|
|
11751
|
-
], SignerInfo.prototype, "unsignedAttrs", void 0);
|
|
11752
|
-
let SignerInfos = SignerInfos_1 = class SignerInfos extends AsnArray {
|
|
11753
|
-
constructor(items) {
|
|
11754
|
-
super(items);
|
|
11755
|
-
Object.setPrototypeOf(this, SignerInfos_1.prototype);
|
|
11756
|
-
}
|
|
11757
|
-
};
|
|
11758
|
-
SignerInfos = SignerInfos_1 = __decorate([
|
|
11759
|
-
AsnType({ type: AsnTypeTypes.Set, itemType: SignerInfo })
|
|
11760
|
-
], SignerInfos);
|
|
11761
|
-
|
|
11762
12174
|
var DigestAlgorithmIdentifiers_1;
|
|
11763
12175
|
let DigestAlgorithmIdentifiers = DigestAlgorithmIdentifiers_1 = class DigestAlgorithmIdentifiers extends AsnArray {
|
|
11764
12176
|
constructor(items) {
|
|
@@ -11766,7 +12178,7 @@ let DigestAlgorithmIdentifiers = DigestAlgorithmIdentifiers_1 = class DigestAlgo
|
|
|
11766
12178
|
Object.setPrototypeOf(this, DigestAlgorithmIdentifiers_1.prototype);
|
|
11767
12179
|
}
|
|
11768
12180
|
};
|
|
11769
|
-
DigestAlgorithmIdentifiers = DigestAlgorithmIdentifiers_1 = __decorate([
|
|
12181
|
+
DigestAlgorithmIdentifiers = DigestAlgorithmIdentifiers_1 = __decorate$1([
|
|
11770
12182
|
AsnType({ type: AsnTypeTypes.Set, itemType: DigestAlgorithmIdentifier })
|
|
11771
12183
|
], DigestAlgorithmIdentifiers);
|
|
11772
12184
|
class SignedData {
|
|
@@ -11778,22 +12190,22 @@ class SignedData {
|
|
|
11778
12190
|
Object.assign(this, params);
|
|
11779
12191
|
}
|
|
11780
12192
|
}
|
|
11781
|
-
__decorate([
|
|
12193
|
+
__decorate$1([
|
|
11782
12194
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11783
12195
|
], SignedData.prototype, "version", void 0);
|
|
11784
|
-
__decorate([
|
|
12196
|
+
__decorate$1([
|
|
11785
12197
|
AsnProp({ type: DigestAlgorithmIdentifiers })
|
|
11786
12198
|
], SignedData.prototype, "digestAlgorithms", void 0);
|
|
11787
|
-
__decorate([
|
|
12199
|
+
__decorate$1([
|
|
11788
12200
|
AsnProp({ type: EncapsulatedContentInfo })
|
|
11789
12201
|
], SignedData.prototype, "encapContentInfo", void 0);
|
|
11790
|
-
__decorate([
|
|
12202
|
+
__decorate$1([
|
|
11791
12203
|
AsnProp({ type: CertificateSet, context: 0, implicit: true, optional: true })
|
|
11792
12204
|
], SignedData.prototype, "certificates", void 0);
|
|
11793
|
-
__decorate([
|
|
12205
|
+
__decorate$1([
|
|
11794
12206
|
AsnProp({ type: RevocationInfoChoice, context: 1, implicit: true, optional: true })
|
|
11795
12207
|
], SignedData.prototype, "crls", void 0);
|
|
11796
|
-
__decorate([
|
|
12208
|
+
__decorate$1([
|
|
11797
12209
|
AsnProp({ type: SignerInfos })
|
|
11798
12210
|
], SignedData.prototype, "signerInfos", void 0);
|
|
11799
12211
|
|
|
@@ -11805,10 +12217,10 @@ class PKCS12Attribute {
|
|
|
11805
12217
|
Object.assign(params);
|
|
11806
12218
|
}
|
|
11807
12219
|
}
|
|
11808
|
-
__decorate([
|
|
12220
|
+
__decorate$1([
|
|
11809
12221
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11810
12222
|
], PKCS12Attribute.prototype, "attrId", void 0);
|
|
11811
|
-
__decorate([
|
|
12223
|
+
__decorate$1([
|
|
11812
12224
|
AsnProp({ type: AsnPropTypes.Any, repeated: "set" })
|
|
11813
12225
|
], PKCS12Attribute.prototype, "attrValues", void 0);
|
|
11814
12226
|
let PKCS12AttrSet = PKCS12AttrSet_1 = class PKCS12AttrSet extends AsnArray {
|
|
@@ -11817,7 +12229,7 @@ let PKCS12AttrSet = PKCS12AttrSet_1 = class PKCS12AttrSet extends AsnArray {
|
|
|
11817
12229
|
Object.setPrototypeOf(this, PKCS12AttrSet_1.prototype);
|
|
11818
12230
|
}
|
|
11819
12231
|
};
|
|
11820
|
-
PKCS12AttrSet = PKCS12AttrSet_1 = __decorate([
|
|
12232
|
+
PKCS12AttrSet = PKCS12AttrSet_1 = __decorate$1([
|
|
11821
12233
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: PKCS12Attribute })
|
|
11822
12234
|
], PKCS12AttrSet);
|
|
11823
12235
|
|
|
@@ -11828,7 +12240,7 @@ let AuthenticatedSafe = AuthenticatedSafe_1 = class AuthenticatedSafe extends As
|
|
|
11828
12240
|
Object.setPrototypeOf(this, AuthenticatedSafe_1.prototype);
|
|
11829
12241
|
}
|
|
11830
12242
|
};
|
|
11831
|
-
AuthenticatedSafe = AuthenticatedSafe_1 = __decorate([
|
|
12243
|
+
AuthenticatedSafe = AuthenticatedSafe_1 = __decorate$1([
|
|
11832
12244
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: ContentInfo })
|
|
11833
12245
|
], AuthenticatedSafe);
|
|
11834
12246
|
|
|
@@ -11839,10 +12251,10 @@ class CertBag {
|
|
|
11839
12251
|
Object.assign(this, params);
|
|
11840
12252
|
}
|
|
11841
12253
|
}
|
|
11842
|
-
__decorate([
|
|
12254
|
+
__decorate$1([
|
|
11843
12255
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11844
12256
|
], CertBag.prototype, "certId", void 0);
|
|
11845
|
-
__decorate([
|
|
12257
|
+
__decorate$1([
|
|
11846
12258
|
AsnProp({ type: AsnPropTypes.Any, context: 0 })
|
|
11847
12259
|
], CertBag.prototype, "certValue", void 0);
|
|
11848
12260
|
|
|
@@ -11853,22 +12265,22 @@ class CRLBag {
|
|
|
11853
12265
|
Object.assign(this, params);
|
|
11854
12266
|
}
|
|
11855
12267
|
}
|
|
11856
|
-
__decorate([
|
|
12268
|
+
__decorate$1([
|
|
11857
12269
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11858
12270
|
], CRLBag.prototype, "crlId", void 0);
|
|
11859
|
-
__decorate([
|
|
12271
|
+
__decorate$1([
|
|
11860
12272
|
AsnProp({ type: AsnPropTypes.Any, context: 0 })
|
|
11861
12273
|
], CRLBag.prototype, "crltValue", void 0);
|
|
11862
12274
|
|
|
11863
12275
|
let KeyBag = class KeyBag extends PrivateKeyInfo$1 {
|
|
11864
12276
|
};
|
|
11865
|
-
KeyBag = __decorate([
|
|
12277
|
+
KeyBag = __decorate$1([
|
|
11866
12278
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11867
12279
|
], KeyBag);
|
|
11868
12280
|
|
|
11869
12281
|
let PKCS8ShroudedKeyBag = class PKCS8ShroudedKeyBag extends EncryptedPrivateKeyInfo$1 {
|
|
11870
12282
|
};
|
|
11871
|
-
PKCS8ShroudedKeyBag = __decorate([
|
|
12283
|
+
PKCS8ShroudedKeyBag = __decorate$1([
|
|
11872
12284
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11873
12285
|
], PKCS8ShroudedKeyBag);
|
|
11874
12286
|
|
|
@@ -11879,10 +12291,10 @@ class SecretBag {
|
|
|
11879
12291
|
Object.assign(this, params);
|
|
11880
12292
|
}
|
|
11881
12293
|
}
|
|
11882
|
-
__decorate([
|
|
12294
|
+
__decorate$1([
|
|
11883
12295
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11884
12296
|
], SecretBag.prototype, "secretTypeId", void 0);
|
|
11885
|
-
__decorate([
|
|
12297
|
+
__decorate$1([
|
|
11886
12298
|
AsnProp({ type: AsnPropTypes.Any, context: 0 })
|
|
11887
12299
|
], SecretBag.prototype, "secretValue", void 0);
|
|
11888
12300
|
|
|
@@ -11894,13 +12306,13 @@ class MacData {
|
|
|
11894
12306
|
Object.assign(this, params);
|
|
11895
12307
|
}
|
|
11896
12308
|
}
|
|
11897
|
-
__decorate([
|
|
12309
|
+
__decorate$1([
|
|
11898
12310
|
AsnProp({ type: DigestInfo })
|
|
11899
12311
|
], MacData.prototype, "mac", void 0);
|
|
11900
|
-
__decorate([
|
|
12312
|
+
__decorate$1([
|
|
11901
12313
|
AsnProp({ type: OctetString })
|
|
11902
12314
|
], MacData.prototype, "macSalt", void 0);
|
|
11903
|
-
__decorate([
|
|
12315
|
+
__decorate$1([
|
|
11904
12316
|
AsnProp({ type: AsnPropTypes.Integer, defaultValue: 1 })
|
|
11905
12317
|
], MacData.prototype, "iterations", void 0);
|
|
11906
12318
|
|
|
@@ -11912,13 +12324,13 @@ class PFX {
|
|
|
11912
12324
|
Object.assign(this, params);
|
|
11913
12325
|
}
|
|
11914
12326
|
}
|
|
11915
|
-
__decorate([
|
|
12327
|
+
__decorate$1([
|
|
11916
12328
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
11917
12329
|
], PFX.prototype, "version", void 0);
|
|
11918
|
-
__decorate([
|
|
12330
|
+
__decorate$1([
|
|
11919
12331
|
AsnProp({ type: ContentInfo })
|
|
11920
12332
|
], PFX.prototype, "authSafe", void 0);
|
|
11921
|
-
__decorate([
|
|
12333
|
+
__decorate$1([
|
|
11922
12334
|
AsnProp({ type: MacData, optional: true })
|
|
11923
12335
|
], PFX.prototype, "macData", void 0);
|
|
11924
12336
|
|
|
@@ -11930,13 +12342,13 @@ class SafeBag {
|
|
|
11930
12342
|
Object.assign(this, params);
|
|
11931
12343
|
}
|
|
11932
12344
|
}
|
|
11933
|
-
__decorate([
|
|
12345
|
+
__decorate$1([
|
|
11934
12346
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
11935
12347
|
], SafeBag.prototype, "bagId", void 0);
|
|
11936
|
-
__decorate([
|
|
12348
|
+
__decorate$1([
|
|
11937
12349
|
AsnProp({ type: AsnPropTypes.Any, context: 0 })
|
|
11938
12350
|
], SafeBag.prototype, "bagValue", void 0);
|
|
11939
|
-
__decorate([
|
|
12351
|
+
__decorate$1([
|
|
11940
12352
|
AsnProp({ type: PKCS12Attribute, repeated: "set", optional: true })
|
|
11941
12353
|
], SafeBag.prototype, "bagAttributes", void 0);
|
|
11942
12354
|
let SafeContents = SafeContents_1 = class SafeContents extends AsnArray {
|
|
@@ -11945,7 +12357,7 @@ let SafeContents = SafeContents_1 = class SafeContents extends AsnArray {
|
|
|
11945
12357
|
Object.setPrototypeOf(this, SafeContents_1.prototype);
|
|
11946
12358
|
}
|
|
11947
12359
|
};
|
|
11948
|
-
SafeContents = SafeContents_1 = __decorate([
|
|
12360
|
+
SafeContents = SafeContents_1 = __decorate$1([
|
|
11949
12361
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: SafeBag })
|
|
11950
12362
|
], SafeContents);
|
|
11951
12363
|
|
|
@@ -11964,25 +12376,25 @@ let PKCS9String = class PKCS9String extends DirectoryString {
|
|
|
11964
12376
|
return this.ia5String || super.toString();
|
|
11965
12377
|
}
|
|
11966
12378
|
};
|
|
11967
|
-
__decorate([
|
|
12379
|
+
__decorate$1([
|
|
11968
12380
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
11969
12381
|
], PKCS9String.prototype, "ia5String", void 0);
|
|
11970
|
-
PKCS9String = __decorate([
|
|
12382
|
+
PKCS9String = __decorate$1([
|
|
11971
12383
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
11972
12384
|
], PKCS9String);
|
|
11973
12385
|
let Pkcs7PDU = class Pkcs7PDU extends ContentInfo {
|
|
11974
12386
|
};
|
|
11975
|
-
Pkcs7PDU = __decorate([
|
|
12387
|
+
Pkcs7PDU = __decorate$1([
|
|
11976
12388
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11977
12389
|
], Pkcs7PDU);
|
|
11978
12390
|
let UserPKCS12 = class UserPKCS12 extends PFX {
|
|
11979
12391
|
};
|
|
11980
|
-
UserPKCS12 = __decorate([
|
|
12392
|
+
UserPKCS12 = __decorate$1([
|
|
11981
12393
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11982
12394
|
], UserPKCS12);
|
|
11983
12395
|
let EncryptedPrivateKeyInfo = class EncryptedPrivateKeyInfo extends EncryptedPrivateKeyInfo$1 {
|
|
11984
12396
|
};
|
|
11985
|
-
EncryptedPrivateKeyInfo = __decorate([
|
|
12397
|
+
EncryptedPrivateKeyInfo = __decorate$1([
|
|
11986
12398
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
11987
12399
|
], EncryptedPrivateKeyInfo);
|
|
11988
12400
|
let EmailAddress = class EmailAddress {
|
|
@@ -11993,20 +12405,20 @@ let EmailAddress = class EmailAddress {
|
|
|
11993
12405
|
return this.value;
|
|
11994
12406
|
}
|
|
11995
12407
|
};
|
|
11996
|
-
__decorate([
|
|
12408
|
+
__decorate$1([
|
|
11997
12409
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
11998
12410
|
], EmailAddress.prototype, "value", void 0);
|
|
11999
|
-
EmailAddress = __decorate([
|
|
12411
|
+
EmailAddress = __decorate$1([
|
|
12000
12412
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12001
12413
|
], EmailAddress);
|
|
12002
12414
|
let UnstructuredName = class UnstructuredName extends PKCS9String {
|
|
12003
12415
|
};
|
|
12004
|
-
UnstructuredName = __decorate([
|
|
12416
|
+
UnstructuredName = __decorate$1([
|
|
12005
12417
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12006
12418
|
], UnstructuredName);
|
|
12007
12419
|
let UnstructuredAddress = class UnstructuredAddress extends DirectoryString {
|
|
12008
12420
|
};
|
|
12009
|
-
UnstructuredAddress = __decorate([
|
|
12421
|
+
UnstructuredAddress = __decorate$1([
|
|
12010
12422
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12011
12423
|
], UnstructuredAddress);
|
|
12012
12424
|
let DateOfBirth = class DateOfBirth {
|
|
@@ -12014,15 +12426,15 @@ let DateOfBirth = class DateOfBirth {
|
|
|
12014
12426
|
this.value = value;
|
|
12015
12427
|
}
|
|
12016
12428
|
};
|
|
12017
|
-
__decorate([
|
|
12429
|
+
__decorate$1([
|
|
12018
12430
|
AsnProp({ type: AsnPropTypes.GeneralizedTime })
|
|
12019
12431
|
], DateOfBirth.prototype, "value", void 0);
|
|
12020
|
-
DateOfBirth = __decorate([
|
|
12432
|
+
DateOfBirth = __decorate$1([
|
|
12021
12433
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12022
12434
|
], DateOfBirth);
|
|
12023
12435
|
let PlaceOfBirth = class PlaceOfBirth extends DirectoryString {
|
|
12024
12436
|
};
|
|
12025
|
-
PlaceOfBirth = __decorate([
|
|
12437
|
+
PlaceOfBirth = __decorate$1([
|
|
12026
12438
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12027
12439
|
], PlaceOfBirth);
|
|
12028
12440
|
let Gender = class Gender {
|
|
@@ -12033,10 +12445,10 @@ let Gender = class Gender {
|
|
|
12033
12445
|
return this.value;
|
|
12034
12446
|
}
|
|
12035
12447
|
};
|
|
12036
|
-
__decorate([
|
|
12448
|
+
__decorate$1([
|
|
12037
12449
|
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
12038
12450
|
], Gender.prototype, "value", void 0);
|
|
12039
|
-
Gender = __decorate([
|
|
12451
|
+
Gender = __decorate$1([
|
|
12040
12452
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12041
12453
|
], Gender);
|
|
12042
12454
|
let CountryOfCitizenship = class CountryOfCitizenship {
|
|
@@ -12047,20 +12459,20 @@ let CountryOfCitizenship = class CountryOfCitizenship {
|
|
|
12047
12459
|
return this.value;
|
|
12048
12460
|
}
|
|
12049
12461
|
};
|
|
12050
|
-
__decorate([
|
|
12462
|
+
__decorate$1([
|
|
12051
12463
|
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
12052
12464
|
], CountryOfCitizenship.prototype, "value", void 0);
|
|
12053
|
-
CountryOfCitizenship = __decorate([
|
|
12465
|
+
CountryOfCitizenship = __decorate$1([
|
|
12054
12466
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12055
12467
|
], CountryOfCitizenship);
|
|
12056
12468
|
let CountryOfResidence = class CountryOfResidence extends CountryOfCitizenship {
|
|
12057
12469
|
};
|
|
12058
|
-
CountryOfResidence = __decorate([
|
|
12470
|
+
CountryOfResidence = __decorate$1([
|
|
12059
12471
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12060
12472
|
], CountryOfResidence);
|
|
12061
12473
|
let Pseudonym = class Pseudonym extends DirectoryString {
|
|
12062
12474
|
};
|
|
12063
|
-
Pseudonym = __decorate([
|
|
12475
|
+
Pseudonym = __decorate$1([
|
|
12064
12476
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12065
12477
|
], Pseudonym);
|
|
12066
12478
|
let ContentType = class ContentType {
|
|
@@ -12071,15 +12483,15 @@ let ContentType = class ContentType {
|
|
|
12071
12483
|
return this.value;
|
|
12072
12484
|
}
|
|
12073
12485
|
};
|
|
12074
|
-
__decorate([
|
|
12486
|
+
__decorate$1([
|
|
12075
12487
|
AsnProp({ type: AsnPropTypes.ObjectIdentifier })
|
|
12076
12488
|
], ContentType.prototype, "value", void 0);
|
|
12077
|
-
ContentType = __decorate([
|
|
12489
|
+
ContentType = __decorate$1([
|
|
12078
12490
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12079
12491
|
], ContentType);
|
|
12080
12492
|
let SigningTime = class SigningTime extends Time {
|
|
12081
12493
|
};
|
|
12082
|
-
SigningTime = __decorate([
|
|
12494
|
+
SigningTime = __decorate$1([
|
|
12083
12495
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12084
12496
|
], SigningTime);
|
|
12085
12497
|
let SequenceNumber = class SequenceNumber {
|
|
@@ -12090,20 +12502,20 @@ let SequenceNumber = class SequenceNumber {
|
|
|
12090
12502
|
return this.value.toString();
|
|
12091
12503
|
}
|
|
12092
12504
|
};
|
|
12093
|
-
__decorate([
|
|
12505
|
+
__decorate$1([
|
|
12094
12506
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
12095
12507
|
], SequenceNumber.prototype, "value", void 0);
|
|
12096
|
-
SequenceNumber = __decorate([
|
|
12508
|
+
SequenceNumber = __decorate$1([
|
|
12097
12509
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12098
12510
|
], SequenceNumber);
|
|
12099
12511
|
let CounterSignature = class CounterSignature extends SignerInfo {
|
|
12100
12512
|
};
|
|
12101
|
-
CounterSignature = __decorate([
|
|
12513
|
+
CounterSignature = __decorate$1([
|
|
12102
12514
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
12103
12515
|
], CounterSignature);
|
|
12104
12516
|
let ChallengePassword = class ChallengePassword extends DirectoryString {
|
|
12105
12517
|
};
|
|
12106
|
-
ChallengePassword = __decorate([
|
|
12518
|
+
ChallengePassword = __decorate$1([
|
|
12107
12519
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12108
12520
|
], ChallengePassword);
|
|
12109
12521
|
let ExtensionRequest = ExtensionRequest_1 = class ExtensionRequest extends Extensions$1 {
|
|
@@ -12112,7 +12524,7 @@ let ExtensionRequest = ExtensionRequest_1 = class ExtensionRequest extends Exten
|
|
|
12112
12524
|
Object.setPrototypeOf(this, ExtensionRequest_1.prototype);
|
|
12113
12525
|
}
|
|
12114
12526
|
};
|
|
12115
|
-
ExtensionRequest = ExtensionRequest_1 = __decorate([
|
|
12527
|
+
ExtensionRequest = ExtensionRequest_1 = __decorate$1([
|
|
12116
12528
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
12117
12529
|
], ExtensionRequest);
|
|
12118
12530
|
let ExtendedCertificateAttributes = ExtendedCertificateAttributes_1 = class ExtendedCertificateAttributes extends AsnArray {
|
|
@@ -12121,7 +12533,7 @@ let ExtendedCertificateAttributes = ExtendedCertificateAttributes_1 = class Exte
|
|
|
12121
12533
|
Object.setPrototypeOf(this, ExtendedCertificateAttributes_1.prototype);
|
|
12122
12534
|
}
|
|
12123
12535
|
};
|
|
12124
|
-
ExtendedCertificateAttributes = ExtendedCertificateAttributes_1 = __decorate([
|
|
12536
|
+
ExtendedCertificateAttributes = ExtendedCertificateAttributes_1 = __decorate$1([
|
|
12125
12537
|
AsnType({ type: AsnTypeTypes.Set, itemType: Attribute })
|
|
12126
12538
|
], ExtendedCertificateAttributes);
|
|
12127
12539
|
let FriendlyName = class FriendlyName {
|
|
@@ -12132,15 +12544,15 @@ let FriendlyName = class FriendlyName {
|
|
|
12132
12544
|
return this.value;
|
|
12133
12545
|
}
|
|
12134
12546
|
};
|
|
12135
|
-
__decorate([
|
|
12547
|
+
__decorate$1([
|
|
12136
12548
|
AsnProp({ type: AsnPropTypes.BmpString })
|
|
12137
12549
|
], FriendlyName.prototype, "value", void 0);
|
|
12138
|
-
FriendlyName = __decorate([
|
|
12550
|
+
FriendlyName = __decorate$1([
|
|
12139
12551
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12140
12552
|
], FriendlyName);
|
|
12141
12553
|
let SMIMECapability = class SMIMECapability extends AlgorithmIdentifier {
|
|
12142
12554
|
};
|
|
12143
|
-
SMIMECapability = __decorate([
|
|
12555
|
+
SMIMECapability = __decorate$1([
|
|
12144
12556
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
12145
12557
|
], SMIMECapability);
|
|
12146
12558
|
let SMIMECapabilities = SMIMECapabilities_1 = class SMIMECapabilities extends AsnArray {
|
|
@@ -12149,7 +12561,7 @@ let SMIMECapabilities = SMIMECapabilities_1 = class SMIMECapabilities extends As
|
|
|
12149
12561
|
Object.setPrototypeOf(this, SMIMECapabilities_1.prototype);
|
|
12150
12562
|
}
|
|
12151
12563
|
};
|
|
12152
|
-
SMIMECapabilities = SMIMECapabilities_1 = __decorate([
|
|
12564
|
+
SMIMECapabilities = SMIMECapabilities_1 = __decorate$1([
|
|
12153
12565
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: SMIMECapability })
|
|
12154
12566
|
], SMIMECapabilities);
|
|
12155
12567
|
|
|
@@ -12160,7 +12572,7 @@ let Attributes = Attributes_1 = class Attributes extends AsnArray {
|
|
|
12160
12572
|
Object.setPrototypeOf(this, Attributes_1.prototype);
|
|
12161
12573
|
}
|
|
12162
12574
|
};
|
|
12163
|
-
Attributes = Attributes_1 = __decorate([
|
|
12575
|
+
Attributes = Attributes_1 = __decorate$1([
|
|
12164
12576
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: Attribute$1 })
|
|
12165
12577
|
], Attributes);
|
|
12166
12578
|
|
|
@@ -12173,16 +12585,16 @@ class CertificationRequestInfo {
|
|
|
12173
12585
|
Object.assign(this, params);
|
|
12174
12586
|
}
|
|
12175
12587
|
}
|
|
12176
|
-
__decorate([
|
|
12588
|
+
__decorate$1([
|
|
12177
12589
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
12178
12590
|
], CertificationRequestInfo.prototype, "version", void 0);
|
|
12179
|
-
__decorate([
|
|
12591
|
+
__decorate$1([
|
|
12180
12592
|
AsnProp({ type: Name$1 })
|
|
12181
12593
|
], CertificationRequestInfo.prototype, "subject", void 0);
|
|
12182
|
-
__decorate([
|
|
12594
|
+
__decorate$1([
|
|
12183
12595
|
AsnProp({ type: SubjectPublicKeyInfo })
|
|
12184
12596
|
], CertificationRequestInfo.prototype, "subjectPKInfo", void 0);
|
|
12185
|
-
__decorate([
|
|
12597
|
+
__decorate$1([
|
|
12186
12598
|
AsnProp({ type: Attributes, implicit: true, context: 0 })
|
|
12187
12599
|
], CertificationRequestInfo.prototype, "attributes", void 0);
|
|
12188
12600
|
|
|
@@ -12194,13 +12606,13 @@ class CertificationRequest {
|
|
|
12194
12606
|
Object.assign(this, params);
|
|
12195
12607
|
}
|
|
12196
12608
|
}
|
|
12197
|
-
__decorate([
|
|
12609
|
+
__decorate$1([
|
|
12198
12610
|
AsnProp({ type: CertificationRequestInfo })
|
|
12199
12611
|
], CertificationRequest.prototype, "certificationRequestInfo", void 0);
|
|
12200
|
-
__decorate([
|
|
12612
|
+
__decorate$1([
|
|
12201
12613
|
AsnProp({ type: AlgorithmIdentifier })
|
|
12202
12614
|
], CertificationRequest.prototype, "signatureAlgorithm", void 0);
|
|
12203
|
-
__decorate([
|
|
12615
|
+
__decorate$1([
|
|
12204
12616
|
AsnProp({ type: AsnPropTypes.BitString })
|
|
12205
12617
|
], CertificationRequest.prototype, "signature", void 0);
|
|
12206
12618
|
|
|
@@ -12313,7 +12725,7 @@ const Signature = (props) => {
|
|
|
12313
12725
|
function renderSignatureDetails(data) {
|
|
12314
12726
|
return [
|
|
12315
12727
|
h(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(data.algorithm) }),
|
|
12316
|
-
h(RowValue, { name: l10n.getString('value'), value:
|
|
12728
|
+
h(RowValue, { name: l10n.getString('value'), value: Convert_1.ToHex(data.value), monospace: true, collapse: true }),
|
|
12317
12729
|
];
|
|
12318
12730
|
}
|
|
12319
12731
|
return [
|
|
@@ -12416,7 +12828,7 @@ const ExtendedKeyUsageExtension = (props) => {
|
|
|
12416
12828
|
*/
|
|
12417
12829
|
const SubjectKeyIdentifierExtension = (props) => {
|
|
12418
12830
|
const { extension, getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink } = props;
|
|
12419
|
-
const keyId =
|
|
12831
|
+
const keyId = Convert_1.ToHex(extension.value.buffer);
|
|
12420
12832
|
const childrenLink = getSubjectKeyIdChildrenLink(keyId);
|
|
12421
12833
|
const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);
|
|
12422
12834
|
return (h(BasicExtension, { extension: extension },
|
|
@@ -12441,7 +12853,7 @@ const SubjectKeyIdentifierExtension = (props) => {
|
|
|
12441
12853
|
*/
|
|
12442
12854
|
const AuthorityKeyIdentifierExtension = (props) => {
|
|
12443
12855
|
const { extension, getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink } = props;
|
|
12444
|
-
const keyId =
|
|
12856
|
+
const keyId = Convert_1.ToHex(extension.value.keyIdentifier.buffer);
|
|
12445
12857
|
const parentLink = getAuthKeyIdParentLink(keyId);
|
|
12446
12858
|
const siblingsLink = getAuthKeyIdSiblingsLink(keyId);
|
|
12447
12859
|
return (h(BasicExtension, { extension: extension },
|
|
@@ -12505,10 +12917,10 @@ const GeneralNamePart = (props) => {
|
|
|
12505
12917
|
catch (error) {
|
|
12506
12918
|
//
|
|
12507
12919
|
}
|
|
12508
|
-
return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value:
|
|
12920
|
+
return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: Convert_1.ToHex(value.value), monospace: true }));
|
|
12509
12921
|
}
|
|
12510
|
-
if (
|
|
12511
|
-
return (h(RowValue, { name: names[name] || name, value:
|
|
12922
|
+
if (BufferSourceConverter_1.isBufferSource(value)) {
|
|
12923
|
+
return (h(RowValue, { name: names[name] || name, value: Convert_1.ToString(value) }));
|
|
12512
12924
|
}
|
|
12513
12925
|
if (value instanceof EDIPartyName) {
|
|
12514
12926
|
return (h(RowValue, { name: names[name] || name, value: value.partyName.toString() }));
|
|
@@ -12648,6 +13060,7 @@ const logs = {
|
|
|
12648
13060
|
b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e: 'Google “Argon2020”',
|
|
12649
13061
|
f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3: 'Google “Argon2021”',
|
|
12650
13062
|
'2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784': 'Google “Argon2022”',
|
|
13063
|
+
e83ed0da3ef5063532e75728bc896bc903d3cbd1116beceb69e1777d6d06bd6e: 'Google “Argon2023”',
|
|
12651
13064
|
'68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4': 'Google “Aviator”',
|
|
12652
13065
|
c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6: 'Google “Crucible”',
|
|
12653
13066
|
'1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb': 'Google “Daedalus”',
|
|
@@ -12781,13 +13194,13 @@ let Iso4217CurrencyCode = class Iso4217CurrencyCode {
|
|
|
12781
13194
|
}
|
|
12782
13195
|
}
|
|
12783
13196
|
};
|
|
12784
|
-
__decorate([
|
|
13197
|
+
__decorate$1([
|
|
12785
13198
|
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
12786
13199
|
], Iso4217CurrencyCode.prototype, "alphabetic", void 0);
|
|
12787
|
-
__decorate([
|
|
13200
|
+
__decorate$1([
|
|
12788
13201
|
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
12789
13202
|
], Iso4217CurrencyCode.prototype, "numeric", void 0);
|
|
12790
|
-
Iso4217CurrencyCode = __decorate([
|
|
13203
|
+
Iso4217CurrencyCode = __decorate$1([
|
|
12791
13204
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12792
13205
|
], Iso4217CurrencyCode);
|
|
12793
13206
|
class MonetaryValue {
|
|
@@ -12798,18 +13211,18 @@ class MonetaryValue {
|
|
|
12798
13211
|
Object.assign(this, params);
|
|
12799
13212
|
}
|
|
12800
13213
|
}
|
|
12801
|
-
__decorate([
|
|
13214
|
+
__decorate$1([
|
|
12802
13215
|
AsnProp({ type: Iso4217CurrencyCode })
|
|
12803
13216
|
], MonetaryValue.prototype, "currency", void 0);
|
|
12804
|
-
__decorate([
|
|
13217
|
+
__decorate$1([
|
|
12805
13218
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
12806
13219
|
], MonetaryValue.prototype, "amount", void 0);
|
|
12807
|
-
__decorate([
|
|
13220
|
+
__decorate$1([
|
|
12808
13221
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
12809
13222
|
], MonetaryValue.prototype, "exponent", void 0);
|
|
12810
13223
|
let QcEuLimitValue = class QcEuLimitValue extends MonetaryValue {
|
|
12811
13224
|
};
|
|
12812
|
-
QcEuLimitValue = __decorate([
|
|
13225
|
+
QcEuLimitValue = __decorate$1([
|
|
12813
13226
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
12814
13227
|
], QcEuLimitValue);
|
|
12815
13228
|
let QcEuRetentionPeriod = class QcEuRetentionPeriod {
|
|
@@ -12817,10 +13230,10 @@ let QcEuRetentionPeriod = class QcEuRetentionPeriod {
|
|
|
12817
13230
|
this.value = value;
|
|
12818
13231
|
}
|
|
12819
13232
|
};
|
|
12820
|
-
__decorate([
|
|
13233
|
+
__decorate$1([
|
|
12821
13234
|
AsnProp({ type: AsnPropTypes.Integer })
|
|
12822
13235
|
], QcEuRetentionPeriod.prototype, "value", void 0);
|
|
12823
|
-
QcEuRetentionPeriod = __decorate([
|
|
13236
|
+
QcEuRetentionPeriod = __decorate$1([
|
|
12824
13237
|
AsnType({ type: AsnTypeTypes.Choice })
|
|
12825
13238
|
], QcEuRetentionPeriod);
|
|
12826
13239
|
let PdsLocation = class PdsLocation {
|
|
@@ -12830,13 +13243,13 @@ let PdsLocation = class PdsLocation {
|
|
|
12830
13243
|
Object.assign(this, params);
|
|
12831
13244
|
}
|
|
12832
13245
|
};
|
|
12833
|
-
__decorate([
|
|
13246
|
+
__decorate$1([
|
|
12834
13247
|
AsnProp({ type: AsnPropTypes.IA5String })
|
|
12835
13248
|
], PdsLocation.prototype, "url", void 0);
|
|
12836
|
-
__decorate([
|
|
13249
|
+
__decorate$1([
|
|
12837
13250
|
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
12838
13251
|
], PdsLocation.prototype, "language", void 0);
|
|
12839
|
-
PdsLocation = __decorate([
|
|
13252
|
+
PdsLocation = __decorate$1([
|
|
12840
13253
|
AsnType({ type: AsnTypeTypes.Sequence })
|
|
12841
13254
|
], PdsLocation);
|
|
12842
13255
|
let PdsLocations = PdsLocations_1 = class PdsLocations extends AsnArray {
|
|
@@ -12845,7 +13258,7 @@ let PdsLocations = PdsLocations_1 = class PdsLocations extends AsnArray {
|
|
|
12845
13258
|
Object.setPrototypeOf(this, PdsLocations_1.prototype);
|
|
12846
13259
|
}
|
|
12847
13260
|
};
|
|
12848
|
-
PdsLocations = PdsLocations_1 = __decorate([
|
|
13261
|
+
PdsLocations = PdsLocations_1 = __decorate$1([
|
|
12849
13262
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: PdsLocation })
|
|
12850
13263
|
], PdsLocations);
|
|
12851
13264
|
let QcEuPDS = QcEuPDS_1 = class QcEuPDS extends PdsLocations {
|
|
@@ -12854,7 +13267,7 @@ let QcEuPDS = QcEuPDS_1 = class QcEuPDS extends PdsLocations {
|
|
|
12854
13267
|
Object.setPrototypeOf(this, QcEuPDS_1.prototype);
|
|
12855
13268
|
}
|
|
12856
13269
|
};
|
|
12857
|
-
QcEuPDS = QcEuPDS_1 = __decorate([
|
|
13270
|
+
QcEuPDS = QcEuPDS_1 = __decorate$1([
|
|
12858
13271
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: PdsLocation })
|
|
12859
13272
|
], QcEuPDS);
|
|
12860
13273
|
let QcType = QcType_1 = class QcType extends AsnArray {
|
|
@@ -12863,7 +13276,7 @@ let QcType = QcType_1 = class QcType extends AsnArray {
|
|
|
12863
13276
|
Object.setPrototypeOf(this, QcType_1.prototype);
|
|
12864
13277
|
}
|
|
12865
13278
|
};
|
|
12866
|
-
QcType = QcType_1 = __decorate([
|
|
13279
|
+
QcType = QcType_1 = __decorate$1([
|
|
12867
13280
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.ObjectIdentifier })
|
|
12868
13281
|
], QcType);
|
|
12869
13282
|
let QcCClegislation = QcCClegislation_1 = class QcCClegislation extends AsnArray {
|
|
@@ -12872,7 +13285,7 @@ let QcCClegislation = QcCClegislation_1 = class QcCClegislation extends AsnArray
|
|
|
12872
13285
|
Object.setPrototypeOf(this, QcCClegislation_1.prototype);
|
|
12873
13286
|
}
|
|
12874
13287
|
};
|
|
12875
|
-
QcCClegislation = QcCClegislation_1 = __decorate([
|
|
13288
|
+
QcCClegislation = QcCClegislation_1 = __decorate$1([
|
|
12876
13289
|
AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.PrintableString })
|
|
12877
13290
|
], QcCClegislation);
|
|
12878
13291
|
const id_etsi_qcs = "0.4.0.1862.1";
|
|
@@ -12914,7 +13327,7 @@ const QCStatementsExtension = (props) => {
|
|
|
12914
13327
|
h(RowValue, { name: "Language", value: location.language })))),
|
|
12915
13328
|
]);
|
|
12916
13329
|
}
|
|
12917
|
-
return (h(RowValue, { name: "Info", value:
|
|
13330
|
+
return (h(RowValue, { name: "Info", value: Convert_1.ToHex(statementInfo), monospace: true }));
|
|
12918
13331
|
}
|
|
12919
13332
|
return (h(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
12920
13333
|
h(RowValue, { name: "Statements", value: "" }),
|
|
@@ -13025,7 +13438,7 @@ const CRLReasonExtension = (props) => {
|
|
|
13025
13438
|
* LICENSE file in the root directory of this source tree.
|
|
13026
13439
|
*/
|
|
13027
13440
|
function getAttributeValue(attribute) {
|
|
13028
|
-
return
|
|
13441
|
+
return Convert_1.ToString(attribute.values[0]);
|
|
13029
13442
|
}
|
|
13030
13443
|
|
|
13031
13444
|
/**
|
|
@@ -13101,7 +13514,7 @@ const BiometricSyntaxExtension = (props) => {
|
|
|
13101
13514
|
h(RowValue, { name: "OID", value: getStringByOID(data.typeOfBiometricData.biometricDataOid) }),
|
|
13102
13515
|
h(RowValue, { name: "Type", value: data.typeOfBiometricData.predefinedBiometricType }),
|
|
13103
13516
|
h(RowValue, { name: "Algorithm", value: getStringByOID(data.hashAlgorithm.algorithm) }),
|
|
13104
|
-
h(RowValue, { name: "Hash", value:
|
|
13517
|
+
h(RowValue, { name: "Hash", value: Convert_1.ToHex(data.biometricDataHash.buffer), monospace: true }),
|
|
13105
13518
|
h(RowValue, { name: "Source Uri", value: data.sourceDataUri })))),
|
|
13106
13519
|
])));
|
|
13107
13520
|
};
|
|
@@ -13123,7 +13536,7 @@ const LogotypeExtension = (props) => {
|
|
|
13123
13536
|
const { imageDetails } = img;
|
|
13124
13537
|
return [
|
|
13125
13538
|
h(RowValue, { name: "Image Type", value: imageDetails.mediaType }),
|
|
13126
|
-
h(RowValue, { name: "Image Hash", value:
|
|
13539
|
+
h(RowValue, { name: "Image Hash", value: Convert_1.ToHex(imageDetails.logotypeHash[0].hashValue), monospace: true }),
|
|
13127
13540
|
h(RowValue, { name: "Image URL", value: imageDetails.logotypeURI[0], monospace: true, collapse: true }),
|
|
13128
13541
|
h(RowValue, { name: "Image Hash Algorithm", value: getStringByOID(imageDetails.logotypeHash[0].hashAlg.algorithm) }),
|
|
13129
13542
|
];
|
|
@@ -13137,7 +13550,7 @@ const LogotypeExtension = (props) => {
|
|
|
13137
13550
|
const { audioDetails } = aud;
|
|
13138
13551
|
return [
|
|
13139
13552
|
h(RowValue, { name: "Audio Type", value: audioDetails.mediaType }),
|
|
13140
|
-
h(RowValue, { name: "Audio Hash", value:
|
|
13553
|
+
h(RowValue, { name: "Audio Hash", value: Convert_1.ToHex(audioDetails.logotypeHash[0].hashValue), monospace: true }),
|
|
13141
13554
|
h(RowValue, { name: "Audio URL", value: audioDetails.logotypeURI[0], monospace: true, collapse: true }),
|
|
13142
13555
|
h(RowValue, { name: "Audio Hash Algorithm", value: getStringByOID(audioDetails.logotypeHash[0].hashAlg.algorithm) }),
|
|
13143
13556
|
];
|
|
@@ -13242,6 +13655,97 @@ const IssuingDistributionPointExtension = (props) => {
|
|
|
13242
13655
|
extension.value.onlyContainsCACerts && (h(RowValue, { name: l10n.getString('onlyCACertificates'), value: l10n.getString('yes') }))));
|
|
13243
13656
|
};
|
|
13244
13657
|
|
|
13658
|
+
/**
|
|
13659
|
+
* @license
|
|
13660
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
13661
|
+
*
|
|
13662
|
+
* This source code is licensed under the MIT license found in the
|
|
13663
|
+
* LICENSE file in the root directory of this source tree.
|
|
13664
|
+
*/
|
|
13665
|
+
const KeyDescriptionExtension = (props) => {
|
|
13666
|
+
const { extension } = props;
|
|
13667
|
+
const renderRowValue = (data) => Object.keys(data).map((keyName) => {
|
|
13668
|
+
const keyValue = data[keyName];
|
|
13669
|
+
let value = '';
|
|
13670
|
+
switch (true) {
|
|
13671
|
+
case typeof keyValue === 'string' || typeof keyValue === 'number':
|
|
13672
|
+
value = keyValue;
|
|
13673
|
+
break;
|
|
13674
|
+
case keyValue instanceof IntegerSet:
|
|
13675
|
+
value = keyValue.join(', ');
|
|
13676
|
+
break;
|
|
13677
|
+
case typeof keyValue === 'boolean':
|
|
13678
|
+
value = keyValue
|
|
13679
|
+
? l10n.getString('yes')
|
|
13680
|
+
: l10n.getString('no');
|
|
13681
|
+
break;
|
|
13682
|
+
case Object.is(keyValue, null):
|
|
13683
|
+
value = 'NULL';
|
|
13684
|
+
break;
|
|
13685
|
+
case keyValue instanceof RootOfTrust:
|
|
13686
|
+
return [
|
|
13687
|
+
h(RowValue, { name: camelCaseToWords(keyName), value: "" }),
|
|
13688
|
+
h(TableRowTable, null, renderRowValue(keyValue)),
|
|
13689
|
+
];
|
|
13690
|
+
case BufferSourceConverter_1.isBufferSource(keyValue):
|
|
13691
|
+
if (keyName === 'attestationApplicationId') {
|
|
13692
|
+
try {
|
|
13693
|
+
const parsed = AsnParser.parse(keyValue, AttestationApplicationId);
|
|
13694
|
+
if (parsed.packageInfos.length || parsed.signatureDigests.length) {
|
|
13695
|
+
return [
|
|
13696
|
+
h(RowValue, { name: camelCaseToWords(keyName), value: "" }),
|
|
13697
|
+
Boolean(parsed.packageInfos) && (h(TableRowTable, null,
|
|
13698
|
+
h(RowValue, { name: camelCaseToWords('packageInfos'), value: "" }),
|
|
13699
|
+
parsed.packageInfos.map((attestationPackageInfo) => (h(TableRowTable, null, renderRowValue(attestationPackageInfo)))))),
|
|
13700
|
+
];
|
|
13701
|
+
}
|
|
13702
|
+
}
|
|
13703
|
+
catch (error) {
|
|
13704
|
+
//
|
|
13705
|
+
}
|
|
13706
|
+
}
|
|
13707
|
+
try {
|
|
13708
|
+
value = Convert_1.ToString(keyValue);
|
|
13709
|
+
}
|
|
13710
|
+
catch (error) {
|
|
13711
|
+
value = Convert_1.ToHex(keyValue);
|
|
13712
|
+
}
|
|
13713
|
+
break;
|
|
13714
|
+
}
|
|
13715
|
+
return (h(RowValue, { name: camelCaseToWords(keyName), value: value }));
|
|
13716
|
+
});
|
|
13717
|
+
const renderAuthorizationList = (title, authorizationList) => {
|
|
13718
|
+
if (authorizationList.length === 0) {
|
|
13719
|
+
return null;
|
|
13720
|
+
}
|
|
13721
|
+
return [
|
|
13722
|
+
h(RowValue, { name: title, value: "" }),
|
|
13723
|
+
h(TableRowTable, null, authorizationList.map(renderRowValue)),
|
|
13724
|
+
];
|
|
13725
|
+
};
|
|
13726
|
+
return (h(BasicExtension, { extension: extension },
|
|
13727
|
+
h(RowValue, { name: camelCaseToWords('attestationVersion'), value: extension.value.attestationVersion }),
|
|
13728
|
+
h(RowValue, { name: camelCaseToWords('attestationSecurityLevel'), value: extension.value.attestationSecurityLevel }),
|
|
13729
|
+
h(RowValue, { name: camelCaseToWords('keymasterVersion'), value: extension.value.keymasterVersion }),
|
|
13730
|
+
h(RowValue, { name: camelCaseToWords('keymasterSecurityLevel'), value: extension.value.keymasterSecurityLevel }),
|
|
13731
|
+
h(RowValue, { name: camelCaseToWords('attestationChallenge'), value: Convert_1.ToString(extension.value.attestationChallenge) }),
|
|
13732
|
+
h(RowValue, { name: camelCaseToWords('uniqueId'), value: Convert_1.ToString(extension.value.uniqueId) || undefined }),
|
|
13733
|
+
renderAuthorizationList(camelCaseToWords('softwareEnforced'), extension.value.softwareEnforced),
|
|
13734
|
+
renderAuthorizationList(camelCaseToWords('teeEnforced'), extension.value.teeEnforced)));
|
|
13735
|
+
};
|
|
13736
|
+
|
|
13737
|
+
/**
|
|
13738
|
+
* @license
|
|
13739
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
13740
|
+
*
|
|
13741
|
+
* This source code is licensed under the MIT license found in the
|
|
13742
|
+
* LICENSE file in the root directory of this source tree.
|
|
13743
|
+
*/
|
|
13744
|
+
const CabforganizationIdentifierExtension = (props) => {
|
|
13745
|
+
const { extension } = props;
|
|
13746
|
+
return (h(BasicExtension, { extension: extension }, Object.keys(extension.value).map((keyName) => (h(RowValue, { name: camelCaseToWords(keyName), value: extension.value[keyName] })))));
|
|
13747
|
+
};
|
|
13748
|
+
|
|
13245
13749
|
/**
|
|
13246
13750
|
* @license
|
|
13247
13751
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -13355,6 +13859,12 @@ const Extensions = (props) => {
|
|
|
13355
13859
|
if (extension.value instanceof IssuingDistributionPoint) {
|
|
13356
13860
|
return (h(IssuingDistributionPointExtension, Object.assign({ extension: extension }, props)));
|
|
13357
13861
|
}
|
|
13862
|
+
if (extension.value instanceof NonStandardKeyDescription) {
|
|
13863
|
+
return (h(KeyDescriptionExtension, Object.assign({ extension: extension }, props)));
|
|
13864
|
+
}
|
|
13865
|
+
if (extension.value instanceof CabforganizationIdentifier) {
|
|
13866
|
+
return (h(CabforganizationIdentifierExtension, Object.assign({ extension: extension }, props)));
|
|
13867
|
+
}
|
|
13358
13868
|
if (typeof extension.value === 'string') {
|
|
13359
13869
|
return (h(AsStringExtension, { extension: extension }));
|
|
13360
13870
|
}
|