@peculiar/certificates-viewer 1.17.5 → 1.19.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.
Files changed (30) hide show
  1. package/dist/cjs/{download-1cf6585c.js → download-dd491e0e.js} +2 -0
  2. package/dist/cjs/peculiar-attribute-certificate-viewer_9.cjs.entry.js +32 -42
  3. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +1 -1
  4. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +3 -14
  5. package/dist/collection/components/certificate-viewer/certificate-viewer.js +2 -13
  6. package/dist/collection/components/certificate-viewer/extensions/general_name_part.js +18 -3
  7. package/dist/collection/components/csr-viewer/csr-viewer.js +3 -14
  8. package/dist/collection/constants/oids.js +2 -0
  9. package/dist/collection/utils/third_party_links.js +10 -0
  10. package/dist/esm/{download-dea7e15e.js → download-8756bae5.js} +3 -1
  11. package/dist/esm/peculiar-attribute-certificate-viewer_9.entry.js +32 -42
  12. package/dist/esm/peculiar-certificates-viewer.entry.js +1 -1
  13. package/dist/esm-es5/{download-dea7e15e.js → download-8756bae5.js} +3 -1
  14. package/dist/esm-es5/peculiar-attribute-certificate-viewer_9.entry.js +31 -42
  15. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
  16. package/dist/peculiar/{p-6b2a8d50.js → p-35030746.js} +2 -2
  17. package/dist/peculiar/p-4f48056d.entry.js +110 -0
  18. package/dist/peculiar/p-557d912f.system.js +1 -1
  19. package/dist/peculiar/{p-590831d1.system.js → p-724513d0.system.js} +2 -2
  20. package/dist/peculiar/{p-704409ca.system.entry.js → p-7aad398f.system.entry.js} +1 -1
  21. package/dist/peculiar/{p-73a580ff.entry.js → p-d85fb3e7.entry.js} +1 -1
  22. package/dist/peculiar/{p-659feaec.system.entry.js → p-dd80ee96.system.entry.js} +40 -33
  23. package/dist/peculiar/peculiar.esm.js +1 -1
  24. package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +0 -3
  25. package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +0 -3
  26. package/dist/types/components/csr-viewer/csr-viewer.d.ts +0 -3
  27. package/dist/types/constants/oids.d.ts +2 -0
  28. package/dist/types/utils/third_party_links.d.ts +10 -0
  29. package/package.json +2 -2
  30. package/dist/peculiar/p-f3062b63.entry.js +0 -103
