@peculiar/certificates-viewer 1.17.5 → 1.17.6

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.
@@ -1433,6 +1433,17 @@ const Miscellaneous = (props) => {
1433
1433
  ];
1434
1434
  };
1435
1435
 
1436
+ /**
1437
+ * @license
1438
+ * Copyright (c) Peculiar Ventures, LLC.
1439
+ *
1440
+ * This source code is licensed under the MIT license found in the
1441
+ * LICENSE file in the root directory of this source tree.
1442
+ */
1443
+ const getLEILink = (lei) => `https://search.gleif.org/#/record/${lei}`;
1444
+ const getDNSNameLink = (dnsName) => `https://search.censys.io/search?resource=hosts&q=dns.names%3A${dnsName}`;
1445
+ const getIPAddressLink = (ipAddress) => `https://search.censys.io/search?resource=hosts&q=ip%3A${ipAddress}`;
1446
+
1436
1447
  /**
1437
1448
  * @license
1438
1449
  * Copyright (c) Peculiar Ventures, LLC.
@@ -1540,18 +1551,6 @@ const AttributeCertificateViewer = class {
1540
1551
  }
1541
1552
  }
1542
1553
  // 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
1554
  renderErrorState() {
1556
1555
  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
1556
  }
@@ -1566,7 +1565,7 @@ const AttributeCertificateViewer = class {
1566
1565
  if (!this.certificateDecoded) {
1567
1566
  return this.renderEmptyState();
1568
1567
  }
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 })))));
1568
+ 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
1569
  }
1571
1570
  static get watchers() { return {
1572
1571
  "certificate": ["watchCertificateAndDecode"]
@@ -1891,18 +1890,6 @@ const CertificateViewer = class {
1891
1890
  }
1892
1891
  }
1893
1892
  }
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
1893
  getIssuerDnLink() {
1907
1894
  return this.issuerDnLink;
1908
1895
  }
@@ -1921,7 +1908,7 @@ const CertificateViewer = class {
1921
1908
  if (!this.certificateDecoded) {
1922
1909
  return this.renderEmptyState();
1923
1910
  }
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 })))));
1911
+ 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
1912
  }
1926
1913
  static get watchers() { return {
1927
1914
  "certificate": ["watchCertificateAndDecode"]
@@ -1983,18 +1970,6 @@ const CsrViewer = class {
1983
1970
  }
1984
1971
  }
1985
1972
  // 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
1973
  renderErrorState() {
1999
1974
  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
1975
  }
@@ -2017,7 +1992,7 @@ const CsrViewer = class {
2017
1992
  return this.renderEmptyState();
2018
1993
  }
2019
1994
  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 })))));
1995
+ 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
1996
  }
2022
1997
  static get watchers() { return {
2023
1998
  "certificate": ["watchCertificateAndDecode"]
@@ -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"; }
@@ -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"; }
@@ -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}`;
@@ -1429,6 +1429,17 @@ const Miscellaneous = (props) => {
1429
1429
  ];
1430
1430
  };
1431
1431
 
1432
+ /**
1433
+ * @license
1434
+ * Copyright (c) Peculiar Ventures, LLC.
1435
+ *
1436
+ * This source code is licensed under the MIT license found in the
1437
+ * LICENSE file in the root directory of this source tree.
1438
+ */
1439
+ const getLEILink = (lei) => `https://search.gleif.org/#/record/${lei}`;
1440
+ const getDNSNameLink = (dnsName) => `https://search.censys.io/search?resource=hosts&q=dns.names%3A${dnsName}`;
1441
+ const getIPAddressLink = (ipAddress) => `https://search.censys.io/search?resource=hosts&q=ip%3A${ipAddress}`;
1442
+
1432
1443
  /**
1433
1444
  * @license
1434
1445
  * Copyright (c) Peculiar Ventures, LLC.
@@ -1536,18 +1547,6 @@ const AttributeCertificateViewer = class {
1536
1547
  }
1537
1548
  }
1538
1549
  // 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
1550
  renderErrorState() {
1552
1551
  return (h("div", { class: "status_wrapper" }, h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this attribute certificate.")));
1553
1552
  }
@@ -1562,7 +1561,7 @@ const AttributeCertificateViewer = class {
1562
1561
  if (!this.certificateDecoded) {
1563
1562
  return this.renderEmptyState();
1564
1563
  }
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 })))));
1564
+ 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
1565
  }
1567
1566
  static get watchers() { return {
1568
1567
  "certificate": ["watchCertificateAndDecode"]
@@ -1887,18 +1886,6 @@ const CertificateViewer = class {
1887
1886
  }
1888
1887
  }
1889
1888
  }
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
1889
  getIssuerDnLink() {
1903
1890
  return this.issuerDnLink;
1904
1891
  }
@@ -1917,7 +1904,7 @@ const CertificateViewer = class {
1917
1904
  if (!this.certificateDecoded) {
1918
1905
  return this.renderEmptyState();
1919
1906
  }
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 })))));
1907
+ 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
1908
  }
1922
1909
  static get watchers() { return {
1923
1910
  "certificate": ["watchCertificateAndDecode"]
@@ -1979,18 +1966,6 @@ const CsrViewer = class {
1979
1966
  }
1980
1967
  }
1981
1968
  // 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
1969
  renderErrorState() {
1995
1970
  return (h("div", { class: "status_wrapper" }, h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this certificate request.")));
1996
1971
  }
@@ -2013,7 +1988,7 @@ const CsrViewer = class {
2013
1988
  return this.renderEmptyState();
2014
1989
  }
2015
1990
  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 })))));
1991
+ 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
1992
  }
2018
1993
  static get watchers() { return {
2019
1994
  "certificate": ["watchCertificateAndDecode"]
@@ -1396,6 +1396,16 @@ var Miscellaneous = function (props) {
1396
1396
  }] }, l10n.getString('download.pem')))),
1397
1397
  ];
1398
1398
  };
1399
+ /**
1400
+ * @license
1401
+ * Copyright (c) Peculiar Ventures, LLC.
1402
+ *
1403
+ * This source code is licensed under the MIT license found in the
1404
+ * LICENSE file in the root directory of this source tree.
1405
+ */
1406
+ var getLEILink = function (lei) { return "https://search.gleif.org/#/record/" + lei; };
1407
+ var getDNSNameLink = function (dnsName) { return "https://search.censys.io/search?resource=hosts&q=dns.names%3A" + dnsName; };
1408
+ var getIPAddressLink = function (ipAddress) { return "https://search.censys.io/search?resource=hosts&q=ip%3A" + ipAddress; };
1399
1409
  /**
1400
1410
  * @license
1401
1411
  * Copyright (c) Peculiar Ventures, LLC.
@@ -1514,18 +1524,6 @@ var AttributeCertificateViewer = /** @class */ (function () {
1514
1524
  }
1515
1525
  };
