@peculiar/certificates-viewer 4.7.1-alpha.1 → 4.7.1-alpha.4

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 (163) hide show
  1. package/components/attribute-certificate-viewer.js +2 -2
  2. package/components/attribute.js +1 -1
  3. package/components/certificate-chain-viewer.js +1 -1
  4. package/components/certificate-viewer.js +2 -2
  5. package/components/crl-viewer.js +2 -2
  6. package/components/csr-viewer.js +1 -1
  7. package/components/download.js +14324 -17
  8. package/components/download.js.map +1 -1
  9. package/components/index.js +1 -2
  10. package/components/index.js.map +1 -1
  11. package/components/index2.js +1 -1
  12. package/components/issuer_name.js +1 -1
  13. package/components/miscellaneous.js +1 -2
  14. package/components/miscellaneous.js.map +1 -1
  15. package/components/peculiar-certificate-decoder.js +1 -1
  16. package/components/peculiar-certificates-viewer.js +1 -2
  17. package/components/peculiar-certificates-viewer.js.map +1 -1
  18. package/components/pkcs10_certificate_request.js +2 -2
  19. package/components/row.js +1 -1
  20. package/components/ssh-certificate-viewer.js +23 -6
  21. package/components/ssh-certificate-viewer.js.map +1 -1
  22. package/components/subject_name.js +1 -1
  23. package/components/utils.js +39 -0
  24. package/components/utils.js.map +1 -0
  25. package/dist/cjs/{extension-D8YKlAu4.js → extension-DTtJlxk8.js} +3 -3
  26. package/dist/cjs/{extension-D8YKlAu4.js.map → extension-DTtJlxk8.js.map} +1 -1
  27. package/dist/cjs/index.cjs.js +2 -2
  28. package/dist/cjs/{miscellaneous-DvVSM5KJ.js → miscellaneous-DCeacaAw.js} +4 -4
  29. package/dist/cjs/{miscellaneous-DvVSM5KJ.js.map → miscellaneous-DCeacaAw.js.map} +1 -1
  30. package/dist/cjs/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.cjs.js.map +1 -1
  31. package/dist/cjs/peculiar-attribute-certificate-viewer_5.cjs.entry.js +27 -10
  32. package/dist/cjs/peculiar-attribute-certificate-viewer_5.cjs.entry.js.map +1 -1
  33. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +5 -5
  34. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +4 -4
  35. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +3 -3
  36. package/dist/cjs/{pkcs10_certificate_request-BoHhadiA.js → pkcs10_certificate_request-DE-0eDXE.js} +3 -3
  37. package/dist/cjs/{pkcs10_certificate_request-BoHhadiA.js.map → pkcs10_certificate_request-DE-0eDXE.js.map} +1 -1
  38. package/dist/cjs/{ssh_certificate-s3-rwdMT.js → ssh_certificate-D2q_p49O.js} +14 -2
  39. package/dist/cjs/ssh_certificate-D2q_p49O.js.map +1 -0
  40. package/dist/cjs/{x509_certificate-DfXuxxZp.js → x509_certificate-Cto1q-eu.js} +4 -4
  41. package/dist/cjs/{x509_certificate-DfXuxxZp.js.map → x509_certificate-Cto1q-eu.js.map} +1 -1
  42. package/dist/cjs/{x509_crl-CxJ2lyGX.js → x509_crl-CgixMZrh.js} +5 -5
  43. package/dist/cjs/{x509_crl-CxJ2lyGX.js.map → x509_crl-CgixMZrh.js.map} +1 -1
  44. package/dist/collection/components/ssh-certificate-viewer/-components/basic_information.js +3 -3
  45. package/dist/collection/components/ssh-certificate-viewer/-components/basic_information.js.map +1 -1
  46. package/dist/collection/components/ssh-certificate-viewer/-components/miscellaneous.js +23 -0
  47. package/dist/collection/components/ssh-certificate-viewer/-components/miscellaneous.js.map +1 -0
  48. package/dist/collection/components/ssh-certificate-viewer/ssh-certificate-viewer.js +2 -1
  49. package/dist/collection/components/ssh-certificate-viewer/ssh-certificate-viewer.js.map +1 -1
  50. package/dist/collection/crypto/ssh_certificate.js +7 -1
  51. package/dist/collection/crypto/ssh_certificate.js.map +1 -1
  52. package/dist/collection/locales/en.json +1 -0
  53. package/dist/collection/utils/download.js +5 -0
  54. package/dist/collection/utils/download.js.map +1 -1
  55. package/dist/esm/{extension-oK2qpCU6.js → extension-DmlhftES.js} +3 -3
  56. package/dist/esm/{extension-oK2qpCU6.js.map → extension-DmlhftES.js.map} +1 -1
  57. package/dist/esm/index.js +2 -2
  58. package/dist/esm/{miscellaneous-DrmTXljc.js → miscellaneous-BTlqwN5_.js} +4 -4
  59. package/dist/esm/{miscellaneous-DrmTXljc.js.map → miscellaneous-BTlqwN5_.js.map} +1 -1
  60. package/dist/esm/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.js.map +1 -1
  61. package/dist/esm/peculiar-attribute-certificate-viewer_5.entry.js +28 -11
  62. package/dist/esm/peculiar-attribute-certificate-viewer_5.entry.js.map +1 -1
  63. package/dist/esm/peculiar-certificate-decoder.entry.js +5 -5
  64. package/dist/esm/peculiar-certificate-viewer.entry.js +4 -4
  65. package/dist/esm/peculiar-certificates-viewer.entry.js +3 -3
  66. package/dist/esm/{pkcs10_certificate_request-Bdt_qA_g.js → pkcs10_certificate_request-B5C1NYFc.js} +3 -3
  67. package/dist/esm/{pkcs10_certificate_request-Bdt_qA_g.js.map → pkcs10_certificate_request-B5C1NYFc.js.map} +1 -1
  68. package/dist/esm/{ssh_certificate-Ct-r021h.js → ssh_certificate-PCn0WXhQ.js} +14 -2
  69. package/dist/esm/ssh_certificate-PCn0WXhQ.js.map +1 -0
  70. package/dist/esm/{x509_certificate-5DEbrOA7.js → x509_certificate-BiAmXJ4S.js} +4 -4
  71. package/dist/{esm-es5/x509_certificate-5DEbrOA7.js.map → esm/x509_certificate-BiAmXJ4S.js.map} +1 -1
  72. package/dist/esm/{x509_crl-CPgNUkh7.js → x509_crl-CCeoLLUZ.js} +5 -5
  73. package/dist/esm/{x509_crl-CPgNUkh7.js.map → x509_crl-CCeoLLUZ.js.map} +1 -1
  74. package/dist/esm-es5/{extension-oK2qpCU6.js → extension-DmlhftES.js} +2 -2
  75. package/dist/esm-es5/{extension-oK2qpCU6.js.map → extension-DmlhftES.js.map} +1 -1
  76. package/dist/esm-es5/index.js +1 -1
  77. package/dist/esm-es5/{miscellaneous-DrmTXljc.js → miscellaneous-BTlqwN5_.js} +2 -2
  78. package/dist/esm-es5/{miscellaneous-DrmTXljc.js.map → miscellaneous-BTlqwN5_.js.map} +1 -1
  79. package/dist/esm-es5/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.js.map +1 -1
  80. package/dist/esm-es5/peculiar-attribute-certificate-viewer_5.entry.js +10 -3
  81. package/dist/esm-es5/peculiar-attribute-certificate-viewer_5.entry.js.map +1 -1
  82. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
  83. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
  84. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
  85. package/dist/esm-es5/{pkcs10_certificate_request-Bdt_qA_g.js → pkcs10_certificate_request-B5C1NYFc.js} +2 -2
  86. package/dist/esm-es5/{pkcs10_certificate_request-Bdt_qA_g.js.map → pkcs10_certificate_request-B5C1NYFc.js.map} +1 -1
  87. package/dist/esm-es5/{ssh_certificate-Ct-r021h.js → ssh_certificate-PCn0WXhQ.js} +4 -4
  88. package/dist/esm-es5/ssh_certificate-PCn0WXhQ.js.map +1 -0
  89. package/dist/esm-es5/{x509_certificate-5DEbrOA7.js → x509_certificate-BiAmXJ4S.js} +4 -4
  90. package/dist/{esm/x509_certificate-5DEbrOA7.js.map → esm-es5/x509_certificate-BiAmXJ4S.js.map} +1 -1
  91. package/dist/esm-es5/{x509_crl-CPgNUkh7.js → x509_crl-CCeoLLUZ.js} +2 -2
  92. package/dist/esm-es5/{x509_crl-CPgNUkh7.js.map → x509_crl-CCeoLLUZ.js.map} +1 -1
  93. package/dist/peculiar/index.esm.js +1 -1
  94. package/dist/peculiar/locales/en.json +1 -0
  95. package/dist/peculiar/{p-364fd32b.system.entry.js → p-24861cf6.system.entry.js} +2 -2
  96. package/dist/peculiar/{p-11434880.system.entry.js → p-46c17c8d.system.entry.js} +2 -2
  97. package/dist/peculiar/{p-62b723f6.entry.js → p-71cb31c6.entry.js} +29 -22
  98. package/dist/peculiar/p-71cb31c6.entry.js.map +1 -0
  99. package/dist/peculiar/{p-0b895a8e.entry.js → p-71eab586.entry.js} +2 -2
  100. package/dist/peculiar/{p-da9eb1e7.entry.js → p-7273601a.entry.js} +2 -2
  101. package/dist/peculiar/{p-fd98bb82.system.entry.js → p-83bfd8e5.system.entry.js} +2 -2
  102. package/dist/peculiar/{p-83a53b4f.entry.js → p-98219569.entry.js} +2 -2
  103. package/dist/peculiar/{p-LmKU8Smy.system.js.map → p-9MJeDspO.system.js.map} +1 -1
  104. package/dist/peculiar/p-AjXipXSl.system.js +12 -0
  105. package/dist/peculiar/{p-IOtHTzYC.system.js.map → p-AjXipXSl.system.js.map} +1 -1
  106. package/dist/peculiar/{p-BQiABBi1.system.js → p-B2FH4Pv2.system.js} +4 -4
  107. package/dist/peculiar/{p-BQiABBi1.system.js.map → p-B2FH4Pv2.system.js.map} +1 -1
  108. package/dist/peculiar/{p-BeVuAzsd.system.js → p-B5GO6_Ut.system.js} +43 -43
  109. package/dist/peculiar/{p-BeVuAzsd.system.js.map → p-B5GO6_Ut.system.js.map} +1 -1
  110. package/dist/peculiar/{p-CxtUQdcj.system.js.map → p-B82-c-xr.system.js.map} +1 -1
  111. package/dist/peculiar/p-BGASC3UX.system.js +1 -1
  112. package/dist/peculiar/p-BHpSDBz_.system.js.map +1 -0
  113. package/dist/peculiar/p-BwlcJAh0.js +12 -0
  114. package/dist/peculiar/{p-BGIWeG8l.js.map → p-BwlcJAh0.js.map} +1 -1
  115. package/dist/peculiar/{p-BCsPspKr.system.js.map → p-CSz5liuX.system.js.map} +1 -1
  116. package/dist/peculiar/{p-D9qq15zG.js → p-CstRxc9v.js} +2 -2
  117. package/dist/peculiar/{p-D9qq15zG.js.map → p-CstRxc9v.js.map} +1 -1
  118. package/dist/peculiar/{p-ClkgAXnd.system.js → p-DMDALRLP.system.js} +4 -4
  119. package/dist/peculiar/p-DMDALRLP.system.js.map +1 -0
  120. package/dist/peculiar/{p-2GQYAR0v.system.js → p-DPbpwYQ8.system.js} +3 -3
  121. package/dist/peculiar/{p-2GQYAR0v.system.js.map → p-DPbpwYQ8.system.js.map} +1 -1
  122. package/dist/peculiar/{p-RWPI76Dh.js → p-Db41gPxb.js} +4 -4
  123. package/dist/peculiar/{p-RWPI76Dh.js.map → p-Db41gPxb.js.map} +1 -1
  124. package/dist/peculiar/{p-B2G7qjfV.js → p-DnOLjFJP.js} +40 -40
  125. package/dist/peculiar/{p-B2G7qjfV.js.map → p-DnOLjFJP.js.map} +1 -1
  126. package/dist/peculiar/{p-Ct-r021h.js → p-PCn0WXhQ.js} +4 -4
  127. package/dist/peculiar/p-PCn0WXhQ.js.map +1 -0
  128. package/dist/peculiar/{p-zQwWLfga.system.js → p-SjVQtfgD.system.js} +4 -4
  129. package/dist/peculiar/{p-zQwWLfga.system.js.map → p-SjVQtfgD.system.js.map} +1 -1
  130. package/dist/peculiar/{p-5df0f22b.system.entry.js → p-cc01a2da.system.entry.js} +29 -22
  131. package/dist/peculiar/p-cc01a2da.system.entry.js.map +1 -0
  132. package/dist/peculiar/{p-C31rbtuG.system.js → p-dOkqMp-O.system.js} +2 -2
  133. package/dist/peculiar/p-dOkqMp-O.system.js.map +1 -0
  134. package/dist/peculiar/{p-DOpiv0-8.js → p-h7XP7otl.js} +2 -2
  135. package/dist/peculiar/{p-DOpiv0-8.js.map → p-h7XP7otl.js.map} +1 -1
  136. package/dist/peculiar/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.peculiar-ssh-certificate-viewer.entry.esm.js.map +1 -1
  137. package/dist/peculiar/peculiar.esm.js +1 -1
  138. package/dist/types/components/ssh-certificate-viewer/-components/miscellaneous.d.ts +14 -0
  139. package/dist/types/crypto/ssh_certificate.d.ts +2 -0
  140. package/dist/types/utils/download.d.ts +3 -0
  141. package/dist/types/utils/l10n.d.ts +1 -0
  142. package/hydrate/index.js +33 -4
  143. package/hydrate/index.mjs +33 -4
  144. package/package.json +2 -2
  145. package/components/link.js +0 -14335
  146. package/components/link.js.map +0 -1
  147. package/dist/cjs/ssh_certificate-s3-rwdMT.js.map +0 -1
  148. package/dist/esm/ssh_certificate-Ct-r021h.js.map +0 -1
  149. package/dist/esm-es5/ssh_certificate-Ct-r021h.js.map +0 -1
  150. package/dist/peculiar/p-5df0f22b.system.entry.js.map +0 -1
  151. package/dist/peculiar/p-62b723f6.entry.js.map +0 -1
  152. package/dist/peculiar/p-BGIWeG8l.js +0 -12
  153. package/dist/peculiar/p-C31rbtuG.system.js.map +0 -1
  154. package/dist/peculiar/p-Ce-IF7_R.system.js.map +0 -1
  155. package/dist/peculiar/p-ClkgAXnd.system.js.map +0 -1
  156. package/dist/peculiar/p-Ct-r021h.js.map +0 -1
  157. package/dist/peculiar/p-IOtHTzYC.system.js +0 -12
  158. /package/dist/peculiar/{p-364fd32b.system.entry.js.map → p-24861cf6.system.entry.js.map} +0 -0
  159. /package/dist/peculiar/{p-11434880.system.entry.js.map → p-46c17c8d.system.entry.js.map} +0 -0
  160. /package/dist/peculiar/{p-0b895a8e.entry.js.map → p-71eab586.entry.js.map} +0 -0
  161. /package/dist/peculiar/{p-da9eb1e7.entry.js.map → p-7273601a.entry.js.map} +0 -0
  162. /package/dist/peculiar/{p-fd98bb82.system.entry.js.map → p-83bfd8e5.system.entry.js.map} +0 -0
  163. /package/dist/peculiar/{p-83a53b4f.entry.js.map → p-98219569.entry.js.map} +0 -0