@@ -11484,6 +11484,7 @@ const OIDs = {
11484
11484
  '1.3.6.1.4.1.34697.2.4': 'Affirm Trust EV policy',
11485
11485
  '1.3.6.1.4.1.40869.1.1.22.3': 'TWCAEV policy',
11486
11486
  '1.3.6.1.4.1.13177.10.1.2.2': 'Corporate certificates for Natural Person',
11487
+ '1.3.6.1.4.1.37476.9000.64.1': 'Smallstep CA Provisioner ID',
11487
11488
  '1.3.6.1.5.2.3.5': 'KCD Authentication',
11488
11489
  '1.3.6.1.5.5.7': 'PKIX',
11489
11490
  '1.3.6.1.5.5.7.0.12': 'Attribute Cert',
@@ -11558,6 +11559,7 @@ const OIDs = {
11558
11559
  '1.3.6.1.5.5.7.8': 'Other Names',
11559
11560
  '1.3.6.1.5.5.7.8.1': 'Personal Data',
11560
11561
  '1.3.6.1.5.5.7.8.2': 'User Group',
11562
+ '1.3.6.1.5.5.7.8.3': 'Permanent Identifier',
11561
11563
  '1.3.6.1.5.5.7.8.5': 'Xmpp Addr',
11562
11564
  '1.3.6.1.5.5.7.9': 'Personal Data',
11563
11565
  '1.3.6.1.5.5.7.9.1': 'Date Of Birth',
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-2973f90a.js');
6
- const download = require('./download-1cf6585c.js');
6
+ const download = require('./download-dd491e0e.js');
7
7
  const l10n = require('./l10n-f5651bb0.js');
8
8
 
9
9
  /**
@@ -417,8 +417,23 @@ const GeneralNamePart = (props) => {
417
417
  ];
418
418
  }
419
419
  if (value instanceof download.OtherName) {
420
- const text = download.AsnParser.parse(value.value, download.DisplayText);
421
- return (index.h(RowValue, { name: download.OIDs[value.typeId], value: text.toString() }));
420
+ try {
421
+ const text = download.AsnParser.parse(value.value, download.DisplayText);
422
+ return (index.h(RowValue, { name: download.OIDs[value.typeId] || value.typeId, value: text.toString() }));
423
+ }
424
+ catch (error) {
425
+ //
426
+ }
427
+ try {
428
+ const text = download.AsnParser.parse(value.value, download.UserNotice);
429
+ if (text.explicitText) {
430
+ return (index.h(RowValue, { name: download.OIDs[value.typeId] || value.typeId, value: text.explicitText.toString() }));
431
+ }
432
+ }
433
+ catch (error) {
434
+ //
435
+ }
436
+ return (index.h(RowValue, { name: download.OIDs[value.typeId] || value.typeId, value: download.index.Convert.ToHex(value.value), monospace: true }));
422
437
  }
423
438
  if (download.index.BufferSourceConverter.isBufferSource(value)) {
424
439
  return (index.h(RowValue, { name: names[name] || name, value: download.index.Convert.ToString(value) }));
@@ -1433,6 +1448,17 @@ const Miscellaneous = (props) => {
1433
1448
  ];
1434
1449
  };
1435
1450
 
1451
+ /**
1452
+ * @license
1453
+ * Copyright (c) Peculiar Ventures, LLC.
1454
+ *
1455
+ * This source code is licensed under the MIT license found in the
1456
+ * LICENSE file in the root directory of this source tree.
1457
+ */
1458
+ const getLEILink = (lei) => `https://search.gleif.org/#/record/${lei}`;
1459
+ const getDNSNameLink = (dnsName) => `https://search.censys.io/search?resource=hosts&q=dns.names%3A${dnsName}`;
1460
+ const getIPAddressLink = (ipAddress) => `https://search.censys.io/search?resource=hosts&q=ip%3A${ipAddress}`;
1461
+
1436
1462
  /**
1437
1463
  * @license
1438
1464
  * Copyright (c) Peculiar Ventures, LLC.
@@ -1540,18 +1566,6 @@ const AttributeCertificateViewer = class {
1540
1566
  }
1541
1567
  }
1542
1568
  // eslint-disable-next-line class-methods-use-this
1543
- getLEILink(value) {
1544
- return `https://search.gleif.org/#/record/${value}`;
1545
- }
1546
- // eslint-disable-next-line class-methods-use-this
1547
- getDNSNameLink(value) {
1548
- return `https://censys.io/ipv4?q=${value}`;
1549
- }
1550
- // eslint-disable-next-line class-methods-use-this
1551
- getIPAddressLink(value) {
1552
- return `https://censys.io/ipv4?q=${value}`;
1553
- }
1554
- // eslint-disable-next-line class-methods-use-this
1555
1569
  renderErrorState() {
1556
1570
  return (index.h("div", { class: "status_wrapper" }, index.h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this attribute certificate.")));
1557
1571
  }
@@ -1566,7 +1580,7 @@ const AttributeCertificateViewer = class {
1566
1580
  if (!this.certificateDecoded) {
1567
1581
  return this.renderEmptyState();
1568
1582
  }
1569
- return (index.h(index.Host, null, index.h("table", null, index.h(BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(Issuer, { issuer: this.certificateDecoded.issuer }), index.h(Holder, { holder: this.certificateDecoded.holder }), index.h(Signature, { signature: this.certificateDecoded.signature }), index.h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), index.h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(Miscellaneous, { certificate: this.certificateDecoded })))));
1583
+ return (index.h(index.Host, null, index.h("table", null, index.h(BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(Issuer, { issuer: this.certificateDecoded.issuer }), index.h(Holder, { holder: this.certificateDecoded.holder }), index.h(Signature, { signature: this.certificateDecoded.signature }), index.h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), index.h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(Miscellaneous, { certificate: this.certificateDecoded })))));
1570
1584
  }
1571
1585
  static get watchers() { return {
1572
1586
  "certificate": ["watchCertificateAndDecode"]
@@ -1891,18 +1905,6 @@ const CertificateViewer = class {
1891
1905
  }
1892
1906
  }
1893
1907
  }
1894
- // eslint-disable-next-line class-methods-use-this
1895
- getLEILink(value) {
1896
- return `https://search.gleif.org/#/record/${value}`;
1897
- }
1898
- // eslint-disable-next-line class-methods-use-this
1899
- getDNSNameLink(value) {
1900
- return `https://censys.io/ipv4?q=${value}`;
1901
- }
1902
- // eslint-disable-next-line class-methods-use-this
1903
- getIPAddressLink(value) {
1904
- return `https://censys.io/ipv4?q=${value}`;
1905
- }
1906
1908
  getIssuerDnLink() {
1907
1909
  return this.issuerDnLink;
1908
1910
  }
@@ -1921,7 +1923,7 @@ const CertificateViewer = class {
1921
1923
  if (!this.certificateDecoded) {
1922
1924
  return this.renderEmptyState();
1923
1925
  }
1924
- return (index.h(index.Host, { "data-view": this.view }, index.h("table", null, index.h(BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(SubjectName, { name: this.certificateDecoded.subject }), index.h(IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), index.h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), index.h(Signature, { signature: this.certificateDecoded.signature }), index.h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(Miscellaneous, { certificate: this.certificateDecoded })))));
1926
+ return (index.h(index.Host, { "data-view": this.view }, index.h("table", null, index.h(BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(SubjectName, { name: this.certificateDecoded.subject }), index.h(IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), index.h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), index.h(Signature, { signature: this.certificateDecoded.signature }), index.h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(Miscellaneous, { certificate: this.certificateDecoded })))));
1925
1927
  }
1926
1928
  static get watchers() { return {
1927
1929
  "certificate": ["watchCertificateAndDecode"]
@@ -1983,18 +1985,6 @@ const CsrViewer = class {
1983
1985
  }
1984
1986
  }
1985
1987
  // eslint-disable-next-line class-methods-use-this
1986
- getLEILink(value) {
1987
- return `https://search.gleif.org/#/record/${value}`;
1988
- }
1989
- // eslint-disable-next-line class-methods-use-this
1990
- getDNSNameLink(value) {
1991
- return `https://censys.io/ipv4?q=${value}`;
1992
- }
1993
- // eslint-disable-next-line class-methods-use-this
1994
- getIPAddressLink(value) {
1995
- return `https://censys.io/ipv4?q=${value}`;
1996
- }
1997
- // eslint-disable-next-line class-methods-use-this
1998
1988
  renderErrorState() {
1999
1989
  return (index.h("div", { class: "status_wrapper" }, index.h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this certificate request.")));
2000
1990
  }
@@ -2017,7 +2007,7 @@ const CsrViewer = class {
2017
2007
  return this.renderEmptyState();
2018
2008
  }
2019
2009
  const extensionRequestAttribute = this.getExtensionRequestAttribute();
2020
- return (index.h(index.Host, { "data-view": this.view }, index.h("table", null, index.h(BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(SubjectName, { name: this.certificateDecoded.subject }), index.h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), index.h(Signature, { signature: this.certificateDecoded.signature }), index.h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), index.h(Extensions, { extensions: extensionRequestAttribute === null || extensionRequestAttribute === void 0 ? void 0 : extensionRequestAttribute.value, title: "Extension Request", getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(Miscellaneous, { certificate: this.certificateDecoded })))));
2010
+ return (index.h(index.Host, { "data-view": this.view }, index.h("table", null, index.h(BasicInformation, Object.assign({}, this.certificateDecoded)), index.h(SubjectName, { name: this.certificateDecoded.subject }), index.h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), index.h(Signature, { signature: this.certificateDecoded.signature }), index.h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), index.h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), index.h(Extensions, { extensions: extensionRequestAttribute === null || extensionRequestAttribute === void 0 ? void 0 : extensionRequestAttribute.value, title: "Extension Request", getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (index.h(Miscellaneous, { certificate: this.certificateDecoded })))));
2021
2011
  }
2022
2012
  static get watchers() { return {
2023
2013
  "certificate": ["watchCertificateAndDecode"]
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-2973f90a.js');
6
- const download = require('./download-1cf6585c.js');
6
+ const download = require('./download-dd491e0e.js');
7
7
  const l10n = require('./l10n-f5651bb0.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}}";
@@ -13,6 +13,7 @@ import { Thumbprints } from '../certificate-viewer/thumbprints';
13
13
  import { Extensions } from '../certificate-viewer/extensions';
14
14
  import { BasicInformation } from '../certificate-viewer/basic_information';
15
15
  import { Miscellaneous } from '../certificate-viewer/miscellaneous';
16
+ import { getDNSNameLink, getIPAddressLink, getLEILink } from '../../utils/third_party_links';
16
17
  import { Issuer } from './issuer';
17
18
  import { Holder } from './holder';
18
19
  export class AttributeCertificateViewer {
@@ -67,18 +68,6 @@ export class AttributeCertificateViewer {
67
68
  }
68
69
  }
69
70
  // eslint-disable-next-line class-methods-use-this
70
- getLEILink(value) {
71
- return `https://search.gleif.org/#/record/${value}`;
72
- }
73
- // eslint-disable-next-line class-methods-use-this
74
- getDNSNameLink(value) {
75
- return `https://censys.io/ipv4?q=${value}`;
76
- }
77
- // eslint-disable-next-line class-methods-use-this
78
- getIPAddressLink(value) {
79
- return `https://censys.io/ipv4?q=${value}`;
80
- }
81
- // eslint-disable-next-line class-methods-use-this
82
71
  renderErrorState() {
83
72
  return (h("div", { class: "status_wrapper" },
84
73
  h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this attribute certificate.")));
@@ -102,8 +91,8 @@ export class AttributeCertificateViewer {
102
91
  h(Holder, { holder: this.certificateDecoded.holder }),
103
92
  h(Signature, { signature: this.certificateDecoded.signature }),
104
93
  h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }),
105
- h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }),
106
- h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }),
94
+ h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }),
95
+ h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }),
107
96
  this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
108
97
  }
109
98
  static get is() { return "peculiar-attribute-certificate-viewer"; }
@@ -7,6 +7,7 @@
7
7
  */
8
8
  import { Component, h, Prop, State, Watch, Host, } from '@stencil/core';
9
9
  import { X509Certificate, } from '../../crypto';
10
+ import { getDNSNameLink, getIPAddressLink, getLEILink } from '../../utils/third_party_links';
10
11
  import { PublicKey } from './public_key';
11
12
  import { Signature } from './signature';
12
13
  import { Thumbprints } from './thumbprints';
@@ -64,18 +65,6 @@ export class CertificateViewer {
64
65
  }
65
66
  }
66
67
  }