1516
1526
  // eslint-disable-next-line class-methods-use-this
1517
- class_1.prototype.getLEILink = function (value) {
1518
- return "https://search.gleif.org/#/record/" + value;
1519
- };
1520
- // eslint-disable-next-line class-methods-use-this
1521
- class_1.prototype.getDNSNameLink = function (value) {
1522
- return "https://censys.io/ipv4?q=" + value;
1523
- };
1524
- // eslint-disable-next-line class-methods-use-this
1525
- class_1.prototype.getIPAddressLink = function (value) {
1526
- return "https://censys.io/ipv4?q=" + value;
1527
- };
1528
- // eslint-disable-next-line class-methods-use-this
1529
1527
  class_1.prototype.renderErrorState = function () {
1530
1528
  return (h("div", { class: "status_wrapper" }, h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this attribute certificate.")));
1531
1529
  };
@@ -1540,7 +1538,7 @@ var AttributeCertificateViewer = /** @class */ (function () {
1540
1538
  if (!this.certificateDecoded) {
1541
1539
  return this.renderEmptyState();
1542
1540
  }
1543
- 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 })))));
1541
+ 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 })))));
1544
1542
  };
1545
1543
  Object.defineProperty(class_1, "watchers", {
1546
1544
  get: function () {
@@ -1906,18 +1904,6 @@ var CertificateViewer = /** @class */ (function () {
1906
1904
  }
1907
1905
  }
1908
1906
  };
1909
- // eslint-disable-next-line class-methods-use-this
1910
- class_3.prototype.getLEILink = function (value) {
1911
- return "https://search.gleif.org/#/record/" + value;
1912
- };
1913
- // eslint-disable-next-line class-methods-use-this
1914
- class_3.prototype.getDNSNameLink = function (value) {
1915
- return "https://censys.io/ipv4?q=" + value;
1916
- };
1917
- // eslint-disable-next-line class-methods-use-this
1918
- class_3.prototype.getIPAddressLink = function (value) {
1919
- return "https://censys.io/ipv4?q=" + value;
1920
- };
1921
1907
  class_3.prototype.getIssuerDnLink = function () {
1922
1908
  return this.issuerDnLink;
1923
1909
  };
@@ -1936,7 +1922,7 @@ var CertificateViewer = /** @class */ (function () {
1936
1922
  if (!this.certificateDecoded) {
1937
1923
  return this.renderEmptyState();
1938
1924
  }
1939
- 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 })))));
1925
+ 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 })))));
1940
1926
  };