package/hydrate/index.js CHANGED
@@ -10004,6 +10004,7 @@ var en = {
10004
10004
  download: download,
10005
10005
  "download.pem": "Download PEM",
10006
10006
  "download.der": "Download DER",
10007
+ "download.ssh": "Download SSH",
10007
10008
  serialNumber: serialNumber,
10008
10009
  version: version,
10009
10010
  validity: validity,
@@ -10175,6 +10176,11 @@ Download.crl = {
10175
10176
  downloadFromBuffer(raw, name, 'crl', 'application/pkix-crl');
10176
10177
  },
10177
10178
  };
10179
+ Download.certSSH = {
10180
+ asSSH: (value, name) => {
10181
+ downloadFromBuffer(Convert.FromString(value), name, 'cert', 'application/ssh-cert');
10182
+ },
10183
+ };
10178
10184
 
10179
10185
  /**
10180
10186
  * @license
@@ -18286,6 +18292,12 @@ class SshCertificate {
18286
18292
  async toString(_format = 'pem') {
18287
18293
  return __classPrivateFieldGet(this, _SshCertificate_cert, "f").toSSH();
18288
18294
  }
18295
+ get commonName() {
18296
+ return __classPrivateFieldGet(this, _SshCertificate_cert, "f").principals.join('_') || __classPrivateFieldGet(this, _SshCertificate_cert, "f").keyId || __classPrivateFieldGet(this, _SshCertificate_cert, "f").certType;
18297
+ }
18298
+ async downloadAsSSH(name) {
18299
+ Download.certSSH.asSSH(await this.toString(), name || this.commonName);
18300
+ }
18289
18301
  }
18290
18302
  _SshCertificate_cert = new WeakMap();
18291
18303
 
@@ -21271,9 +21283,9 @@ const SshBasicInformation = (props) => {
21271
21283
  hAsync(RowValue, { name: l10n.getString('issued'), value: notBefore ? dateShort(notBefore) : undefined }),
21272
21284
  hAsync(RowValue, { name: l10n.getString('expired'), value: notAfter ? dateShort(notAfter) : undefined }),
21273
21285
  hAsync(RowValue, { name: l10n.getString('keyId'), value: keyId }),
21274
- hAsync(RowValue, { name: l10n.getString('principals'), value: principals.join(', ') }),
21275
- hAsync(RowValue, { name: l10n.getString('criticalOptions'), value: Object.keys(criticalOptions).join(', ') }),
21276
- hAsync(RowValue, { name: l10n.getString('extensions'), value: Object.keys(extensions).join(', ') }),
21286
+ hAsync(RowValue, { name: l10n.getString('principals'), value: principals.join(', ') || '(none)' }),
21287
+ hAsync(RowValue, { name: l10n.getString('criticalOptions'), value: Object.keys(criticalOptions).join(', ') || '(none)' }),
21288
+ hAsync(RowValue, { name: l10n.getString('extensions'), value: Object.keys(extensions).join(', ') || '(none)' }),
21277
21289
  ];
21278
21290
  };
21279
21291
 
@@ -21317,6 +21329,23 @@ const SshSignatureKey = (props) => {
21317
21329
  ];
21318
21330
  };
21319
21331
 
21332
+ /**
21333
+ * @license
21334
+ * Copyright (c) Peculiar Ventures, LLC.
21335
+ *
21336
+ * This source code is licensed under the MIT license found in the
21337
+ * LICENSE file in the root directory of this source tree.
21338
+ */
21339
+ const SshMiscellaneous = (props) => {
21340
+ const { certificate } = props;
21341
+ return [
21342
+ hAsync(RowTitle, { value: l10n.getString('miscellaneous') }),
21343
+ hAsync("tr", null,
21344
+ hAsync("td", null,
21345
+ hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsSSH() }, l10n.getString('download.ssh')))),
21346
+ ];
21347
+ };
21348
+
21320
21349
  const certificateViewerCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table tr:last-child .divider{display:none}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}";