67
- // eslint-disable-next-line class-methods-use-this
68
- getLEILink(value) {
69
- return `https://search.gleif.org/#/record/${value}`;
70
- }
71
- // eslint-disable-next-line class-methods-use-this
72
- getDNSNameLink(value) {
73
- return `https://censys.io/ipv4?q=${value}`;
74
- }
75
- // eslint-disable-next-line class-methods-use-this
76
- getIPAddressLink(value) {
77
- return `https://censys.io/ipv4?q=${value}`;
78
- }
79
68
  getIssuerDnLink() {
80
69
  return this.issuerDnLink;
81
70
  }
@@ -104,7 +93,7 @@ export class CertificateViewer {
104
93
  h(PublicKey, { publicKey: this.certificateDecoded.publicKey }),
105
94
  h(Signature, { signature: this.certificateDecoded.signature }),
106
95
  h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }),
107
- h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }),
96
+ h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }),
108
97
  this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
109
98
  }
110
99
  static get is() { return "peculiar-certificate-viewer"; }
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
8
  import { h } from '@stencil/core';
9
- import { Name, OtherName, DisplayText, EDIPartyName, } from '@peculiar/asn1-x509';
9
+ import { Name, OtherName, DisplayText, EDIPartyName, UserNotice, } from '@peculiar/asn1-x509';
10
10
  import { Convert, BufferSourceConverter } from 'pvtsutils';
11
11
  import { AsnParser } from '@peculiar/asn1-schema';
12
12
  import { OIDs } from '../../../constants/oids';
@@ -36,8 +36,23 @@ export const GeneralNamePart = (props) => {
36
36
  ];
37
37
  }
38
38
  if (value instanceof OtherName) {
39
- const text = AsnParser.parse(value.value, DisplayText);
40
- return (h(RowValue, { name: OIDs[value.typeId], value: text.toString() }));
39
+ try {
40
+ const text = AsnParser.parse(value.value, DisplayText);
41
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.toString() }));
42
+ }
43
+ catch (error) {
44
+ //
45
+ }
46
+ try {
47
+ const text = AsnParser.parse(value.value, UserNotice);
48
+ if (text.explicitText) {
49
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.explicitText.toString() }));
50
+ }
51
+ }
52
+ catch (error) {
53
+ //
54
+ }
55
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: Convert.ToHex(value.value), monospace: true }));
41
56
  }