1941
1927
  Object.defineProperty(class_3, "watchers", {
1942
1928
  get: function () {
@@ -2021,18 +2007,6 @@ var CsrViewer = /** @class */ (function () {
2021
2007
  }
2022
2008
  };
2023
2009
  // eslint-disable-next-line class-methods-use-this
2024
- class_4.prototype.getLEILink = function (value) {
2025
- return "https://search.gleif.org/#/record/" + value;
2026
- };
2027
- // eslint-disable-next-line class-methods-use-this
2028
- class_4.prototype.getDNSNameLink = function (value) {
2029
- return "https://censys.io/ipv4?q=" + value;
2030
- };
2031
- // eslint-disable-next-line class-methods-use-this
2032
- class_4.prototype.getIPAddressLink = function (value) {
2033
- return "https://censys.io/ipv4?q=" + value;
2034
- };
2035
- // eslint-disable-next-line class-methods-use-this
2036
2010
  class_4.prototype.renderErrorState = function () {
2037
2011
  return (h("div", { class: "status_wrapper" }, h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this certificate request.")));
2038
2012
  };
@@ -2055,7 +2029,7 @@ var CsrViewer = /** @class */ (function () {
2055
2029
  return this.renderEmptyState();
2056
2030
  }
2057
2031
  var extensionRequestAttribute = this.getExtensionRequestAttribute();
2058
- 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 })))));
2032
+ 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 })))));
2059
2033
  };
