@peculiar/certificates-viewer 1.20.0 → 2.0.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/dist/cjs/{download-061c8763.js → download-ccba709e.js} +3700 -7060
- package/dist/cjs/peculiar-attribute-certificate-viewer_9.cjs.entry.js +29 -26
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +1 -1
- package/dist/collection/components/certificate-viewer/extensions/crl_distribution_points_extension.js +5 -2
- package/dist/esm/{download-250f9495.js → download-efafe986.js} +3699 -7060
- package/dist/esm/peculiar-attribute-certificate-viewer_9.entry.js +29 -26
- package/dist/esm/peculiar-certificates-viewer.entry.js +1 -1
- package/dist/esm-es5/{download-250f9495.js → download-efafe986.js} +2355 -4493
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_9.entry.js +29 -26
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
- package/dist/peculiar/p-368352ac.system.js +100 -0
- package/dist/peculiar/p-557d912f.system.js +1 -1
- package/dist/peculiar/{p-293edf5c.system.entry.js → p-60e08389.system.entry.js} +1 -1
- package/dist/peculiar/p-63588298.js +100 -0
- package/dist/peculiar/p-b8de1700.entry.js +110 -0
- package/dist/peculiar/p-e652bcd4.system.entry.js +457 -0
- package/dist/peculiar/{p-75793893.entry.js → p-e6d55f8a.entry.js} +1 -1
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/package.json +20 -20
- package/dist/peculiar/p-636aea18.system.js +0 -78
- package/dist/peculiar/p-a04bc3b8.entry.js +0 -110
- package/dist/peculiar/p-a5d4421a.system.entry.js +0 -457
- package/dist/peculiar/p-e5769859.js +0 -77
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2973f90a.js');
|
|
6
|
-
const download = require('./download-061c8763.js');
|
|
7
6
|
const l10n = require('./l10n-e971a5ac.js');
|
|
7
|
+
const download = require('./download-ccba709e.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
@@ -90,7 +90,7 @@ class Attribute extends download.AsnData {
|
|
|
90
90
|
break;
|
|
91
91
|
}
|
|
92
92
|
default:
|
|
93
|
-
this.value = download.
|
|
93
|
+
this.value = download.build_2.ToHex(asnExtnValue);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
getAsnExtnValue() {
|
|
@@ -112,7 +112,7 @@ class X509AttributeCertificate extends download.AsnData {
|
|
|
112
112
|
this.thumbprints = {};
|
|
113
113
|
this.type = 'X.509 Attribute Certificate';
|
|
114
114
|
const { acinfo } = this.asn;
|
|
115
|
-
this.serialNumber = download.
|
|
115
|
+
this.serialNumber = download.build_2.ToHex(acinfo.serialNumber);
|
|
116
116
|
this.version = acinfo.version;
|
|
117
117
|
const notBefore = acinfo.attrCertValidityPeriod.notBeforeTime;
|
|
118
118
|
if (!notBefore) {
|
|
@@ -152,17 +152,17 @@ class X509AttributeCertificate extends download.AsnData {
|
|
|
152
152
|
async getThumbprint(algorithm = 'SHA-1') {
|
|
153
153
|
try {
|
|
154
154
|
const thumbprint = await download.getCertificateThumbprint(algorithm, this.raw);
|
|
155
|
-
this.thumbprints[algorithm['name'] || algorithm] = download.
|
|
155
|
+
this.thumbprints[algorithm['name'] || algorithm] = download.build_2.ToHex(thumbprint);
|
|
156
156
|
}
|
|
157
157
|
catch (error) {
|
|
158
158
|
console.error('Error thumbprint get:', error);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
exportAsBase64() {
|
|
162
|
-
return download.
|
|
162
|
+
return download.build_2.ToBase64(this.raw);
|
|
163
163
|
}
|
|
164
164
|
exportAsHexFormatted() {
|
|
165
|
-
return download.hexFormat(download.
|
|
165
|
+
return download.hexFormat(download.build_2.ToHex(this.raw));
|
|
166
166
|
}
|
|
167
167
|
exportAsPemFormatted() {
|
|
168
168
|
return `-----BEGIN ATTRIBUTE CERTIFICATE-----\n${download.base64Format(this.exportAsBase64())}\n-----END ATTRIBUTE CERTIFICATE-----`;
|
|
@@ -226,7 +226,7 @@ class CSR extends download.AsnData {
|
|
|
226
226
|
async getThumbprint(algorithm = 'SHA-1') {
|
|
227
227
|
try {
|
|
228
228
|
const thumbprint = await download.getCertificateThumbprint(algorithm, this.raw);
|
|
229
|
-
this.thumbprints[algorithm['name'] || algorithm] = download.
|
|
229
|
+
this.thumbprints[algorithm['name'] || algorithm] = download.build_2.ToHex(thumbprint);
|
|
230
230
|
}
|
|
231
231
|
catch (error) {
|
|
232
232
|
console.error('Error thumbprint get:', error);
|
|
@@ -240,10 +240,10 @@ class CSR extends download.AsnData {
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
exportAsBase64() {
|
|
243
|
-
return download.
|
|
243
|
+
return download.build_2.ToBase64(this.raw);
|
|
244
244
|
}
|
|
245
245
|
exportAsHexFormatted() {
|
|
246
|
-
return download.hexFormat(download.
|
|
246
|
+
return download.hexFormat(download.build_2.ToHex(this.raw));
|
|
247
247
|
}
|
|
248
248
|
exportAsPemFormatted() {
|
|
249
249
|
return `-----BEGIN CERTIFICATE REQUEST-----\n${download.base64Format(this.exportAsBase64())}\n-----END CERTIFICATE REQUEST-----`;
|
|
@@ -335,7 +335,7 @@ const Signature = (props) => {
|
|
|
335
335
|
return [
|
|
336
336
|
index.h(RowTitle, { value: l10n.l10n.getString('signature') }),
|
|
337
337
|
index.h(RowValue, { name: l10n.l10n.getString('algorithm'), value: getStringByOID(signature.algorithm) }),
|
|
338
|
-
index.h(RowValue, { name: l10n.l10n.getString('value'), value: download.
|
|
338
|
+
index.h(RowValue, { name: l10n.l10n.getString('value'), value: download.build_2.ToHex(signature.value), monospace: true, collapse: true }),
|
|
339
339
|
];
|
|
340
340
|
};
|
|
341
341
|
|
|
@@ -433,13 +433,13 @@ const GeneralNamePart = (props) => {
|
|
|
433
433
|
catch (error) {
|
|
434
434
|
//
|
|
435
435
|
}
|
|
436
|
-
return (index.h(RowValue, { name: download.OIDs[value.typeId] || value.typeId, value: download.
|
|
436
|
+
return (index.h(RowValue, { name: download.OIDs[value.typeId] || value.typeId, value: download.build_2.ToHex(value.value), monospace: true }));
|
|
437
437
|
}
|
|
438
|
-
if (download.
|
|
439
|
-
return (index.h(RowValue, { name: names[name] || name, value: download.
|
|
438
|
+
if (download.build_1.isBufferSource(value)) {
|
|
439
|
+
return (index.h(RowValue, { name: names[name] || name, value: download.build_2.ToString(value) }));
|
|
440
440
|
}
|
|
441
441
|
if (value instanceof download.EDIPartyName) {
|
|
442
|
-
return (index.h(RowValue, { name: names[name] || name, value: download.
|
|
442
|
+
return (index.h(RowValue, { name: names[name] || name, value: download.build_2.ToString(value.partyName) }));
|
|
443
443
|
}
|
|
444
444
|
if (name === 'dNSName') {
|
|
445
445
|
return (index.h(RowValue, { name: names[name] || name, value: value, href: getDNSNameLink(value) }));
|
|
@@ -723,7 +723,7 @@ const ExtendedKeyUsageExtension = (props) => {
|
|
|
723
723
|
*/
|
|
724
724
|
const SubjectKeyIdentifierExtension = (props) => {
|
|
725
725
|
const { extension, getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink } = props;
|
|
726
|
-
const keyId = download.
|
|
726
|
+
const keyId = download.build_2.ToHex(extension.value.buffer);
|
|
727
727
|
const childrenLink = getSubjectKeyIdChildrenLink(keyId);
|
|
728
728
|
const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);
|
|
729
729
|
return (index.h(BasicExtension, { extension: extension },
|
|
@@ -748,7 +748,7 @@ const SubjectKeyIdentifierExtension = (props) => {
|
|
|
748
748
|
*/
|
|
749
749
|
const AuthorityKeyIdentifierExtension = (props) => {
|
|
750
750
|
const { extension, getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink } = props;
|
|
751
|
-
const keyId = download.
|
|
751
|
+
const keyId = download.build_2.ToHex(extension.value.keyIdentifier.buffer);
|
|
752
752
|
const parentLink = getAuthKeyIdParentLink(keyId);
|
|
753
753
|
const siblingsLink = getAuthKeyIdSiblingsLink(keyId);
|
|
754
754
|
return (index.h(BasicExtension, { extension: extension },
|
|
@@ -774,8 +774,11 @@ const AuthorityKeyIdentifierExtension = (props) => {
|
|
|
774
774
|
const CRLDistributionPointsExtension = (props) => {
|
|
775
775
|
const { extension } = props;
|
|
776
776
|
return (index.h(BasicExtension, { extension: extension }, extension.value.map((point) => {
|
|
777
|
-
var _a;
|
|
778
|
-
return (
|
|
777
|
+
var _a, _b;
|
|
778
|
+
return ([
|
|
779
|
+
(_a = point.distributionPoint) === null || _a === void 0 ? void 0 : _a.fullName.map((gn) => (index.h(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
|
|
780
|
+
(_b = point.cRLIssuer) === null || _b === void 0 ? void 0 : _b.map((gn) => (index.h(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
|
|
781
|
+
]);
|
|
779
782
|
})));
|
|
780
783
|
};
|
|
781
784
|
|
|
@@ -1018,7 +1021,7 @@ const QCStatementsExtension = (props) => {
|
|
|
1018
1021
|
return (index.h(BasicExtension, { extension: extension }, extension.value.map((statement, arrayIndex) => ([
|
|
1019
1022
|
index.h(RowValue, { name: `Statement #${arrayIndex + 1}`, value: "" }),
|
|
1020
1023
|
index.h(RowValue, { name: "ID", value: getStringByOID(statement.statementId) }),
|
|
1021
|
-
index.h(RowValue, { name: "Info", value: statement.statementInfo.byteLength ? download.
|
|
1024
|
+
index.h(RowValue, { name: "Info", value: statement.statementInfo.byteLength ? download.build_2.ToHex(statement.statementInfo) : null, monospace: true }),
|
|
1022
1025
|
]))));
|
|
1023
1026
|
};
|
|
1024
1027
|
|
|
@@ -1123,7 +1126,7 @@ const CRLReasonExtension = (props) => {
|
|
|
1123
1126
|
* LICENSE file in the root directory of this source tree.
|
|
1124
1127
|
*/
|
|
1125
1128
|
function getAttributeValue(attribute) {
|
|
1126
|
-
return download.
|
|
1129
|
+
return download.build_2.ToString(attribute.values[0]);
|
|
1127
1130
|
}
|
|
1128
1131
|
|
|
1129
1132
|
/**
|
|
@@ -1197,7 +1200,7 @@ const BiometricSyntaxExtension = (props) => {
|
|
|
1197
1200
|
index.h(RowValue, { name: "OID", value: getStringByOID(data.typeOfBiometricData.biometricDataOid) }),
|
|
1198
1201
|
index.h(RowValue, { name: "Type", value: data.typeOfBiometricData.predefinedBiometricType }),
|
|
1199
1202
|
index.h(RowValue, { name: "Algorithm", value: getStringByOID(data.hashAlgorithm.algorithm) }),
|
|
1200
|
-
index.h(RowValue, { name: "Hash", value: download.
|
|
1203
|
+
index.h(RowValue, { name: "Hash", value: download.build_2.ToHex(data.biometricDataHash.buffer), monospace: true }),
|
|
1201
1204
|
index.h(RowValue, { name: "Source Uri", value: data.sourceDataUri }),
|
|
1202
1205
|
]))));
|
|
1203
1206
|
};
|
|
@@ -1219,7 +1222,7 @@ const LogotypeExtension = (props) => {
|
|
|
1219
1222
|
const { imageDetails } = img;
|
|
1220
1223
|
return [
|
|
1221
1224
|
index.h(RowValue, { name: "Image Type", value: imageDetails.mediaType }),
|
|
1222
|
-
index.h(RowValue, { name: "Image Hash", value: download.
|
|
1225
|
+
index.h(RowValue, { name: "Image Hash", value: download.build_2.ToHex(imageDetails.logotypeHash[0].hashValue), monospace: true }),
|
|
1223
1226
|
index.h(RowValue, { name: "Image URL", value: imageDetails.logotypeURI[0], monospace: true, collapse: true }),
|
|
1224
1227
|
index.h(RowValue, { name: "Image Hash Algorithm", value: getStringByOID(imageDetails.logotypeHash[0].hashAlg.algorithm) }),
|
|
1225
1228
|
];
|
|
@@ -1233,7 +1236,7 @@ const LogotypeExtension = (props) => {
|
|
|
1233
1236
|
const { audioDetails } = aud;
|
|
1234
1237
|
return [
|
|
1235
1238
|
index.h(RowValue, { name: "Audio Type", value: audioDetails.mediaType }),
|
|
1236
|
-
index.h(RowValue, { name: "Audio Hash", value: download.
|
|
1239
|
+
index.h(RowValue, { name: "Audio Hash", value: download.build_2.ToHex(audioDetails.logotypeHash[0].hashValue), monospace: true }),
|
|
1237
1240
|
index.h(RowValue, { name: "Audio URL", value: audioDetails.logotypeURI[0], monospace: true, collapse: true }),
|
|
1238
1241
|
index.h(RowValue, { name: "Audio Hash Algorithm", value: getStringByOID(audioDetails.logotypeHash[0].hashAlg.algorithm) }),
|
|
1239
1242
|
];
|
|
@@ -1534,7 +1537,7 @@ const Holder = (props) => {
|
|
|
1534
1537
|
index.h("tr", null,
|
|
1535
1538
|
index.h("td", null),
|
|
1536
1539
|
index.h("td", null)),
|
|
1537
|
-
index.h(RowValue, { name: l10n.l10n.getString('serialNumber'), value: download.
|
|
1540
|
+
index.h(RowValue, { name: l10n.l10n.getString('serialNumber'), value: download.build_2.ToHex(baseCertificateID.serial), monospace: true }),
|
|
1538
1541
|
index.h("tr", null,
|
|
1539
1542
|
index.h("td", null),
|
|
1540
1543
|
index.h("td", null)),
|
|
@@ -1542,7 +1545,7 @@ const Holder = (props) => {
|
|
|
1542
1545
|
objectDigestInfo && ([
|
|
1543
1546
|
index.h(RowValue, { name: l10n.l10n.getString('digestInfo'), value: "" }),
|
|
1544
1547
|
index.h(RowValue, { name: l10n.l10n.getString('algorithm'), value: getStringByOID(objectDigestInfo.digestAlgorithm.algorithm) }),
|
|
1545
|
-
index.h(RowValue, { name: l10n.l10n.getString('value'), value: download.
|
|
1548
|
+
index.h(RowValue, { name: l10n.l10n.getString('value'), value: download.build_2.ToHex(objectDigestInfo.objectDigest), monospace: true }),
|
|
1546
1549
|
index.h(RowValue, { name: l10n.l10n.getString('type'), value: objectDigestInfo.digestedObjectType }),
|
|
1547
1550
|
]),
|
|
1548
1551
|
];
|
|
@@ -1855,7 +1858,7 @@ const PublicKey = (props) => {
|
|
|
1855
1858
|
index.h(RowValue, { name: l10n.l10n.getString('namedCurve'), value: getStringByOID((_a = publicKey.params) === null || _a === void 0 ? void 0 : _a['namedCurve']) }),
|
|
1856
1859
|
index.h(RowValue, { name: l10n.l10n.getString('exponent'), value: getPublicKeyExponent(publicKey) }),
|
|
1857
1860
|
index.h(RowValue, { name: l10n.l10n.getString('modulus'), value: getPublicKeyModulus(publicKey) }),
|
|
1858
|
-
index.h(RowValue, { name: l10n.l10n.getString('value'), value: download.
|
|
1861
|
+
index.h(RowValue, { name: l10n.l10n.getString('value'), value: download.build_2.ToHex(publicKey.value), monospace: true, collapse: true }),
|
|
1859
1862
|
];
|
|
1860
1863
|
};
|
|
1861
1864
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2973f90a.js');
|
|
6
|
-
const download = require('./download-061c8763.js');
|
|
7
6
|
const l10n = require('./l10n-e971a5ac.js');
|
|
7
|
+
const download = require('./download-ccba709e.js');
|
|
8
8
|
|
|
9
9
|
const certificatesViewerCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%;word-wrap:break-word;min-width:280px;overflow:auto;position:relative;background:white;background:rgba(var(--pv-color-light-rgb), 1)}table{width:100%;table-layout:fixed;border-collapse:collapse;border-spacing:0}table thead{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07)}table tr td{vertical-align:middle}table tbody tr:not(.expanded_summary){cursor:pointer}table tr{border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table th{padding:15px 10px;border-width:1px;border-style:solid;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table td{padding:8px 10px;border-width:1px;border-style:solid;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table .col_issuer,table .col_name,table .col_public_key{width:16%}table .col_actions,table .col_tests{width:18%}table.m_extra .col_issuer,table.m_extra .col_name,table.m_extra .col_public_key{width:12%}table.m_extra .col_actions,table.m_extra .col_tests{width:17%}table tr.expanded td:not(:last-child){border-right-color:transparent}table tr.expanded td{border-bottom-color:transparent}.expanded{border-bottom-color:transparent;background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}table tr.expanded_summary{background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}table tr.expanded_summary td{vertical-align:top;padding:10px 20px 26px}@-webkit-keyframes fadeIn{0%{opacity:0.001}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0.001}100%{opacity:1}}.modal_wrapper{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1;overflow:auto;text-align:center;-webkit-animation:fadeIn 200ms;animation:fadeIn 200ms;padding:30px 10px}.modal_wrapper:before{display:inline-block;vertical-align:middle;width:0;height:100%;content:\"\"}.modal_backdrop{background:rgba(42, 49, 52, 0.5);background:rgba(var(--pv-color-dark-rgb), 0.5);z-index:-1;position:fixed;top:0;right:0;bottom:0;left:0}.modal_container{position:relative;display:inline-block;vertical-align:middle;width:100%;max-width:900px;text-align:left;border-radius:3px;overflow:hidden;background-color:white;background-color:rgba(var(--pv-color-light-rgb), 1);height:100%}.modal_title{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07);border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);border-bottom-width:1px;border-bottom-style:solid;padding:20px 60px 16px 20px;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:60px}.modal_content{height:calc(100% - 60px);overflow-y:auto}.modal_close{cursor:pointer;border:none;background-color:transparent;position:absolute;top:0;bottom:0;right:0;padding:0 12px;-webkit-transition:opacity 100ms;transition:opacity 100ms;outline:none}.modal_close:hover{opacity:0.6}.modal_close svg{fill:#2a3134;fill:rgba(var(--pv-color-dark-rgb), 1)}.button_table_action{margin:2px}.mobile_title{display:none}.status_wrapper{height:85px;text-align:center;pointer-events:none}.search_section{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07);border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);height:50px;padding:10px;border-width:1px 1px 0 1px;border-style:solid}.input_search{height:100%;width:100%;border-radius:3px;border-width:1px;border-style:solid;padding:0 14px;font-size:12px;outline:none;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);color:#2a3134;color:rgba(var(--pv-color-dark-rgb), 1)}.input_search::-moz-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search:-ms-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::-webkit-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::-ms-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.loading_container{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(42, 49, 52, 0.3);background:rgba(var(--pv-color-dark-rgb), 0.3);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.align_center{text-align:center}@media (hover: hover){table tbody tr:not(.expanded_summary):hover{background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}}@media (max-width: 900px){table,tbody,tr,td{display:block}thead{display:none}tr{padding:0 15px;border-width:1px;border-style:solid}tr:not(:first-child){margin-top:-1px}tr:not(.expanded_summary) td:first-child{border:none !important}table td{padding-left:0;padding-right:0;border-width:1px 0 0 0 !important;border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr.expanded_summary td{padding:15px 0}.mobile_title{display:inline-block;width:90px;vertical-align:middle}.modal_title{padding:17px 60px 17px 15px}.content{display:inline-block;width:calc(100% - 90px);vertical-align:middle;text-align:left}.expanded_summary{border-top-color:transparent;padding-bottom:10px}.expanded_summary td:before{content:none}.status_wrapper{height:266px;display:table-cell}.search_section{height:60px;padding:15px}.align_center{text-align:inherit}}";
|
|
10
10
|
|
|
@@ -11,7 +11,10 @@ import { GeneralNamePart } from './general_name_part';
|
|
|
11
11
|
export const CRLDistributionPointsExtension = (props) => {
|
|
12
12
|
const { extension } = props;
|
|
13
13
|
return (h(BasicExtension, { extension: extension }, extension.value.map((point) => {
|
|
14
|
-
var _a;
|
|
15
|
-
return (
|
|
14
|
+
var _a, _b;
|
|
15
|
+
return ([
|
|
16
|
+
(_a = point.distributionPoint) === null || _a === void 0 ? void 0 : _a.fullName.map((gn) => (h(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
|
|
17
|
+
(_b = point.cRLIssuer) === null || _b === void 0 ? void 0 : _b.map((gn) => (h(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
|
|
18
|
+
]);
|
|
16
19
|
})));
|
|
17
20
|
};
|