21321
21350
 
21322
21351
  class SshCertificateViewer {
@@ -21393,7 +21422,7 @@ class SshCertificateViewer {
21393
21422
  if (!this.certificateDecoded) {
21394
21423
  return this.renderEmptyState();
21395
21424
  }
21396
- return (hAsync(Host, { "data-mobile-screen-view": String(this.mobileScreenView) }, hAsync("table", null, hAsync(SshBasicInformation, Object.assign({}, this.certificateDecoded)), hAsync(SshPublicKey, { key: this.certificateDecoded.publicKey }), hAsync(SshSignatureKey, { key: this.certificateDecoded.signatureKey }))));
21425
+ return (hAsync(Host, { "data-mobile-screen-view": String(this.mobileScreenView) }, hAsync("table", null, hAsync(SshBasicInformation, Object.assign({}, this.certificateDecoded)), hAsync(SshPublicKey, { key: this.certificateDecoded.publicKey }), hAsync(SshSignatureKey, { key: this.certificateDecoded.signatureKey }), this.download && (hAsync(SshMiscellaneous, { certificate: this.certificateDecoded })))));
21397
21426
  }
21398
21427
  static get watchers() { return {
21399
21428
  "certificate": ["watchCertificateAndDecode"]
package/hydrate/index.mjs CHANGED
@@ -10002,6 +10002,7 @@ var en = {
10002
10002
  download: download,
10003
10003
  "download.pem": "Download PEM",
10004
10004
  "download.der": "Download DER",
10005
+ "download.ssh": "Download SSH",
10005
10006
  serialNumber: serialNumber,
10006
10007
  version: version,
10007
10008
  validity: validity,
@@ -10173,6 +10174,11 @@ Download.crl = {
10173
10174
  downloadFromBuffer(raw, name, 'crl', 'application/pkix-crl');
10174
10175
  },
10175
10176
  };
10177
+ Download.certSSH = {
10178
+ asSSH: (value, name) => {
10179
+ downloadFromBuffer(Convert.FromString(value), name, 'cert', 'application/ssh-cert');
10180
+ },
10181
+ };
10176
10182
 
10177
10183
  /**
10178
10184
  * @license
@@ -18284,6 +18290,12 @@ class SshCertificate {
18284
18290
  async toString(_format = 'pem') {
18285
18291
  return __classPrivateFieldGet(this, _SshCertificate_cert, "f").toSSH();
18286
18292
  }
18293
+ get commonName() {
18294
+ return __classPrivateFieldGet(this, _SshCertificate_cert, "f").principals.join('_') || __classPrivateFieldGet(this, _SshCertificate_cert, "f").keyId || __classPrivateFieldGet(this, _SshCertificate_cert, "f").certType;
18295
+ }
18296
+ async downloadAsSSH(name) {
18297
+ Download.certSSH.asSSH(await this.toString(), name || this.commonName);
18298
+ }
18287
18299
  }
18288
18300
  _SshCertificate_cert = new WeakMap();
18289
18301
 
@@ -21269,9 +21281,9 @@ const SshBasicInformation = (props) => {
21269
21281
  hAsync(RowValue, { name: l10n.getString('issued'), value: notBefore ? dateShort(notBefore) : undefined }),
21270
21282
  hAsync(RowValue, { name: l10n.getString('expired'), value: notAfter ? dateShort(notAfter) : undefined }),
21271
21283
  hAsync(RowValue, { name: l10n.getString('keyId'), value: keyId }),
21272
- hAsync(RowValue, { name: l10n.getString('principals'), value: principals.join(', ') }),
21273
- hAsync(RowValue, { name: l10n.getString('criticalOptions'), value: Object.keys(criticalOptions).join(', ') }),
21274
- hAsync(RowValue, { name: l10n.getString('extensions'), value: Object.keys(extensions).join(', ') }),
21284
+ hAsync(RowValue, { name: l10n.getString('principals'), value: principals.join(', ') || '(none)' }),
21285
+ hAsync(RowValue, { name: l10n.getString('criticalOptions'), value: Object.keys(criticalOptions).join(', ') || '(none)' }),
21286
+ hAsync(RowValue, { name: l10n.getString('extensions'), value: Object.keys(extensions).join(', ') || '(none)' }),
21275
21287
  ];
21276
21288
  };
21277
21289
 
@@ -21315,6 +21327,23 @@ const SshSignatureKey = (props) => {
21315
21327
  ];
21316
21328
  };
21317
21329
 
21330
+ /**
21331
+ * @license
21332
+ * Copyright (c) Peculiar Ventures, LLC.
21333
+ *
21334
+ * This source code is licensed under the MIT license found in the
21335
+ * LICENSE file in the root directory of this source tree.
21336
+ */
21337
+ const SshMiscellaneous = (props) => {
21338
+ const { certificate } = props;
21339
+ return [
21340
+ hAsync(RowTitle, { value: l10n.getString('miscellaneous') }),
21341
+ hAsync("tr", null,
21342
+ hAsync("td", null,
21343
+ hAsync(Button, { startIcon: hAsync(DownloadIcon, null), onClick: () => certificate.downloadAsSSH() }, l10n.getString('download.ssh')))),
21344
+ ];
21345
+ };
21346
+
21318
21347
  const certificateViewerCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table tr:last-child .divider{display:none}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}";
21319
21348
 
21320
21349
  class SshCertificateViewer {
@@ -21391,7 +21420,7 @@ class SshCertificateViewer {
21391
21420
  if (!this.certificateDecoded) {
21392
21421
  return this.renderEmptyState();
21393
21422
  }
21394
- return (hAsync(Host, { "data-mobile-screen-view": String(this.mobileScreenView) }, hAsync("table", null, hAsync(SshBasicInformation, Object.assign({}, this.certificateDecoded)), hAsync(SshPublicKey, { key: this.certificateDecoded.publicKey }), hAsync(SshSignatureKey, { key: this.certificateDecoded.signatureKey }))));
21423
+ return (hAsync(Host, { "data-mobile-screen-view": String(this.mobileScreenView) }, hAsync("table", null, hAsync(SshBasicInformation, Object.assign({}, this.certificateDecoded)), hAsync(SshPublicKey, { key: this.certificateDecoded.publicKey }), hAsync(SshSignatureKey, { key: this.certificateDecoded.signatureKey }), this.download && (hAsync(SshMiscellaneous, { certificate: this.certificateDecoded })))));
21395
21424
  }
21396
21425
  static get watchers() { return {
21397
21426
  "certificate": ["watchCertificateAndDecode"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peculiar/certificates-viewer",
3
- "version": "4.7.1-alpha.1+ca1aa6c",
3
+ "version": "4.7.1-alpha.4+39ceb04",
4
4
  "private": false,
5
5
  "description": "Peculiar Certificate Viewer web-components makes it easy for you to display certificate related details in your web application.",
6
6
  "keywords": [
@@ -87,5 +87,5 @@
87
87
  "publishConfig": {
88
88
  "access": "public"
89
89
  },
90
- "gitHead": "ca1aa6ca27c788db4de04a613495b6880652c449"
90
+ "gitHead": "39ceb041bd6ced66b5390aba33c972ae519c8c1f"
91
91
  }