2060
2034
  Object.defineProperty(class_4, "watchers", {
2061
2035
  get: function () {
@@ -1 +1 @@
1
- System.register(["./p-9f815f76.system.js","./p-aa0a9b36.system.js"],(function(){"use strict";var e,i;return{setters:[function(i){e=i.b},function(e){i=e.p}],execute:function(){i().then((function(i){return e([["p-659feaec.system",[[1,"peculiar-certificate-decoder",{certificateExample:[1,"certificate-example"],certificateDecoded:[32]}],[1,"peculiar-attribute-certificate-viewer",{certificate:[1],download:[4],authKeyIdParentLink:[513,"auth-key-id-parent-link"],authKeyIdSiblingsLink:[513,"auth-key-id-siblings-link"],subjectKeyIdChildrenLink:[513,"subject-key-id-children-link"],subjectKeyIdSiblingsLink:[513,"subject-key-id-siblings-link"],isDecodeInProcess:[32]}],[1,"peculiar-csr-viewer",{certificate:[513],download:[4],subjectKeyIdChildrenLink:[513,"subject-key-id-children-link"],subjectKeyIdSiblingsLink:[513,"subject-key-id-siblings-link"],view:[513],isDecodeInProcess:[32]}],[1,"peculiar-certificate-viewer",{certificate:[513],download:[516],authKeyIdParentLink:[513,"auth-key-id-parent-link"],authKeyIdSiblingsLink:[513,"auth-key-id-siblings-link"],subjectKeyIdChildrenLink:[513,"subject-key-id-children-link"],subjectKeyIdSiblingsLink:[513,"subject-key-id-siblings-link"],issuerDnLink:[513,"issuer-dn-link"],view:[513],isDecodeInProcess:[32]}],[1,"peculiar-button-split",{onClick:[16],fill:[1],actions:[16],open:[32]}],[1,"peculiar-text-hider",{opened:[1540]},[[0,"textExpand","textExpandHandler"]]],[1,"peculiar-link",{href:[513],type:[513]}],[1,"peculiar-typography",{type:[513],color:[1],align:[1],ellipsis:[4],monospace:[4]}],[1,"peculiar-button",{fill:[1],disabled:[516],href:[1],target:[1],onClick:[16]}]]],["p-150d1ad1.system",[[1,"peculiar-certificate-summary",{certificate:[16],showIssuer:[4,"show-issuer"]}],[1,"peculiar-circular-progress",{size:[2],width:[2]}],[1,"peculiar-highlight-words",{search:[1]}]]],["p-704409ca.system",[[1,"peculiar-certificates-viewer",{certificates:[16],filterWithSearch:[4,"filter-with-search"],highlightWithSearch:[4,"highlight-with-search"],search:[32],certificatesDecoded:[32],expandedRow:[32],certificateSelectedForDetails:[32],isDecodeInProcess:[32]}]]]],i)}))}}}));
1
+ System.register(["./p-9f815f76.system.js","./p-aa0a9b36.system.js"],(function(){"use strict";var e,i;return{setters:[function(i){e=i.b},function(e){i=e.p}],execute:function(){i().then((function(i){return e([["p-ae8de220.system",[[1,"peculiar-certificate-decoder",{certificateExample:[1,"certificate-example"],certificateDecoded:[32]}],[1,"peculiar-attribute-certificate-viewer",{certificate:[1],download:[4],authKeyIdParentLink:[513,"auth-key-id-parent-link"],authKeyIdSiblingsLink:[513,"auth-key-id-siblings-link"],subjectKeyIdChildrenLink:[513,"subject-key-id-children-link"],subjectKeyIdSiblingsLink:[513,"subject-key-id-siblings-link"],isDecodeInProcess:[32]}],[1,"peculiar-csr-viewer",{certificate:[513],download:[4],subjectKeyIdChildrenLink:[513,"subject-key-id-children-link"],subjectKeyIdSiblingsLink:[513,"subject-key-id-siblings-link"],view:[513],isDecodeInProcess:[32]}],[1,"peculiar-certificate-viewer",{certificate:[513],download:[516],authKeyIdParentLink:[513,"auth-key-id-parent-link"],authKeyIdSiblingsLink:[513,"auth-key-id-siblings-link"],subjectKeyIdChildrenLink:[513,"subject-key-id-children-link"],subjectKeyIdSiblingsLink:[513,"subject-key-id-siblings-link"],issuerDnLink:[513,"issuer-dn-link"],view:[513],isDecodeInProcess:[32]}],[1,"peculiar-button-split",{onClick:[16],fill:[1],actions:[16],open:[32]}],[1,"peculiar-text-hider",{opened:[1540]},[[0,"textExpand","textExpandHandler"]]],[1,"peculiar-link",{href:[513],type:[513]}],[1,"peculiar-typography",{type:[513],color:[1],align:[1],ellipsis:[4],monospace:[4]}],[1,"peculiar-button",{fill:[1],disabled:[516],href:[1],target:[1],onClick:[16]}]]],["p-150d1ad1.system",[[1,"peculiar-certificate-summary",{certificate:[16],showIssuer:[4,"show-issuer"]}],[1,"peculiar-circular-progress",{size:[2],width:[2]}],[1,"peculiar-highlight-words",{search:[1]}]]],["p-704409ca.system",[[1,"peculiar-certificates-viewer",{certificates:[16],filterWithSearch:[4,"filter-with-search"],highlightWithSearch:[4,"highlight-with-search"],search:[32],certificatesDecoded:[32],expandedRow:[32],certificateSelectedForDetails:[32],isDecodeInProcess:[32]}]]]],i)}))}}}));