42
57
  if (BufferSourceConverter.isBufferSource(value)) {
43
58
  return (h(RowValue, { name: names[name] || name, value: Convert.ToString(value) }));
@@ -7,6 +7,7 @@
7
7
  */
8
8
  import { Component, Host, h, Prop, State, Watch, } from '@stencil/core';
9
9
  import { CSR } from '../../crypto';
10
+ import { getDNSNameLink, getIPAddressLink, getLEILink } from '../../utils/third_party_links';
10
11
  import { SubjectName } from '../certificate-viewer/subject_name';
11
12
  import { PublicKey } from '../certificate-viewer/public_key';
12
13
  import { Signature } from '../certificate-viewer/signature';
@@ -66,18 +67,6 @@ export class CsrViewer {
66
67
  }
67
68
  }
68
69
  // eslint-disable-next-line class-methods-use-this
69
- getLEILink(value) {
70
- return `https://search.gleif.org/#/record/${value}`;
71
- }
72
- // eslint-disable-next-line class-methods-use-this
73
- getDNSNameLink(value) {
74
- return `https://censys.io/ipv4?q=${value}`;
75
- }
76
- // eslint-disable-next-line class-methods-use-this
77
- getIPAddressLink(value) {
78
- return `https://censys.io/ipv4?q=${value}`;
79
- }
80
- // eslint-disable-next-line class-methods-use-this
81
70
  renderErrorState() {
82
71
  return (h("div", { class: "status_wrapper" },
83
72
  h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this certificate request.")));
@@ -109,8 +98,8 @@ export class CsrViewer {
109
98
  h(PublicKey, { publicKey: this.certificateDecoded.publicKey }),
110
99
  h(Signature, { signature: this.certificateDecoded.signature }),
111
100
  h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }),
112
- h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }),
113
- h(Extensions, { extensions: extensionRequestAttribute === null || extensionRequestAttribute === void 0 ? void 0 : extensionRequestAttribute.value, title: "Extension Request", getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }),
101
+ h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }),
102
+ h(Extensions, { extensions: extensionRequestAttribute === null || extensionRequestAttribute === void 0 ? void 0 : extensionRequestAttribute.value, title: "Extension Request", getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }),
114
103
  this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
115
104
  }
116
105
  static get is() { return "peculiar-csr-viewer"; }
@@ -1241,6 +1241,7 @@ export const OIDs = {
1241
1241
  '1.3.6.1.4.1.34697.2.4': 'Affirm Trust EV policy',
1242
1242
  '1.3.6.1.4.1.40869.1.1.22.3': 'TWCAEV policy',
1243
1243
  '1.3.6.1.4.1.13177.10.1.2.2': 'Corporate certificates for Natural Person',
1244
+ '1.3.6.1.4.1.37476.9000.64.1': 'Smallstep CA Provisioner ID',
1244
1245
  '1.3.6.1.5.2.3.5': 'KCD Authentication',
1245
1246
  '1.3.6.1.5.5.7': 'PKIX',
1246
1247
  '1.3.6.1.5.5.7.0.12': 'Attribute Cert',
@@ -1315,6 +1316,7 @@ export const OIDs = {
1315
1316
  '1.3.6.1.5.5.7.8': 'Other Names',
1316
1317
  '1.3.6.1.5.5.7.8.1': 'Personal Data',
1317
1318
  '1.3.6.1.5.5.7.8.2': 'User Group',
1319
+ '1.3.6.1.5.5.7.8.3': 'Permanent Identifier',
1318
1320
  '1.3.6.1.5.5.7.8.5': 'Xmpp Addr',
1319
1321
  '1.3.6.1.5.5.7.9': 'Personal Data',
1320
1322
  '1.3.6.1.5.5.7.9.1': 'Date Of Birth',
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Peculiar Ventures, LLC.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ export const getLEILink = (lei) => `https://search.gleif.org/#/record/${lei}`;
9
+ export const getDNSNameLink = (dnsName) => `https://search.censys.io/search?resource=hosts&q=dns.names%3A${dnsName}`;
10
+ export const getIPAddressLink = (ipAddress) => `https://search.censys.io/search?resource=hosts&q=ip%3A${ipAddress}`;
@@ -11482,6 +11482,7 @@ const OIDs = {
11482
11482
  '1.3.6.1.4.1.34697.2.4': 'Affirm Trust EV policy',
11483
11483
  '1.3.6.1.4.1.40869.1.1.22.3': 'TWCAEV policy',
11484
11484
  '1.3.6.1.4.1.13177.10.1.2.2': 'Corporate certificates for Natural Person',
11485
+ '1.3.6.1.4.1.37476.9000.64.1': 'Smallstep CA Provisioner ID',
11485
11486
  '1.3.6.1.5.2.3.5': 'KCD Authentication',
11486
11487
  '1.3.6.1.5.5.7': 'PKIX',
11487
11488
  '1.3.6.1.5.5.7.0.12': 'Attribute Cert',
@@ -11556,6 +11557,7 @@ const OIDs = {
11556
11557
  '1.3.6.1.5.5.7.8': 'Other Names',
11557
11558
  '1.3.6.1.5.5.7.8.1': 'Personal Data',
11558
11559
  '1.3.6.1.5.5.7.8.2': 'User Group',
11560
+ '1.3.6.1.5.5.7.8.3': 'Permanent Identifier',
11559
11561
  '1.3.6.1.5.5.7.8.5': 'Xmpp Addr',
11560
11562
  '1.3.6.1.5.5.7.9': 'Personal Data',
11561
11563
  '1.3.6.1.5.5.7.9.1': 'Date Of Birth',
@@ -15393,4 +15395,4 @@ Download.certificateRequest = {
15393
15395
  },
15394
15396
  };
15395
15397
 
15396
- export { AuthorityInfoAccessSyntax as $, AsnData as A, CertificationRequest as B, ChallengePassword as C, DomainNameTechnicalOperator as D, ExtensionRequest as E, id_ecPublicKey as F, ECParameters as G, id_rsaEncryption as H, InsuranceValue as I, Name as J, OtherName as K, DisplayText as L, EDIPartyName as M, Name$1 as N, OIDs as O, UserNotice as P, KeyUsage as Q, RSAPublicKey as R, BasicConstraints as S, TypeRelationship as T, UnstructuredName as U, ValuationRanking as V, WebGDPR as W, ExtendedKeyUsage as X, SubjectKeyIdentifier as Y, AuthorityKeyIdentifier as Z, CRLDistributionPoints as _, Attribute as a, SubjectAlternativeName as a0, CertificatePolicies as a1, CertificateTransparency as a2, NameConstraints as a3, CertificateTemplate as a4, EnrollCertTypeChoice as a5, CaVersion as a6, QCStatements as a7, NetscapeComment as a8, NetscapeCertType as a9, LeiRole as aa, LeiChoice as ab, Timestamp as ac, ArchiveRevInfo as ad, CRLReason as ae, SubjectDirectoryAttributes as af, PrivateKeyUsagePeriod as ag, EntrustVersionInfo as ah, BiometricSyntax as ai, LogotypeExtn as aj, TNAuthorizationList as ak, Download as al, isPem as am, isX509Pem as an, isPkcs10Pem as ao, isX509AttributePem as ap, X509Certificate as aq, id_pkcs9_at_extensionRequest as b, AsnParser as c, Extension$1 as d, AsnConvert as e, id_pkcs9_at_unstructuredName as f, id_pkcs9_at_challengePassword as g, id_ValuationRanking as h, index as i, id_InsuranceValue as j, id_WebGDPR as k, id_ActivityDescription as l, ActivityDescription as m, id_TypeRelationship as n, id_DomainNameTechnicalOperator as o, id_DomainNameOwner as p, DomainNameOwner as q, id_DomainNameLegalRepresentative as r, DomainNameLegalRepresentative as s, id_DomainNameBeneficiary as t, DomainNameBeneficiary as u, certificateRawToBuffer as v, AttributeCertificate as w, getCertificateThumbprint as x, hexFormat as y, base64Format as z };
15398
+ export { AuthorityInfoAccessSyntax as $, AsnData as A, CertificationRequest as B, ChallengePassword as C, DomainNameTechnicalOperator as D, ExtensionRequest as E, id_ecPublicKey as F, ECParameters as G, id_rsaEncryption as H, InsuranceValue as I, Name as J, OtherName as K, DisplayText as L, UserNotice as M, Name$1 as N, OIDs as O, EDIPartyName as P, KeyUsage as Q, RSAPublicKey as R, BasicConstraints as S, TypeRelationship as T, UnstructuredName as U, ValuationRanking as V, WebGDPR as W, ExtendedKeyUsage as X, SubjectKeyIdentifier as Y, AuthorityKeyIdentifier as Z, CRLDistributionPoints as _, Attribute as a, SubjectAlternativeName as a0, CertificatePolicies as a1, CertificateTransparency as a2, NameConstraints as a3, CertificateTemplate as a4, EnrollCertTypeChoice as a5, CaVersion as a6, QCStatements as a7, NetscapeComment as a8, NetscapeCertType as a9, LeiRole as aa, LeiChoice as ab, Timestamp as ac, ArchiveRevInfo as ad, CRLReason as ae, SubjectDirectoryAttributes as af, PrivateKeyUsagePeriod as ag, EntrustVersionInfo as ah, BiometricSyntax as ai, LogotypeExtn as aj, TNAuthorizationList as ak, Download as al, isPem as am, isX509Pem as an, isPkcs10Pem as ao, isX509AttributePem as ap, X509Certificate as aq, id_pkcs9_at_extensionRequest as b, AsnParser as c, Extension$1 as d, AsnConvert as e, id_pkcs9_at_unstructuredName as f, id_pkcs9_at_challengePassword as g, id_ValuationRanking as h, index as i, id_InsuranceValue as j, id_WebGDPR as k, id_ActivityDescription as l, ActivityDescription as m, id_TypeRelationship as n, id_DomainNameTechnicalOperator as o, id_DomainNameOwner as p, DomainNameOwner as q, id_DomainNameLegalRepresentative as r, DomainNameLegalRepresentative as s, id_DomainNameBeneficiary as t, DomainNameBeneficiary as u, certificateRawToBuffer as v, AttributeCertificate as w, getCertificateThumbprint as x, hexFormat as y, base64Format as z };
@@ -1,5 +1,5 @@
1
1
  import { h, r as registerInstance, H as Host, c as createEvent } from './index-5ef692cc.js';
2
- import { A as AsnData, a as Attribute$1, i as index, b as id_pkcs9_at_extensionRequest, c as AsnParser, E as ExtensionRequest, d as Extension, e as AsnConvert, f as id_pkcs9_at_unstructuredName, U as UnstructuredName, g as id_pkcs9_at_challengePassword, C as ChallengePassword, h as id_ValuationRanking, V as ValuationRanking, j as id_InsuranceValue, I as InsuranceValue, k as id_WebGDPR, W as WebGDPR, l as id_ActivityDescription, m as ActivityDescription, n as id_TypeRelationship, T as TypeRelationship, o as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, p as id_DomainNameOwner, q as DomainNameOwner, r as id_DomainNameLegalRepresentative, s as DomainNameLegalRepresentative, t as id_DomainNameBeneficiary, u as DomainNameBeneficiary, v as certificateRawToBuffer, w as AttributeCertificate, x as getCertificateThumbprint, y as hexFormat, z as base64Format, B as CertificationRequest, N as Name, F as id_ecPublicKey, G as ECParameters, H as id_rsaEncryption, R as RSAPublicKey, O as OIDs, J as Name$1, K as OtherName, L as DisplayText, M as EDIPartyName, P as UserNotice, Q as KeyUsage, S as BasicConstraints, X as ExtendedKeyUsage, Y as SubjectKeyIdentifier, Z as AuthorityKeyIdentifier, _ as CRLDistributionPoints, $ as AuthorityInfoAccessSyntax, a0 as SubjectAlternativeName, a1 as CertificatePolicies, a2 as CertificateTransparency, a3 as NameConstraints, a4 as CertificateTemplate, a5 as EnrollCertTypeChoice, a6 as CaVersion, a7 as QCStatements, a8 as NetscapeComment, a9 as NetscapeCertType, aa as LeiRole, ab as LeiChoice, ac as Timestamp, ad as ArchiveRevInfo, ae as CRLReason, af as SubjectDirectoryAttributes, ag as PrivateKeyUsagePeriod, ah as EntrustVersionInfo, ai as BiometricSyntax, aj as LogotypeExtn, ak as TNAuthorizationList, al as Download, am as isPem, an as isX509Pem, ao as isPkcs10Pem, ap as isX509AttributePem, aq as X509Certificate } from './download-dea7e15e.js';
2
+ import { A as AsnData, a as Attribute$1, i as index, b as id_pkcs9_at_extensionRequest, c as AsnParser, E as ExtensionRequest, d as Extension, e as AsnConvert, f as id_pkcs9_at_unstructuredName, U as UnstructuredName, g as id_pkcs9_at_challengePassword, C as ChallengePassword, h as id_ValuationRanking, V as ValuationRanking, j as id_InsuranceValue, I as InsuranceValue, k as id_WebGDPR, W as WebGDPR, l as id_ActivityDescription, m as ActivityDescription, n as id_TypeRelationship, T as TypeRelationship, o as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, p as id_DomainNameOwner, q as DomainNameOwner, r as id_DomainNameLegalRepresentative, s as DomainNameLegalRepresentative, t as id_DomainNameBeneficiary, u as DomainNameBeneficiary, v as certificateRawToBuffer, w as AttributeCertificate, x as getCertificateThumbprint, y as hexFormat, z as base64Format, B as CertificationRequest, N as Name, F as id_ecPublicKey, G as ECParameters, H as id_rsaEncryption, R as RSAPublicKey, O as OIDs, J as Name$1, K as OtherName, L as DisplayText, M as UserNotice, P as EDIPartyName, Q as KeyUsage, S as BasicConstraints, X as ExtendedKeyUsage, Y as SubjectKeyIdentifier, Z as AuthorityKeyIdentifier, _ as CRLDistributionPoints, $ as AuthorityInfoAccessSyntax, a0 as SubjectAlternativeName, a1 as CertificatePolicies, a2 as CertificateTransparency, a3 as NameConstraints, a4 as CertificateTemplate, a5 as EnrollCertTypeChoice, a6 as CaVersion, a7 as QCStatements, a8 as NetscapeComment, a9 as NetscapeCertType, aa as LeiRole, ab as LeiChoice, ac as Timestamp, ad as ArchiveRevInfo, ae as CRLReason, af as SubjectDirectoryAttributes, ag as PrivateKeyUsagePeriod, ah as EntrustVersionInfo, ai as BiometricSyntax, aj as LogotypeExtn, ak as TNAuthorizationList, al as Download, am as isPem, an as isX509Pem, ao as isPkcs10Pem, ap as isX509AttributePem, aq as X509Certificate } from './download-8756bae5.js';
3
3
  import { d as dateDiff, l as l10n, a as dateShort, h as history } from './l10n-6ab04c66.js';
4
4
 
5
5
  /**
@@ -413,8 +413,23 @@ const GeneralNamePart = (props) => {
413
413
  ];
414
414
  }
415
415
  if (value instanceof OtherName) {
416
- const text = AsnParser.parse(value.value, DisplayText);
417
- return (h(RowValue, { name: OIDs[value.typeId], value: text.toString() }));
416
+ try {
417
+ const text = AsnParser.parse(value.value, DisplayText);
418
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.toString() }));
419
+ }
420
+ catch (error) {
421
+ //
422
+ }
423
+ try {
424
+ const text = AsnParser.parse(value.value, UserNotice);
425
+ if (text.explicitText) {
426
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.explicitText.toString() }));
427
+ }
428
+ }
429
+ catch (error) {
430
+ //
431
+ }
432
+ return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: index.Convert.ToHex(value.value), monospace: true }));
418
433
  }
419
434
  if (index.BufferSourceConverter.isBufferSource(value)) {
420
435
  return (h(RowValue, { name: names[name] || name, value: index.Convert.ToString(value) }));
@@ -1429,6 +1444,17 @@ const Miscellaneous = (props) => {
1429
1444
  ];
1430
1445
  };
1431
1446
 
1447
+ /**
1448
+ * @license
1449
+ * Copyright (c) Peculiar Ventures, LLC.
1450
+ *
1451
+ * This source code is licensed under the MIT license found in the
1452
+ * LICENSE file in the root directory of this source tree.
1453
+ */
1454
+ const getLEILink = (lei) => `https://search.gleif.org/#/record/${lei}`;
1455
+ const getDNSNameLink = (dnsName) => `https://search.censys.io/search?resource=hosts&q=dns.names%3A${dnsName}`;
1456
+ const getIPAddressLink = (ipAddress) => `https://search.censys.io/search?resource=hosts&q=ip%3A${ipAddress}`;
1457
+
1432
1458
  /**
1433
1459
  * @license
1434
1460
  * Copyright (c) Peculiar Ventures, LLC.
@@ -1536,18 +1562,6 @@ const AttributeCertificateViewer = class {
1536
1562
  }
1537
1563
  }
1538
1564
  // eslint-disable-next-line class-methods-use-this
1539
- getLEILink(value) {
1540
- return `https://search.gleif.org/#/record/${value}`;
1541
- }
1542
- // eslint-disable-next-line class-methods-use-this
1543
- getDNSNameLink(value) {
1544
- return `https://censys.io/ipv4?q=${value}`;
1545
- }
1546
- // eslint-disable-next-line class-methods-use-this
1547
- getIPAddressLink(value) {
1548
- return `https://censys.io/ipv4?q=${value}`;
1549
- }
1550
- // eslint-disable-next-line class-methods-use-this
1551
1565
  renderErrorState() {
1552
1566
  return (h("div", { class: "status_wrapper" }, h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this attribute certificate.")));
1553
1567
  }
@@ -1562,7 +1576,7 @@ const AttributeCertificateViewer = class {
1562
1576
  if (!this.certificateDecoded) {
1563
1577
  return this.renderEmptyState();
1564
1578
  }
1565
- return (h(Host, null, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(Issuer, { issuer: this.certificateDecoded.issuer }), h(Holder, { holder: this.certificateDecoded.holder }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
1579
+ return (h(Host, null, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(Issuer, { issuer: this.certificateDecoded.issuer }), h(Holder, { holder: this.certificateDecoded.holder }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
1566
1580
  }
1567
1581
  static get watchers() { return {
1568
1582
  "certificate": ["watchCertificateAndDecode"]
@@ -1887,18 +1901,6 @@ const CertificateViewer = class {
1887
1901
  }
1888
1902
  }
1889
1903
  }
1890
- // eslint-disable-next-line class-methods-use-this
1891
- getLEILink(value) {
1892
- return `https://search.gleif.org/#/record/${value}`;
1893
- }
1894
- // eslint-disable-next-line class-methods-use-this
1895
- getDNSNameLink(value) {
1896
- return `https://censys.io/ipv4?q=${value}`;
1897
- }
1898
- // eslint-disable-next-line class-methods-use-this
1899
- getIPAddressLink(value) {
1900
- return `https://censys.io/ipv4?q=${value}`;
1901
- }
1902
1904
  getIssuerDnLink() {
1903
1905
  return this.issuerDnLink;
1904
1906
  }
@@ -1917,7 +1919,7 @@ const CertificateViewer = class {
1917
1919
  if (!this.certificateDecoded) {
1918
1920
  return this.renderEmptyState();
1919
1921
  }
1920
- return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
1922
+ return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
1921
1923
  }
1922
1924
  static get watchers() { return {
1923
1925
  "certificate": ["watchCertificateAndDecode"]
@@ -1979,18 +1981,6 @@ const CsrViewer = class {
1979
1981
  }
1980
1982
  }
1981
1983
  // eslint-disable-next-line class-methods-use-this
1982
- getLEILink(value) {
1983
- return `https://search.gleif.org/#/record/${value}`;
1984
- }
1985
- // eslint-disable-next-line class-methods-use-this
1986
- getDNSNameLink(value) {
1987
- return `https://censys.io/ipv4?q=${value}`;
1988
- }
1989
- // eslint-disable-next-line class-methods-use-this
1990
- getIPAddressLink(value) {
1991
- return `https://censys.io/ipv4?q=${value}`;
1992
- }
1993
- // eslint-disable-next-line class-methods-use-this
1994
1984
  renderErrorState() {
1995
1985
  return (h("div", { class: "status_wrapper" }, h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this certificate request.")));
1996
1986
  }
@@ -2013,7 +2003,7 @@ const CsrViewer = class {
2013
2003
  return this.renderEmptyState();
2014
2004
  }
2015
2005
  const extensionRequestAttribute = this.getExtensionRequestAttribute();
2016
- return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), h(Extensions, { extensions: extensionRequestAttribute === null || extensionRequestAttribute === void 0 ? void 0 : extensionRequestAttribute.value, title: "Extension Request", getLEILink: this.getLEILink, getDNSNameLink: this.getDNSNameLink, getIPAddressLink: this.getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
2006
+ return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), h(Extensions, { extensions: extensionRequestAttribute === null || extensionRequestAttribute === void 0 ? void 0 : extensionRequestAttribute.value, title: "Extension Request", getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
2017
2007
  }
2018
2008
  static get watchers() { return {
2019
2009
  "certificate": ["watchCertificateAndDecode"]
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-5ef692cc.js';
2
- import { aq as X509Certificate, al as Download, O as OIDs } from './download-dea7e15e.js';
2
+ import { aq as X509Certificate, al as Download, O as OIDs } from './download-8756bae5.js';
3
3
  import { l as l10n } from './l10n-6ab04c66.js';
4
4
 
5
5
  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}}";
@@ -10518,6 +10518,7 @@ var OIDs = {
10518
10518
  '1.3.6.1.4.1.34697.2.4': 'Affirm Trust EV policy',
10519
10519
  '1.3.6.1.4.1.40869.1.1.22.3': 'TWCAEV policy',
10520
10520
  '1.3.6.1.4.1.13177.10.1.2.2': 'Corporate certificates for Natural Person',
10521
+ '1.3.6.1.4.1.37476.9000.64.1': 'Smallstep CA Provisioner ID',
10521
10522
  '1.3.6.1.5.2.3.5': 'KCD Authentication',
10522
10523
  '1.3.6.1.5.5.7': 'PKIX',
10523
10524
  '1.3.6.1.5.5.7.0.12': 'Attribute Cert',
@@ -10592,6 +10593,7 @@ var OIDs = {
10592
10593
  '1.3.6.1.5.5.7.8': 'Other Names',
10593
10594
  '1.3.6.1.5.5.7.8.1': 'Personal Data',
10594
10595
  '1.3.6.1.5.5.7.8.2': 'User Group',
10596
+ '1.3.6.1.5.5.7.8.3': 'Permanent Identifier',
10595
10597
  '1.3.6.1.5.5.7.8.5': 'Xmpp Addr',
10596
10598
  '1.3.6.1.5.5.7.9': 'Personal Data',
10597
10599
  '1.3.6.1.5.5.7.9.1': 'Date Of Birth',
@@ -14795,4 +14797,4 @@ Download.certificateRequest = {
14795
14797
  downloadFromBuffer(index.Convert.FromString(hex), 'application/pkcs10', name, 'csr');
14796
14798
  },
14797
14799
  };
14798
- export { AuthorityInfoAccessSyntax as $, AsnData as A, CertificationRequest as B, ChallengePassword as C, DomainNameTechnicalOperator as D, ExtensionRequest as E, id_ecPublicKey as F, ECParameters as G, id_rsaEncryption as H, InsuranceValue as I, Name as J, OtherName as K, DisplayText as L, EDIPartyName as M, Name$1 as N, OIDs as O, UserNotice as P, KeyUsage as Q, RSAPublicKey as R, BasicConstraints as S, TypeRelationship as T, UnstructuredName as U, ValuationRanking as V, WebGDPR as W, ExtendedKeyUsage as X, SubjectKeyIdentifier as Y, AuthorityKeyIdentifier as Z, CRLDistributionPoints as _, Attribute as a, SubjectAlternativeName as a0, CertificatePolicies as a1, CertificateTransparency as a2, NameConstraints as a3, CertificateTemplate as a4, EnrollCertTypeChoice as a5, CaVersion as a6, QCStatements as a7, NetscapeComment as a8, NetscapeCertType as a9, LeiRole as aa, LeiChoice as ab, Timestamp as ac, ArchiveRevInfo as ad, CRLReason as ae, SubjectDirectoryAttributes as af, PrivateKeyUsagePeriod as ag, EntrustVersionInfo as ah, BiometricSyntax as ai, LogotypeExtn as aj, TNAuthorizationList as ak, Download as al, isPem as am, isX509Pem as an, isPkcs10Pem as ao, isX509AttributePem as ap, X509Certificate as aq, id_pkcs9_at_extensionRequest as b, AsnParser as c, Extension$1 as d, AsnConvert as e, id_pkcs9_at_unstructuredName as f, id_pkcs9_at_challengePassword as g, id_ValuationRanking as h, index as i, id_InsuranceValue as j, id_WebGDPR as k, id_ActivityDescription as l, ActivityDescription as m, id_TypeRelationship as n, id_DomainNameTechnicalOperator as o, id_DomainNameOwner as p, DomainNameOwner as q, id_DomainNameLegalRepresentative as r, DomainNameLegalRepresentative as s, id_DomainNameBeneficiary as t, DomainNameBeneficiary as u, certificateRawToBuffer as v, AttributeCertificate as w, getCertificateThumbprint as x, hexFormat as y, base64Format as z };
14800
+ export { AuthorityInfoAccessSyntax as $, AsnData as A, CertificationRequest as B, ChallengePassword as C, DomainNameTechnicalOperator as D, ExtensionRequest as E, id_ecPublicKey as F, ECParameters as G, id_rsaEncryption as H, InsuranceValue as I, Name as J, OtherName as K, DisplayText as L, UserNotice as M, Name$1 as N, OIDs as O, EDIPartyName as P, KeyUsage as Q, RSAPublicKey as R, BasicConstraints as S, TypeRelationship as T, UnstructuredName as U, ValuationRanking as V, WebGDPR as W, ExtendedKeyUsage as X, SubjectKeyIdentifier as Y, AuthorityKeyIdentifier as Z, CRLDistributionPoints as _, Attribute as a, SubjectAlternativeName as a0, CertificatePolicies as a1, CertificateTransparency as a2, NameConstraints as a3, CertificateTemplate as a4, EnrollCertTypeChoice as a5, CaVersion as a6, QCStatements as a7, NetscapeComment as a8, NetscapeCertType as a9, LeiRole as aa, LeiChoice as ab, Timestamp as ac, ArchiveRevInfo as ad, CRLReason as ae, SubjectDirectoryAttributes as af, PrivateKeyUsagePeriod as ag, EntrustVersionInfo as ah, BiometricSyntax as ai, LogotypeExtn as aj, TNAuthorizationList as ak, Download as al, isPem as am, isX509Pem as an, isPkcs10Pem as ao, isX509AttributePem as ap, X509Certificate as aq, id_pkcs9_at_extensionRequest as b, AsnParser as c, Extension$1 as d, AsnConvert as e, id_pkcs9_at_unstructuredName as f, id_pkcs9_at_challengePassword as g, id_ValuationRanking as h, index as i, id_InsuranceValue as j, id_WebGDPR as k, id_ActivityDescription as l, ActivityDescription as m, id_TypeRelationship as n, id_DomainNameTechnicalOperator as o, id_DomainNameOwner as p, DomainNameOwner as q, id_DomainNameLegalRepresentative as r, DomainNameLegalRepresentative as s, id_DomainNameBeneficiary as t, DomainNameBeneficiary as u, certificateRawToBuffer as v, AttributeCertificate as w, getCertificateThumbprint as x, hexFormat as y, base64Format as z };