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

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 (252) hide show
  1. package/components/attribute-certificate-viewer.js +4 -2
  2. package/components/attribute-certificate-viewer.js.map +1 -1
  3. package/components/attribute.js +2 -1
  4. package/components/attribute.js.map +1 -1
  5. package/components/certificate-chain-viewer.js +1 -1
  6. package/components/certificate-viewer.js +3 -2
  7. package/components/certificate-viewer.js.map +1 -1
  8. package/components/crl-viewer.js +4 -2
  9. package/components/crl-viewer.js.map +1 -1
  10. package/components/csr-viewer.js +3 -3
  11. package/components/csr-viewer.js.map +1 -1
  12. package/components/download.js +2 -12760
  13. package/components/download.js.map +1 -1
  14. package/components/index.js +2 -1
  15. package/components/index.js.map +1 -1
  16. package/components/index2.js +51 -2
  17. package/components/index2.js.map +1 -1
  18. package/components/issuer_name.js +2 -2
  19. package/components/link.js +14335 -0
  20. package/components/link.js.map +1 -0
  21. package/components/miscellaneous.js +96 -72
  22. package/components/miscellaneous.js.map +1 -1
  23. package/components/peculiar-certificate-decoder.js +32 -16
  24. package/components/peculiar-certificate-decoder.js.map +1 -1
  25. package/components/peculiar-certificates-viewer.js +2 -1
  26. package/components/peculiar-certificates-viewer.js.map +1 -1
  27. package/components/peculiar-ssh-certificate-viewer.d.ts +11 -0
  28. package/components/peculiar-ssh-certificate-viewer.js +12 -0
  29. package/components/peculiar-ssh-certificate-viewer.js.map +1 -0
  30. package/components/peculiar-text-hider.js +1 -32
  31. package/components/peculiar-text-hider.js.map +1 -1
  32. package/components/pkcs10_certificate_request.js +2 -6
  33. package/components/pkcs10_certificate_request.js.map +1 -1
  34. package/components/row.js +87 -0
  35. package/components/row.js.map +1 -0
  36. package/components/ssh-certificate-viewer.js +193 -0
  37. package/components/ssh-certificate-viewer.js.map +1 -0
  38. package/components/subject_name.js +2 -2
  39. package/components/text-hider.js +40 -0
  40. package/components/text-hider.js.map +1 -0
  41. package/dist/cjs/extension-D8YKlAu4.js +110 -0
  42. package/dist/cjs/extension-D8YKlAu4.js.map +1 -0
  43. package/dist/cjs/index.cjs.js +4 -4
  44. package/dist/cjs/loader.cjs.js +1 -1
  45. package/dist/cjs/{miscellaneous-DeBEwLDy.js → miscellaneous-DvVSM5KJ.js} +187 -186
  46. package/dist/cjs/{miscellaneous-DeBEwLDy.js.map → miscellaneous-DvVSM5KJ.js.map} +1 -1
  47. 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 -0
  48. package/dist/cjs/{peculiar-attribute-certificate-viewer_4.cjs.entry.js → peculiar-attribute-certificate-viewer_5.cjs.entry.js} +240 -38
  49. package/dist/cjs/peculiar-attribute-certificate-viewer_5.cjs.entry.js.map +1 -0
  50. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +25 -20
  51. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -1
  52. package/dist/cjs/peculiar-certificate-decoder.entry.cjs.js.map +1 -1
  53. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +4 -3
  54. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
  55. package/dist/cjs/peculiar-certificate-viewer.entry.cjs.js.map +1 -1
  56. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +23 -22
  57. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
  58. package/dist/cjs/peculiar-certificates-viewer.entry.cjs.js.map +1 -1
  59. package/dist/cjs/peculiar.cjs.js +1 -1
  60. package/dist/cjs/pkcs10_certificate_request-BoHhadiA.js +146 -0
  61. package/dist/cjs/pkcs10_certificate_request-BoHhadiA.js.map +1 -0
  62. package/dist/cjs/{certification_request-CxHe71zR.js → ssh_certificate-s3-rwdMT.js} +1734 -126
  63. package/dist/cjs/ssh_certificate-s3-rwdMT.js.map +1 -0
  64. package/dist/cjs/{x509_certificate-CzplJQ0X.js → x509_certificate-DfXuxxZp.js} +29 -28
  65. package/dist/cjs/{x509_certificate-CzplJQ0X.js.map → x509_certificate-DfXuxxZp.js.map} +1 -1
  66. package/dist/cjs/{x509_crl-B7kFbLDV.js → x509_crl-CxJ2lyGX.js} +32 -31
  67. package/dist/cjs/{x509_crl-B7kFbLDV.js.map → x509_crl-CxJ2lyGX.js.map} +1 -1
  68. package/dist/collection/collection-manifest.json +1 -0
  69. package/dist/collection/components/certificate-decoder/certificate-decoder.js +10 -6
  70. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
  71. package/dist/collection/components/certificate-details-parts/attributes/extension_request_attribute.js +25 -0
  72. package/dist/collection/components/certificate-details-parts/attributes/extension_request_attribute.js.map +1 -0
  73. package/dist/collection/components/certificate-details-parts/attributes/index.js +10 -1
  74. package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -1
  75. package/dist/collection/components/certificate-details-parts/attributes/private_key_possession_statement_attribute.js +27 -0
  76. package/dist/collection/components/certificate-details-parts/attributes/private_key_possession_statement_attribute.js.map +1 -0
  77. package/dist/collection/components/csr-viewer/csr-viewer.js +2 -2
  78. package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -1
  79. package/dist/collection/components/ssh-certificate-viewer/-components/basic_information.js +29 -0
  80. package/dist/collection/components/ssh-certificate-viewer/-components/basic_information.js.map +1 -0
  81. package/dist/collection/components/ssh-certificate-viewer/-components/public_key.js +26 -0
  82. package/dist/collection/components/ssh-certificate-viewer/-components/public_key.js.map +1 -0
  83. package/dist/collection/components/ssh-certificate-viewer/-components/signature_key.js +26 -0
  84. package/dist/collection/components/ssh-certificate-viewer/-components/signature_key.js.map +1 -0
  85. package/dist/collection/components/ssh-certificate-viewer/ssh-certificate-viewer.js +193 -0
  86. package/dist/collection/components/ssh-certificate-viewer/ssh-certificate-viewer.js.map +1 -0
  87. package/dist/collection/constants/oids.js +2 -0
  88. package/dist/collection/constants/oids.js.map +1 -1
  89. package/dist/collection/crypto/attribute.js +2 -0
  90. package/dist/collection/crypto/attribute.js.map +1 -1
  91. package/dist/collection/crypto/index.js +1 -0
  92. package/dist/collection/crypto/index.js.map +1 -1
  93. package/dist/collection/crypto/pkcs10_certificate_request.js +0 -7
  94. package/dist/collection/crypto/pkcs10_certificate_request.js.map +1 -1
  95. package/dist/collection/crypto/ssh_certificate.js +68 -0
  96. package/dist/collection/crypto/ssh_certificate.js.map +1 -0
  97. package/dist/collection/locales/en.json +5 -1
  98. package/dist/esm/extension-oK2qpCU6.js +107 -0
  99. package/dist/esm/extension-oK2qpCU6.js.map +1 -0
  100. package/dist/esm/index.js +2 -2
  101. package/dist/esm/loader.js +1 -1
  102. package/dist/esm/{miscellaneous-bVeJt-6m.js → miscellaneous-DrmTXljc.js} +4 -3
  103. package/dist/{esm-es5/miscellaneous-bVeJt-6m.js.map → esm/miscellaneous-DrmTXljc.js.map} +1 -1
  104. 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 -0
  105. package/dist/esm/{peculiar-attribute-certificate-viewer_4.entry.js → peculiar-attribute-certificate-viewer_5.entry.js} +215 -14
  106. package/dist/esm/peculiar-attribute-certificate-viewer_5.entry.js.map +1 -0
  107. package/dist/esm/peculiar-certificate-decoder.entry.js +14 -9
  108. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
  109. package/dist/esm/peculiar-certificate-viewer.entry.js +4 -3
  110. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
  111. package/dist/esm/peculiar-certificates-viewer.entry.js +3 -2
  112. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
  113. package/dist/esm/peculiar.js +1 -1
  114. package/dist/esm/{pkcs10_certificate_request-CK8FH47X.js → pkcs10_certificate_request-Bdt_qA_g.js} +4 -8
  115. package/dist/esm/pkcs10_certificate_request-Bdt_qA_g.js.map +1 -0
  116. package/dist/esm/{certification_request-PeMaLTUD.js → ssh_certificate-Ct-r021h.js} +1682 -115
  117. package/dist/esm/ssh_certificate-Ct-r021h.js.map +1 -0
  118. package/dist/esm/{x509_certificate-CEEWtU_T.js → x509_certificate-5DEbrOA7.js} +4 -3
  119. package/dist/{esm-es5/x509_certificate-CEEWtU_T.js.map → esm/x509_certificate-5DEbrOA7.js.map} +1 -1
  120. package/dist/esm/{x509_crl-BcZd9KVn.js → x509_crl-CPgNUkh7.js} +5 -4
  121. package/dist/{esm-es5/x509_crl-BcZd9KVn.js.map → esm/x509_crl-CPgNUkh7.js.map} +1 -1
  122. package/dist/esm-es5/extension-oK2qpCU6.js +12 -0
  123. package/dist/esm-es5/extension-oK2qpCU6.js.map +1 -0
  124. package/dist/esm-es5/index.js +1 -1
  125. package/dist/esm-es5/loader.js +2 -2
  126. package/dist/esm-es5/{miscellaneous-bVeJt-6m.js → miscellaneous-DrmTXljc.js} +2 -2
  127. package/dist/{esm/miscellaneous-bVeJt-6m.js.map → esm-es5/miscellaneous-DrmTXljc.js.map} +1 -1
  128. 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 -0
  129. package/dist/esm-es5/{peculiar-attribute-certificate-viewer_4.entry.js → peculiar-attribute-certificate-viewer_5.entry.js} +39 -4
  130. package/dist/esm-es5/peculiar-attribute-certificate-viewer_5.entry.js.map +1 -0
  131. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
  132. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
  133. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
  134. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
  135. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
  136. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
  137. package/dist/esm-es5/peculiar.js +1 -1
  138. package/dist/esm-es5/pkcs10_certificate_request-Bdt_qA_g.js +19 -0
  139. package/dist/esm-es5/pkcs10_certificate_request-Bdt_qA_g.js.map +1 -0
  140. package/dist/esm-es5/{certification_request-PeMaLTUD.js → ssh_certificate-Ct-r021h.js} +7 -14
  141. package/dist/esm-es5/ssh_certificate-Ct-r021h.js.map +1 -0
  142. package/dist/esm-es5/{x509_certificate-CEEWtU_T.js → x509_certificate-5DEbrOA7.js} +4 -4
  143. package/dist/{esm/x509_certificate-CEEWtU_T.js.map → esm-es5/x509_certificate-5DEbrOA7.js.map} +1 -1
  144. package/dist/esm-es5/{x509_crl-BcZd9KVn.js → x509_crl-CPgNUkh7.js} +2 -2
  145. package/dist/{esm/x509_crl-BcZd9KVn.js.map → esm-es5/x509_crl-CPgNUkh7.js.map} +1 -1
  146. package/dist/peculiar/index.esm.js +1 -1
  147. package/dist/peculiar/locales/en.json +5 -1
  148. package/dist/peculiar/{p-5479a530.entry.js → p-0b895a8e.entry.js} +2 -2
  149. package/dist/peculiar/{p-84f69023.system.entry.js → p-11434880.system.entry.js} +2 -2
  150. package/dist/peculiar/{p-C9sY8yng.system.js → p-2GQYAR0v.system.js} +3 -3
  151. package/dist/peculiar/{p-C9sY8yng.system.js.map → p-2GQYAR0v.system.js.map} +1 -1
  152. package/dist/peculiar/p-364fd32b.system.entry.js +5 -0
  153. package/dist/peculiar/{p-14fcbc5c.system.entry.js.map → p-364fd32b.system.entry.js.map} +1 -1
  154. package/dist/peculiar/p-5df0f22b.system.entry.js +146 -0
  155. package/dist/peculiar/p-5df0f22b.system.entry.js.map +1 -0
  156. package/dist/peculiar/p-62b723f6.entry.js +145 -0
  157. package/dist/peculiar/p-62b723f6.entry.js.map +1 -0
  158. package/dist/peculiar/p-83a53b4f.entry.js +5 -0
  159. package/dist/peculiar/{p-0de4837d.entry.js.map → p-83a53b4f.entry.js.map} +1 -1
  160. package/dist/peculiar/p-B2G7qjfV.js +369 -0
  161. package/dist/peculiar/{p-CGRNSrHk.js.map → p-B2G7qjfV.js.map} +1 -1
  162. package/dist/peculiar/{p-BypepohK.system.js.map → p-BCsPspKr.system.js.map} +1 -1
  163. package/dist/peculiar/p-BGASC3UX.system.js +1 -1
  164. package/dist/peculiar/p-BGIWeG8l.js +12 -0
  165. package/dist/peculiar/p-BGIWeG8l.js.map +1 -0
  166. package/dist/peculiar/{p-DRvp86xt.system.js → p-BQiABBi1.system.js} +5 -5
  167. package/dist/peculiar/{p-DRvp86xt.system.js.map → p-BQiABBi1.system.js.map} +1 -1
  168. package/dist/peculiar/{p-CezfC5i1.system.js → p-BeVuAzsd.system.js} +42 -42
  169. package/dist/peculiar/{p-CezfC5i1.system.js.map → p-BeVuAzsd.system.js.map} +1 -1
  170. package/dist/peculiar/{p-CZwhKPgb.system.js → p-C31rbtuG.system.js} +2 -2
  171. package/dist/peculiar/p-C31rbtuG.system.js.map +1 -0
  172. package/dist/peculiar/p-Ce-IF7_R.system.js.map +1 -0
  173. package/dist/peculiar/p-ClkgAXnd.system.js +135 -0
  174. package/dist/peculiar/p-ClkgAXnd.system.js.map +1 -0
  175. package/dist/peculiar/p-Ct-r021h.js +135 -0
  176. package/dist/peculiar/p-Ct-r021h.js.map +1 -0
  177. package/dist/peculiar/{p-BaebEpW0.system.js.map → p-CxtUQdcj.system.js.map} +1 -1
  178. package/dist/peculiar/{p-DrmgUhyv.js → p-D9qq15zG.js} +4 -4
  179. package/dist/peculiar/{p-DrmgUhyv.js.map → p-D9qq15zG.js.map} +1 -1
  180. package/dist/peculiar/{p-CjWRKsN-.js → p-DOpiv0-8.js} +3 -3
  181. package/dist/peculiar/{p-CjWRKsN-.js.map → p-DOpiv0-8.js.map} +1 -1
  182. package/dist/peculiar/p-IOtHTzYC.system.js +12 -0
  183. package/dist/peculiar/p-IOtHTzYC.system.js.map +1 -0
  184. package/dist/peculiar/p-LmKU8Smy.system.js.map +1 -0
  185. package/dist/peculiar/p-RWPI76Dh.js +19 -0
  186. package/dist/peculiar/p-RWPI76Dh.js.map +1 -0
  187. package/dist/peculiar/p-da9eb1e7.entry.js +5 -0
  188. package/dist/peculiar/p-da9eb1e7.entry.js.map +1 -0
  189. package/dist/peculiar/p-fd98bb82.system.entry.js +5 -0
  190. package/dist/peculiar/p-fd98bb82.system.entry.js.map +1 -0
  191. package/dist/peculiar/{p-J1t5v5N3.system.js → p-zQwWLfga.system.js} +4 -4
  192. package/dist/peculiar/p-zQwWLfga.system.js.map +1 -0
  193. 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 -0
  194. package/dist/peculiar/peculiar-certificate-decoder.entry.esm.js.map +1 -1
  195. package/dist/peculiar/peculiar-certificate-viewer.entry.esm.js.map +1 -1
  196. package/dist/peculiar/peculiar-certificates-viewer.entry.esm.js.map +1 -1
  197. package/dist/peculiar/peculiar.esm.js +1 -1
  198. package/dist/types/components/certificate-decoder/certificate-decoder.d.ts +4 -4
  199. package/dist/types/components/certificate-details-parts/attributes/extension_request_attribute.d.ts +15 -0
  200. package/dist/types/components/certificate-details-parts/attributes/private_key_possession_statement_attribute.d.ts +15 -0
  201. package/dist/types/components/ssh-certificate-viewer/-components/basic_information.d.ts +21 -0
  202. package/dist/types/components/ssh-certificate-viewer/-components/public_key.d.ts +14 -0
  203. package/dist/types/components/ssh-certificate-viewer/-components/signature_key.d.ts +14 -0
  204. package/dist/types/components/ssh-certificate-viewer/ssh-certificate-viewer.d.ts +43 -0
  205. package/dist/types/components.d.ts +43 -0
  206. package/dist/types/constants/oids.d.ts +2 -0
  207. package/dist/types/crypto/attribute.d.ts +2 -0
  208. package/dist/types/crypto/index.d.ts +1 -0
  209. package/dist/types/crypto/pkcs10_certificate_request.d.ts +0 -2
  210. package/dist/types/crypto/ssh_certificate.d.ts +28 -0
  211. package/dist/types/utils/l10n.d.ts +4 -0
  212. package/hydrate/index.js +1908 -33
  213. package/hydrate/index.mjs +1908 -33
  214. package/package.json +4 -2
  215. package/dist/cjs/certification_request-CxHe71zR.js.map +0 -1
  216. package/dist/cjs/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.cjs.js.map +0 -1
  217. package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js.map +0 -1
  218. package/dist/cjs/pkcs10_certificate_request-CHMDxe2Z.js +0 -150
  219. package/dist/cjs/pkcs10_certificate_request-CHMDxe2Z.js.map +0 -1
  220. package/dist/esm/certification_request-PeMaLTUD.js.map +0 -1
  221. package/dist/esm/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +0 -1
  222. package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js.map +0 -1
  223. package/dist/esm/pkcs10_certificate_request-CK8FH47X.js.map +0 -1
  224. package/dist/esm-es5/certification_request-PeMaLTUD.js.map +0 -1
  225. package/dist/esm-es5/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +0 -1
  226. package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js.map +0 -1
  227. package/dist/esm-es5/pkcs10_certificate_request-CK8FH47X.js +0 -19
  228. package/dist/esm-es5/pkcs10_certificate_request-CK8FH47X.js.map +0 -1
  229. package/dist/peculiar/p-00d6f11f.system.entry.js +0 -111
  230. package/dist/peculiar/p-00d6f11f.system.entry.js.map +0 -1
  231. package/dist/peculiar/p-0de4837d.entry.js +0 -5
  232. package/dist/peculiar/p-14fcbc5c.system.entry.js +0 -5
  233. package/dist/peculiar/p-315805ce.entry.js +0 -5
  234. package/dist/peculiar/p-315805ce.entry.js.map +0 -1
  235. package/dist/peculiar/p-591a9019.system.entry.js +0 -5
  236. package/dist/peculiar/p-591a9019.system.entry.js.map +0 -1
  237. package/dist/peculiar/p-BipKYW6e.system.js +0 -142
  238. package/dist/peculiar/p-BipKYW6e.system.js.map +0 -1
  239. package/dist/peculiar/p-BloT0Xj9.system.js.map +0 -1
  240. package/dist/peculiar/p-CGRNSrHk.js +0 -369
  241. package/dist/peculiar/p-CZwhKPgb.system.js.map +0 -1
  242. package/dist/peculiar/p-D1eNnGDF.js +0 -19
  243. package/dist/peculiar/p-D1eNnGDF.js.map +0 -1
  244. package/dist/peculiar/p-ITVWR0oT.system.js.map +0 -1
  245. package/dist/peculiar/p-J1t5v5N3.system.js.map +0 -1
  246. package/dist/peculiar/p-PeMaLTUD.js +0 -142
  247. package/dist/peculiar/p-PeMaLTUD.js.map +0 -1
  248. package/dist/peculiar/p-c8b3766a.entry.js +0 -110
  249. package/dist/peculiar/p-c8b3766a.entry.js.map +0 -1
  250. package/dist/peculiar/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.esm.js.map +0 -1
  251. /package/dist/peculiar/{p-5479a530.entry.js.map → p-0b895a8e.entry.js.map} +0 -0
  252. /package/dist/peculiar/{p-84f69023.system.entry.js.map → p-11434880.system.entry.js.map} +0 -0
@@ -4,8 +4,9 @@
4
4
  'use strict';
5
5
 
6
6
  var index = require('./index-uHmGhObe.js');
7
- var certification_request = require('./certification_request-CxHe71zR.js');
7
+ var ssh_certificate = require('./ssh_certificate-s3-rwdMT.js');
8
8
  var link = require('./link-Cgh8wnbs.js');
9
+ var extension = require('./extension-D8YKlAu4.js');
9
10
  var button = require('./button-C8EWG_-r.js');
10
11
  var download = require('./download-DQP0KR4o.js');
11
12
 
@@ -17,7 +18,7 @@ var download = require('./download-DQP0KR4o.js');
17
18
  * LICENSE file in the root directory of this source tree.
18
19
  */
19
20
  function getStringByOID(value) {
20
- const oid = certification_request.OIDs[value];
21
+ const oid = ssh_certificate.OIDs[value];
21
22
  if (oid) {
22
23
  return `${oid} (${value})`;
23
24
  }
@@ -118,15 +119,15 @@ const RowValue = (props) => {
118
119
  const BasicInformation = (props) => {
119
120
  const { serialNumber, version, validity, notBefore, notAfter, lastUpdate, nextUpdate, type, } = props;
120
121
  return [
121
- index.h(RowTitle, { value: certification_request.l10n.getString('basicInformation') }),
122
- index.h(RowValue, { name: certification_request.l10n.getString('type'), value: type }),
123
- index.h(RowValue, { name: certification_request.l10n.getString('serialNumber'), value: serialNumber, monospace: true }),
124
- index.h(RowValue, { name: certification_request.l10n.getString('version'), value: version }),
125
- index.h(RowValue, { name: certification_request.l10n.getString('validity'), value: validity }),
126
- index.h(RowValue, { name: certification_request.l10n.getString('issued'), value: notBefore ? certification_request.dateShort(notBefore) : undefined }),
127
- index.h(RowValue, { name: certification_request.l10n.getString('expired'), value: notAfter ? certification_request.dateShort(notAfter) : undefined }),
128
- index.h(RowValue, { name: certification_request.l10n.getString('lastUpdate'), value: lastUpdate ? certification_request.dateShort(lastUpdate) : undefined }),
129
- index.h(RowValue, { name: certification_request.l10n.getString('nextUpdate'), value: nextUpdate ? certification_request.dateShort(nextUpdate) : undefined }),
122
+ index.h(RowTitle, { value: ssh_certificate.l10n.getString('basicInformation') }),
123
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('type'), value: type }),
124
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('serialNumber'), value: serialNumber, monospace: true }),
125
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('version'), value: version }),
126
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('validity'), value: validity }),
127
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('issued'), value: notBefore ? ssh_certificate.dateShort(notBefore) : undefined }),
128
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('expired'), value: notAfter ? ssh_certificate.dateShort(notAfter) : undefined }),
129
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('lastUpdate'), value: lastUpdate ? ssh_certificate.dateShort(lastUpdate) : undefined }),
130
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('nextUpdate'), value: nextUpdate ? ssh_certificate.dateShort(nextUpdate) : undefined }),
130
131
  ];
131
132
  };
132
133
 
@@ -162,15 +163,15 @@ const PublicKey = (props) => {
162
163
  }
163
164
  function renderKeyDetails(key) {
164
165
  return [
165
- index.h(RowValue, { name: certification_request.l10n.getString('algorithm'), value: getStringByOID(key.algorithm) }),
166
- index.h(RowValue, { name: certification_request.l10n.getString('namedCurve'), value: getStringByOID((key.params && 'namedCurve' in key.params) ? key.params.namedCurve : undefined) }),
167
- index.h(RowValue, { name: certification_request.l10n.getString('exponent'), value: getPublicKeyExponent(key) }),
168
- index.h(RowValue, { name: certification_request.l10n.getString('modulus'), value: getPublicKeyModulus(key) }),
169
- index.h(RowValue, { name: certification_request.l10n.getString('value'), value: certification_request.buildExports.Convert.ToHex(key.value), monospace: true, collapse: true }),
166
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('algorithm'), value: getStringByOID(key.algorithm) }),
167
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('namedCurve'), value: getStringByOID((key.params && 'namedCurve' in key.params) ? key.params.namedCurve : undefined) }),
168
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('exponent'), value: getPublicKeyExponent(key) }),
169
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('modulus'), value: getPublicKeyModulus(key) }),
170
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('value'), value: ssh_certificate.buildExports.Convert.ToHex(key.value), monospace: true, collapse: true }),
170
171
  ];
171
172
  }
172
173
  return [
173
- index.h(RowTitle, { value: certification_request.l10n.getString('publicKeyInfo') }),
174
+ index.h(RowTitle, { value: ssh_certificate.l10n.getString('publicKeyInfo') }),
174
175
  renderKeyDetails(publicKey),
175
176
  (Array.isArray(publicKey.params) && publicKey.params.length && publicKey.params.map((param) => (index.h(TableRowTable, null, renderKeyDetails(param))))),
176
177
  ];
@@ -186,7 +187,7 @@ const PublicKey = (props) => {
186
187
  const SubjectName = (props) => {
187
188
  const { name } = props;
188
189
  return [
189
- index.h(RowTitle, { value: certification_request.l10n.getString('subjectName') }),
190
+ index.h(RowTitle, { value: ssh_certificate.l10n.getString('subjectName') }),
190
191
  name.map((n) => (index.h(RowValue, { name: n.name || n.type, value: n.value }))),
191
192
  ];
192
193
  };
@@ -200,7 +201,7 @@ const SubjectName = (props) => {
200
201
  */
201
202
  const IssuerName = (props) => {
202
203
  const { name, issuerDnLink } = props;
203
- const title = certification_request.l10n.getString('issuerName');
204
+ const title = ssh_certificate.l10n.getString('issuerName');
204
205
  return [
205
206
  index.h(RowTitle, { value: issuerDnLink
206
207
  ? (index.h(link.Link, { href: issuerDnLink }, title))
@@ -223,12 +224,12 @@ const Signature = (props) => {
223
224
  }
224
225
  function renderSignatureDetails(data) {
225
226
  return [
226
- index.h(RowValue, { name: certification_request.l10n.getString('algorithm'), value: getStringByOID(data.algorithm) }),
227
- index.h(RowValue, { name: certification_request.l10n.getString('value'), value: certification_request.buildExports.Convert.ToHex(data.value), monospace: true, collapse: true }),
227
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('algorithm'), value: getStringByOID(data.algorithm) }),
228
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('value'), value: ssh_certificate.buildExports.Convert.ToHex(data.value), monospace: true, collapse: true }),
228
229
  ];
229
230
  }
230
231
  return [
231
- index.h(RowTitle, { value: certification_request.l10n.getString('signature') }),
232
+ index.h(RowTitle, { value: ssh_certificate.l10n.getString('signature') }),
232
233
  renderSignatureDetails(signature),
233
234
  (signature.params && signature.params.length && signature.params.map((param) => (index.h(TableRowTable, null, renderSignatureDetails(param))))),
234
235
  ];
@@ -251,7 +252,7 @@ const Thumbprints = (props) => {
251
252
  return null;
252
253
  }
253
254
  return [
254
- index.h(RowTitle, { value: certification_request.l10n.getString('fingerprints') }),
255
+ index.h(RowTitle, { value: ssh_certificate.l10n.getString('fingerprints') }),
255
256
  keys.map((name) => (index.h(RowValue, { name: name, value: thumbprints[name], monospace: true }))),
256
257
  ];
257
258
  };
@@ -267,7 +268,7 @@ const BasicExtension = (props, children) => {
267
268
  const { extension } = props;
268
269
  return ([
269
270
  index.h(RowValue, { name: "Name", value: getStringByOID(extension.asn.extnID) }),
270
- index.h(RowValue, { name: "Critical", value: extension.asn.critical ? certification_request.l10n.getString('yes') : certification_request.l10n.getString('no') }),
271
+ index.h(RowValue, { name: "Critical", value: extension.asn.critical ? ssh_certificate.l10n.getString('yes') : ssh_certificate.l10n.getString('no') }),
271
272
  children,
272
273
  index.h("tr", null,
273
274
  index.h("td", { colSpan: 2, class: "divider" },
@@ -298,7 +299,7 @@ const KeyUsageExtension = (props) => {
298
299
  const BasicConstraintsExtension = (props) => {
299
300
  const { extension } = props;
300
301
  return (index.h(BasicExtension, { extension: extension },
301
- index.h(RowValue, { name: "Certificate Authority", value: extension.value.cA ? certification_request.l10n.getString('yes') : certification_request.l10n.getString('no') }),
302
+ index.h(RowValue, { name: "Certificate Authority", value: extension.value.cA ? ssh_certificate.l10n.getString('yes') : ssh_certificate.l10n.getString('no') }),
302
303
  index.h(RowValue, { name: "Path Length Constraint", value: extension.value.pathLenConstraint })));
303
304
  };
304
305
 
@@ -327,7 +328,7 @@ const ExtendedKeyUsageExtension = (props) => {
327
328
  */
328
329
  const SubjectKeyIdentifierExtension = (props) => {
329
330
  const { extension, getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink, } = props;
330
- const keyId = certification_request.buildExports.Convert.ToHex(extension.value.buffer);
331
+ const keyId = ssh_certificate.buildExports.Convert.ToHex(extension.value.buffer);
331
332
  const childrenLink = getSubjectKeyIdChildrenLink(keyId);
332
333
  const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);
333
334
  return (index.h(BasicExtension, { extension: extension },
@@ -352,7 +353,7 @@ const SubjectKeyIdentifierExtension = (props) => {
352
353
  */
353
354
  const AuthorityKeyIdentifierExtension = (props) => {
354
355
  const { extension, getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink, } = props;
355
- const keyId = certification_request.buildExports.Convert.ToHex(extension.value.keyIdentifier.buffer);
356
+ const keyId = ssh_certificate.buildExports.Convert.ToHex(extension.value.keyIdentifier.buffer);
356
357
  const parentLink = getAuthKeyIdParentLink(keyId);
357
358
  const siblingsLink = getAuthKeyIdSiblingsLink(keyId);
358
359
  return (index.h(BasicExtension, { extension: extension },
@@ -393,35 +394,35 @@ const GeneralNamePart = (props) => {
393
394
  }
394
395
  return Object.keys(generalName).map((name) => {
395
396
  const value = generalName[name];
396
- if (value instanceof certification_request.Name$1) {
397
+ if (value instanceof ssh_certificate.Name$1) {
397
398
  return [
398
399
  index.h(RowValue, { name: names[name] || name, value: "" }),
399
- index.h(TableRowTable, null, value.map((relativeDistinguishedName) => (relativeDistinguishedName.map((attributeTypeAndValue) => (index.h(RowValue, { name: certification_request.OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type, value: attributeTypeAndValue.value.toString() })))))),
400
+ index.h(TableRowTable, null, value.map((relativeDistinguishedName) => (relativeDistinguishedName.map((attributeTypeAndValue) => (index.h(RowValue, { name: ssh_certificate.OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type, value: attributeTypeAndValue.value.toString() })))))),
400
401
  ];
401
402
  }
402
- if (value instanceof certification_request.OtherName) {
403
+ if (value instanceof ssh_certificate.OtherName) {
403
404
  try {
404
- const text = certification_request.AsnParser.parse(value.value, certification_request.DisplayText);
405
- return (index.h(RowValue, { name: certification_request.OIDs[value.typeId] || value.typeId, value: text.toString() }));
405
+ const text = ssh_certificate.AsnParser.parse(value.value, ssh_certificate.DisplayText);
406
+ return (index.h(RowValue, { name: ssh_certificate.OIDs[value.typeId] || value.typeId, value: text.toString() }));
406
407
  }
407
408
  catch (_a) {
408
409
  //
409
410
  }
410
411
  try {
411
- const text = certification_request.AsnParser.parse(value.value, certification_request.UserNotice);
412
+ const text = ssh_certificate.AsnParser.parse(value.value, ssh_certificate.UserNotice);
412
413
  if (text.explicitText) {
413
- return (index.h(RowValue, { name: certification_request.OIDs[value.typeId] || value.typeId, value: text.explicitText.toString() }));
414
+ return (index.h(RowValue, { name: ssh_certificate.OIDs[value.typeId] || value.typeId, value: text.explicitText.toString() }));
414
415
  }
415
416
  }
416
417
  catch (_b) {
417
418
  //
418
419
  }
419
- return (index.h(RowValue, { name: certification_request.OIDs[value.typeId] || value.typeId, value: certification_request.buildExports.Convert.ToHex(value.value), monospace: true }));
420
+ return (index.h(RowValue, { name: ssh_certificate.OIDs[value.typeId] || value.typeId, value: ssh_certificate.buildExports.Convert.ToHex(value.value), monospace: true }));
420
421
  }
421
- if (certification_request.buildExports.BufferSourceConverter.isBufferSource(value)) {
422
- return (index.h(RowValue, { name: names[name] || name, value: certification_request.buildExports.Convert.ToString(value) }));
422
+ if (ssh_certificate.buildExports.BufferSourceConverter.isBufferSource(value)) {
423
+ return (index.h(RowValue, { name: names[name] || name, value: ssh_certificate.buildExports.Convert.ToString(value) }));
423
424
  }
424
- if (value instanceof certification_request.EDIPartyName) {
425
+ if (value instanceof ssh_certificate.EDIPartyName) {
425
426
  return (index.h(RowValue, { name: names[name] || name, value: value.partyName.toString() }));
426
427
  }
427
428
  if (name === 'dNSName') {
@@ -501,11 +502,11 @@ const CertificatePoliciesExtension = (props) => {
501
502
  index.h(RowValue, { name: "Qualifier ID", value: getStringByOID(qualifierInfo.policyQualifierId) }),
502
503
  ];
503
504
  if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.1') {
504
- const value = certification_request.AsnParser.parse(qualifierInfo.qualifier, certification_request.DisplayText);
505
+ const value = ssh_certificate.AsnParser.parse(qualifierInfo.qualifier, ssh_certificate.DisplayText);
505
506
  data.push(index.h(RowValue, { name: "Value", value: value.toString() }));
506
507
  }
507
508
  if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.2') {
508
- const value = certification_request.AsnParser.parse(qualifierInfo.qualifier, certification_request.UserNotice);
509
+ const value = ssh_certificate.AsnParser.parse(qualifierInfo.qualifier, ssh_certificate.UserNotice);
509
510
  if (value.explicitText) {
510
511
  data.push(index.h(RowValue, { name: "Value", value: value.explicitText.toString() }));
511
512
  }
@@ -618,7 +619,7 @@ const CertificateTransparencyExtension = (props) => {
618
619
  index.h(RowValue, { name: "Version", value: signedCertificateTimestamp.version + 1 }),
619
620
  index.h(RowValue, { name: "Log Operator", value: logs[signedCertificateTimestamp.logId] || signedCertificateTimestamp.logId }),
620
621
  index.h(RowValue, { name: "Log Key ID", value: signedCertificateTimestamp.logId, monospace: true }),
621
- index.h(RowValue, { name: "Timestamp", value: certification_request.dateShort(signedCertificateTimestamp.timestamp) }),
622
+ index.h(RowValue, { name: "Timestamp", value: ssh_certificate.dateShort(signedCertificateTimestamp.timestamp) }),
622
623
  index.h(RowValue, { name: "Signature Algorithm", value: `${signedCertificateTimestamp.hashAlgorithm} ${signedCertificateTimestamp.signatureAlgorithm}`.toUpperCase() }),
623
624
  index.h(RowValue, { name: "Signature", value: signedCertificateTimestamp.signature, monospace: true })))),
624
625
  ])));
@@ -693,14 +694,14 @@ let Iso4217CurrencyCode = class Iso4217CurrencyCode {
693
694
  }
694
695
  }
695
696
  };
696
- certification_request.__decorate([
697
- certification_request.AsnProp({ type: certification_request.AsnPropTypes.PrintableString })
697
+ ssh_certificate.__decorate([
698
+ ssh_certificate.AsnProp({ type: ssh_certificate.AsnPropTypes.PrintableString })
698
699
  ], Iso4217CurrencyCode.prototype, "alphabetic", void 0);
699
- certification_request.__decorate([
700
- certification_request.AsnProp({ type: certification_request.AsnPropTypes.PrintableString })
700
+ ssh_certificate.__decorate([
701
+ ssh_certificate.AsnProp({ type: ssh_certificate.AsnPropTypes.PrintableString })
701
702
  ], Iso4217CurrencyCode.prototype, "numeric", void 0);
702
- Iso4217CurrencyCode = certification_request.__decorate([
703
- certification_request.AsnType({ type: certification_request.AsnTypeTypes.Choice })
703
+ Iso4217CurrencyCode = ssh_certificate.__decorate([
704
+ ssh_certificate.AsnType({ type: ssh_certificate.AsnTypeTypes.Choice })
704
705
  ], Iso4217CurrencyCode);
705
706
  class MonetaryValue {
706
707
  constructor(params = {}) {
@@ -710,30 +711,30 @@ class MonetaryValue {
710
711
  Object.assign(this, params);
711
712
  }
712
713
  }
713
- certification_request.__decorate([
714
- certification_request.AsnProp({ type: Iso4217CurrencyCode })
714
+ ssh_certificate.__decorate([
715
+ ssh_certificate.AsnProp({ type: Iso4217CurrencyCode })
715
716
  ], MonetaryValue.prototype, "currency", void 0);
716
- certification_request.__decorate([
717
- certification_request.AsnProp({ type: certification_request.AsnPropTypes.Integer })
717
+ ssh_certificate.__decorate([
718
+ ssh_certificate.AsnProp({ type: ssh_certificate.AsnPropTypes.Integer })
718
719
  ], MonetaryValue.prototype, "amount", void 0);
719
- certification_request.__decorate([
720
- certification_request.AsnProp({ type: certification_request.AsnPropTypes.Integer })
720
+ ssh_certificate.__decorate([
721
+ ssh_certificate.AsnProp({ type: ssh_certificate.AsnPropTypes.Integer })
721
722
  ], MonetaryValue.prototype, "exponent", void 0);
722
723
  let QcEuLimitValue = class QcEuLimitValue extends MonetaryValue {
723
724
  };
724
- QcEuLimitValue = certification_request.__decorate([
725
- certification_request.AsnType({ type: certification_request.AsnTypeTypes.Sequence })
725
+ QcEuLimitValue = ssh_certificate.__decorate([
726
+ ssh_certificate.AsnType({ type: ssh_certificate.AsnTypeTypes.Sequence })
726
727
  ], QcEuLimitValue);
727
728
  let QcEuRetentionPeriod = class QcEuRetentionPeriod {
728
729
  constructor(value = 0) {
729
730
  this.value = value;
730
731
  }
731
732
  };
732
- certification_request.__decorate([
733
- certification_request.AsnProp({ type: certification_request.AsnPropTypes.Integer })
733
+ ssh_certificate.__decorate([
734
+ ssh_certificate.AsnProp({ type: ssh_certificate.AsnPropTypes.Integer })
734
735
  ], QcEuRetentionPeriod.prototype, "value", void 0);
735
- QcEuRetentionPeriod = certification_request.__decorate([
736
- certification_request.AsnType({ type: certification_request.AsnTypeTypes.Choice })
736
+ QcEuRetentionPeriod = ssh_certificate.__decorate([
737
+ ssh_certificate.AsnType({ type: ssh_certificate.AsnTypeTypes.Choice })
737
738
  ], QcEuRetentionPeriod);
738
739
  let PdsLocation = class PdsLocation {
739
740
  constructor(params = {}) {
@@ -742,23 +743,23 @@ let PdsLocation = class PdsLocation {
742
743
  Object.assign(this, params);
743
744
  }
744
745
  };
745
- certification_request.__decorate([
746
- certification_request.AsnProp({ type: certification_request.AsnPropTypes.IA5String })
746
+ ssh_certificate.__decorate([
747
+ ssh_certificate.AsnProp({ type: ssh_certificate.AsnPropTypes.IA5String })
747
748
  ], PdsLocation.prototype, "url", void 0);
748
- certification_request.__decorate([
749
- certification_request.AsnProp({ type: certification_request.AsnPropTypes.PrintableString })
749
+ ssh_certificate.__decorate([
750
+ ssh_certificate.AsnProp({ type: ssh_certificate.AsnPropTypes.PrintableString })
750
751
  ], PdsLocation.prototype, "language", void 0);
751
- PdsLocation = certification_request.__decorate([
752
- certification_request.AsnType({ type: certification_request.AsnTypeTypes.Sequence })
752
+ PdsLocation = ssh_certificate.__decorate([
753
+ ssh_certificate.AsnType({ type: ssh_certificate.AsnTypeTypes.Sequence })
753
754
  ], PdsLocation);
754
- let PdsLocations = PdsLocations_1 = class PdsLocations extends certification_request.AsnArray {
755
+ let PdsLocations = PdsLocations_1 = class PdsLocations extends ssh_certificate.AsnArray {
755
756
  constructor(items) {
756
757
  super(items);
757
758
  Object.setPrototypeOf(this, PdsLocations_1.prototype);
758
759
  }
759
760
  };
760
- PdsLocations = PdsLocations_1 = certification_request.__decorate([
761
- certification_request.AsnType({ type: certification_request.AsnTypeTypes.Sequence, itemType: PdsLocation })
761
+ PdsLocations = PdsLocations_1 = ssh_certificate.__decorate([
762
+ ssh_certificate.AsnType({ type: ssh_certificate.AsnTypeTypes.Sequence, itemType: PdsLocation })
762
763
  ], PdsLocations);
763
764
  let QcEuPDS = QcEuPDS_1 = class QcEuPDS extends PdsLocations {
764
765
  constructor(items) {
@@ -766,26 +767,26 @@ let QcEuPDS = QcEuPDS_1 = class QcEuPDS extends PdsLocations {
766
767
  Object.setPrototypeOf(this, QcEuPDS_1.prototype);
767
768
  }
768
769
  };
769
- QcEuPDS = QcEuPDS_1 = certification_request.__decorate([
770
- certification_request.AsnType({ type: certification_request.AsnTypeTypes.Sequence, itemType: PdsLocation })
770
+ QcEuPDS = QcEuPDS_1 = ssh_certificate.__decorate([
771
+ ssh_certificate.AsnType({ type: ssh_certificate.AsnTypeTypes.Sequence, itemType: PdsLocation })
771
772
  ], QcEuPDS);
772
- let QcType = QcType_1 = class QcType extends certification_request.AsnArray {
773
+ let QcType = QcType_1 = class QcType extends ssh_certificate.AsnArray {
773
774
  constructor(items) {
774
775
  super(items);
775
776
  Object.setPrototypeOf(this, QcType_1.prototype);
776
777
  }
777
778
  };
778
- QcType = QcType_1 = certification_request.__decorate([
779
- certification_request.AsnType({ type: certification_request.AsnTypeTypes.Sequence, itemType: certification_request.AsnPropTypes.ObjectIdentifier })
779
+ QcType = QcType_1 = ssh_certificate.__decorate([
780
+ ssh_certificate.AsnType({ type: ssh_certificate.AsnTypeTypes.Sequence, itemType: ssh_certificate.AsnPropTypes.ObjectIdentifier })
780
781
  ], QcType);
781
- let QcCClegislation = QcCClegislation_1 = class QcCClegislation extends certification_request.AsnArray {
782
+ let QcCClegislation = QcCClegislation_1 = class QcCClegislation extends ssh_certificate.AsnArray {
782
783
  constructor(items) {
783
784
  super(items);
784
785
  Object.setPrototypeOf(this, QcCClegislation_1.prototype);
785
786
  }
786
787
  };
787
- QcCClegislation = QcCClegislation_1 = certification_request.__decorate([
788
- certification_request.AsnType({ type: certification_request.AsnTypeTypes.Sequence, itemType: certification_request.AsnPropTypes.PrintableString })
788
+ QcCClegislation = QcCClegislation_1 = ssh_certificate.__decorate([
789
+ ssh_certificate.AsnType({ type: ssh_certificate.AsnTypeTypes.Sequence, itemType: ssh_certificate.AsnPropTypes.PrintableString })
789
790
  ], QcCClegislation);
790
791
  const id_etsi_qcs = "0.4.0.1862.1";
791
792
  const id_etsi_qcs_qcRetentionPeriod = `${id_etsi_qcs}.3`;
@@ -805,20 +806,20 @@ const QCStatementsExtension = (props) => {
805
806
  if (!statementInfo.byteLength) {
806
807
  return null;
807
808
  }
808
- if (statementId === certification_request.id_qcs_pkixQCSyntax_v2) {
809
- const semanticsInformation = certification_request.AsnParser.parse(statementInfo, certification_request.SemanticsInformation);
809
+ if (statementId === ssh_certificate.id_qcs_pkixQCSyntax_v2) {
810
+ const semanticsInformation = ssh_certificate.AsnParser.parse(statementInfo, ssh_certificate.SemanticsInformation);
810
811
  return (index.h(RowValue, { name: "Semantics Identifier", value: getStringByOID(semanticsInformation.semanticsIdentifier) }));
811
812
  }
812
813
  if (statementId === id_etsi_qcs_qcType) {
813
- const qcTypes = certification_request.AsnParser.parse(statementInfo, QcType);
814
+ const qcTypes = ssh_certificate.AsnParser.parse(statementInfo, QcType);
814
815
  return (index.h(RowValue, { name: "QC Types", value: qcTypes.map((type) => getStringByOID(type)).join(', ') }));
815
816
  }
816
817
  if (statementId === id_etsi_qcs_qcRetentionPeriod) {
817
- const retentionPeriod = certification_request.AsnParser.parse(statementInfo, QcEuRetentionPeriod);
818
+ const retentionPeriod = ssh_certificate.AsnParser.parse(statementInfo, QcEuRetentionPeriod);
818
819
  return (index.h(RowValue, { name: "Retention Period", value: `${retentionPeriod.value} years` }));
819
820
  }
820
821
  if (statementId === id_etsi_qcs_qcPDS) {
821
- const pdsLocations = certification_request.AsnParser.parse(statementInfo, PdsLocations);
822
+ const pdsLocations = ssh_certificate.AsnParser.parse(statementInfo, PdsLocations);
822
823
  return ([
823
824
  index.h(RowValue, { name: "PDS Locations", value: "" }),
824
825
  pdsLocations.map((location) => (index.h(TableRowTable, null,
@@ -826,7 +827,7 @@ const QCStatementsExtension = (props) => {
826
827
  index.h(RowValue, { name: "Language", value: location.language })))),
827
828
  ]);
828
829
  }
829
- return (index.h(RowValue, { name: "Info", value: certification_request.buildExports.Convert.ToHex(statementInfo), monospace: true }));
830
+ return (index.h(RowValue, { name: "Info", value: ssh_certificate.buildExports.Convert.ToHex(statementInfo), monospace: true }));
830
831
  }
831
832
  return (index.h(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
832
833
  index.h(RowValue, { name: "Statements", value: "" }),
@@ -900,7 +901,7 @@ const TimestampExtension = (props) => {
900
901
  return (index.h(BasicExtension, { extension: extension },
901
902
  index.h(RowValue, { name: "Version", value: extension.value.version }),
902
903
  index.h(GeneralNamePart, Object.assign({ generalName: extension.value.location }, props)),
903
- index.h(RowValue, { name: "Requires Auth", value: extension.value.requiresAuth ? certification_request.l10n.getString('yes') : certification_request.l10n.getString('no') })));
904
+ index.h(RowValue, { name: "Requires Auth", value: extension.value.requiresAuth ? ssh_certificate.l10n.getString('yes') : ssh_certificate.l10n.getString('no') })));
904
905
  };
905
906
 
906
907
  /**
@@ -937,7 +938,7 @@ const CRLReasonExtension = (props) => {
937
938
  * LICENSE file in the root directory of this source tree.
938
939
  */
939
940
  function getAttributeValue(attribute) {
940
- return certification_request.buildExports.Convert.ToString(attribute.values[0]);
941
+ return ssh_certificate.buildExports.Convert.ToString(attribute.values[0]);
941
942
  }
942
943
 
943
944
  /**
@@ -980,8 +981,8 @@ const AsStringExtension = (props) => {
980
981
  const PrivateKeyUsagePeriodExtension = (props) => {
981
982
  const { extension } = props;
982
983
  return (index.h(BasicExtension, { extension: extension },
983
- index.h(RowValue, { name: "Not Before", value: certification_request.dateShort(extension.value.notBefore) }),
984
- index.h(RowValue, { name: "Not After", value: certification_request.dateShort(extension.value.notAfter) })));
984
+ index.h(RowValue, { name: "Not Before", value: ssh_certificate.dateShort(extension.value.notBefore) }),
985
+ index.h(RowValue, { name: "Not After", value: ssh_certificate.dateShort(extension.value.notAfter) })));
985
986
  };
986
987
 
987
988
  /**
@@ -1013,7 +1014,7 @@ const BiometricSyntaxExtension = (props) => {
1013
1014
  index.h(RowValue, { name: "OID", value: getStringByOID(data.typeOfBiometricData.biometricDataOid) }),
1014
1015
  index.h(RowValue, { name: "Type", value: data.typeOfBiometricData.predefinedBiometricType }),
1015
1016
  index.h(RowValue, { name: "Algorithm", value: getStringByOID(data.hashAlgorithm.algorithm) }),
1016
- index.h(RowValue, { name: "Hash", value: certification_request.buildExports.Convert.ToHex(data.biometricDataHash.buffer), monospace: true }),
1017
+ index.h(RowValue, { name: "Hash", value: ssh_certificate.buildExports.Convert.ToHex(data.biometricDataHash.buffer), monospace: true }),
1017
1018
  index.h(RowValue, { name: "Source Uri", value: data.sourceDataUri })))),
1018
1019
  ])));
1019
1020
  };
@@ -1035,7 +1036,7 @@ const LogotypeExtension = (props) => {
1035
1036
  const { imageDetails } = img;
1036
1037
  return [
1037
1038
  index.h(RowValue, { name: "Image Type", value: imageDetails.mediaType }),
1038
- index.h(RowValue, { name: "Image Hash", value: certification_request.buildExports.Convert.ToHex(imageDetails.logotypeHash[0].hashValue), monospace: true }),
1039
+ index.h(RowValue, { name: "Image Hash", value: ssh_certificate.buildExports.Convert.ToHex(imageDetails.logotypeHash[0].hashValue), monospace: true }),
1039
1040
  index.h(RowValue, { name: "Image URL", value: imageDetails.logotypeURI[0], monospace: true, collapse: true }),
1040
1041
  index.h(RowValue, { name: "Image Hash Algorithm", value: getStringByOID(imageDetails.logotypeHash[0].hashAlg.algorithm) }),
1041
1042
  ];
@@ -1049,7 +1050,7 @@ const LogotypeExtension = (props) => {
1049
1050
  const { audioDetails } = aud;
1050
1051
  return [
1051
1052
  index.h(RowValue, { name: "Audio Type", value: audioDetails.mediaType }),
1052
- index.h(RowValue, { name: "Audio Hash", value: certification_request.buildExports.Convert.ToHex(audioDetails.logotypeHash[0].hashValue), monospace: true }),
1053
+ index.h(RowValue, { name: "Audio Hash", value: ssh_certificate.buildExports.Convert.ToHex(audioDetails.logotypeHash[0].hashValue), monospace: true }),
1053
1054
  index.h(RowValue, { name: "Audio URL", value: audioDetails.logotypeURI[0], monospace: true, collapse: true }),
1054
1055
  index.h(RowValue, { name: "Audio Hash Algorithm", value: getStringByOID(audioDetails.logotypeHash[0].hashAlg.algorithm) }),
1055
1056
  ];
@@ -1102,8 +1103,8 @@ const TNAuthListExtension = (props) => {
1102
1103
  const PolicyConstraintsExtension = (props) => {
1103
1104
  const { extension } = props;
1104
1105
  return (index.h(BasicExtension, { extension: extension },
1105
- extension.value.requireExplicitPolicy && (index.h(RowValue, { name: "Require Explicit Policy", value: certification_request.AsnIntegerArrayBufferConverter.toASN(extension.value.requireExplicitPolicy).valueBlock.toString() })),
1106
- extension.value.inhibitPolicyMapping && (index.h(RowValue, { name: "Inhibit Policy Mapping", value: certification_request.AsnIntegerArrayBufferConverter.toASN(extension.value.inhibitPolicyMapping).valueBlock.toString() }))));
1106
+ extension.value.requireExplicitPolicy && (index.h(RowValue, { name: "Require Explicit Policy", value: ssh_certificate.AsnIntegerArrayBufferConverter.toASN(extension.value.requireExplicitPolicy).valueBlock.toString() })),
1107
+ extension.value.inhibitPolicyMapping && (index.h(RowValue, { name: "Inhibit Policy Mapping", value: ssh_certificate.AsnIntegerArrayBufferConverter.toASN(extension.value.inhibitPolicyMapping).valueBlock.toString() }))));
1107
1108
  };
1108
1109
 
1109
1110
  /**
@@ -1133,7 +1134,7 @@ const PolicyMappingsExtension = (props) => {
1133
1134
  const CRLNumberExtension = (props) => {
1134
1135
  const { extension } = props;
1135
1136
  return (index.h(BasicExtension, { extension: extension },
1136
- index.h(RowValue, { name: certification_request.l10n.getString('value'), value: extension.value.value })));
1137
+ index.h(RowValue, { name: ssh_certificate.l10n.getString('value'), value: extension.value.value })));
1137
1138
  };
1138
1139
 
1139
1140
  /**
@@ -1148,11 +1149,11 @@ const IssuingDistributionPointExtension = (props) => {
1148
1149
  const { extension } = props;
1149
1150
  return (index.h(BasicExtension, { extension: extension }, (_a = extension.value.distributionPoint) === null || _a === void 0 ? void 0 :
1150
1151
  _a.fullName.map((gn) => (index.h(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
1151
- extension.value.onlySomeReasons && (index.h(RowValue, { name: certification_request.l10n.getString('onlyReasons'), value: extension.value.onlySomeReasons.toJSON().join(', ') })),
1152
- extension.value.indirectCRL && (index.h(RowValue, { name: certification_request.l10n.getString('indirectCRL'), value: certification_request.l10n.getString('yes') })),
1153
- extension.value.onlyContainsUserCerts && (index.h(RowValue, { name: certification_request.l10n.getString('onlyUserCertificates'), value: certification_request.l10n.getString('yes') })),
1154
- extension.value.onlyContainsAttributeCerts && (index.h(RowValue, { name: certification_request.l10n.getString('onlyAttributeCertificates'), value: certification_request.l10n.getString('yes') })),
1155
- extension.value.onlyContainsCACerts && (index.h(RowValue, { name: certification_request.l10n.getString('onlyCACertificates'), value: certification_request.l10n.getString('yes') }))));
1152
+ extension.value.onlySomeReasons && (index.h(RowValue, { name: ssh_certificate.l10n.getString('onlyReasons'), value: extension.value.onlySomeReasons.toJSON().join(', ') })),
1153
+ extension.value.indirectCRL && (index.h(RowValue, { name: ssh_certificate.l10n.getString('indirectCRL'), value: ssh_certificate.l10n.getString('yes') })),
1154
+ extension.value.onlyContainsUserCerts && (index.h(RowValue, { name: ssh_certificate.l10n.getString('onlyUserCertificates'), value: ssh_certificate.l10n.getString('yes') })),
1155
+ extension.value.onlyContainsAttributeCerts && (index.h(RowValue, { name: ssh_certificate.l10n.getString('onlyAttributeCertificates'), value: ssh_certificate.l10n.getString('yes') })),
1156
+ extension.value.onlyContainsCACerts && (index.h(RowValue, { name: ssh_certificate.l10n.getString('onlyCACertificates'), value: ssh_certificate.l10n.getString('yes') }))));
1156
1157
  };
1157
1158
 
1158
1159
  /**
@@ -1171,26 +1172,26 @@ const KeyDescriptionExtension = (props) => {
1171
1172
  case typeof keyValue === 'string' || typeof keyValue === 'number':
1172
1173
  value = keyValue;
1173
1174
  break;
1174
- case keyValue instanceof certification_request.IntegerSet:
1175
+ case keyValue instanceof ssh_certificate.IntegerSet:
1175
1176
  value = keyValue.join(', ');
1176
1177
  break;
1177
1178
  case typeof keyValue === 'boolean':
1178
1179
  value = keyValue
1179
- ? certification_request.l10n.getString('yes')
1180
- : certification_request.l10n.getString('no');
1180
+ ? ssh_certificate.l10n.getString('yes')
1181
+ : ssh_certificate.l10n.getString('no');
1181
1182
  break;
1182
1183
  case Object.is(keyValue, null):
1183
1184
  value = 'NULL';
1184
1185
  break;
1185
- case keyValue instanceof certification_request.RootOfTrust:
1186
+ case keyValue instanceof ssh_certificate.RootOfTrust:
1186
1187
  return [
1187
1188
  index.h(RowValue, { name: camelCaseToWords(keyName), value: "" }),
1188
1189
  index.h(TableRowTable, null, renderRowValue(keyValue)),
1189
1190
  ];
1190
- case certification_request.buildExports.BufferSourceConverter.isBufferSource(keyValue):
1191
+ case ssh_certificate.buildExports.BufferSourceConverter.isBufferSource(keyValue):
1191
1192
  if (keyName === 'attestationApplicationId') {
1192
1193
  try {
1193
- const parsed = certification_request.AsnParser.parse(keyValue, certification_request.AttestationApplicationId);
1194
+ const parsed = ssh_certificate.AsnParser.parse(keyValue, ssh_certificate.AttestationApplicationId);
1194
1195
  if (parsed.packageInfos.length || parsed.signatureDigests.length) {
1195
1196
  return [
1196
1197
  index.h(RowValue, { name: camelCaseToWords(keyName), value: "" }),
@@ -1205,10 +1206,10 @@ const KeyDescriptionExtension = (props) => {
1205
1206
  }
1206
1207
  }
1207
1208
  try {
1208
- value = certification_request.buildExports.Convert.ToString(keyValue);
1209
+ value = ssh_certificate.buildExports.Convert.ToString(keyValue);
1209
1210
  }
1210
1211
  catch (_b) {
1211
- value = certification_request.buildExports.Convert.ToHex(keyValue);
1212
+ value = ssh_certificate.buildExports.Convert.ToHex(keyValue);
1212
1213
  }
1213
1214
  break;
1214
1215
  }
@@ -1228,8 +1229,8 @@ const KeyDescriptionExtension = (props) => {
1228
1229
  index.h(RowValue, { name: camelCaseToWords('attestationSecurityLevel'), value: extension.value.attestationSecurityLevel }),
1229
1230
  index.h(RowValue, { name: camelCaseToWords('keymasterVersion'), value: extension.value.keymasterVersion }),
1230
1231
  index.h(RowValue, { name: camelCaseToWords('keymasterSecurityLevel'), value: extension.value.keymasterSecurityLevel }),
1231
- index.h(RowValue, { name: camelCaseToWords('attestationChallenge'), value: certification_request.buildExports.Convert.ToString(extension.value.attestationChallenge) }),
1232
- index.h(RowValue, { name: camelCaseToWords('uniqueId'), value: certification_request.buildExports.Convert.ToString(extension.value.uniqueId) || undefined }),
1232
+ index.h(RowValue, { name: camelCaseToWords('attestationChallenge'), value: ssh_certificate.buildExports.Convert.ToString(extension.value.attestationChallenge) }),
1233
+ index.h(RowValue, { name: camelCaseToWords('uniqueId'), value: ssh_certificate.buildExports.Convert.ToString(extension.value.uniqueId) || undefined }),
1233
1234
  renderAuthorizationList(camelCaseToWords('softwareEnforced'), extension.value.softwareEnforced),
1234
1235
  renderAuthorizationList(camelCaseToWords('teeEnforced'), extension.value.teeEnforced)));
1235
1236
  };
@@ -1260,118 +1261,118 @@ const Extensions = (props) => {
1260
1261
  }
1261
1262
  return ([
1262
1263
  index.h(RowTitle, { value: title || 'Extensions' }),
1263
- extensions.map((extension) => {
1264
+ extensions.map((extension$1) => {
1264
1265
  try {
1265
- if (extension.value instanceof certification_request.KeyUsage) {
1266
- return (index.h(KeyUsageExtension, { extension: extension }));
1266
+ if (extension$1.value instanceof ssh_certificate.KeyUsage) {
1267
+ return (index.h(KeyUsageExtension, { extension: extension$1 }));
1267
1268
  }
1268
- if (extension.value instanceof certification_request.BasicConstraints) {
1269
- return (index.h(BasicConstraintsExtension, { extension: extension }));
1269
+ if (extension$1.value instanceof ssh_certificate.BasicConstraints) {
1270
+ return (index.h(BasicConstraintsExtension, { extension: extension$1 }));
1270
1271
  }
1271
- if (extension.value instanceof certification_request.ExtendedKeyUsage) {
1272
- return (index.h(ExtendedKeyUsageExtension, { extension: extension }));
1272
+ if (extension$1.value instanceof ssh_certificate.ExtendedKeyUsage) {
1273
+ return (index.h(ExtendedKeyUsageExtension, { extension: extension$1 }));
1273
1274
  }
1274
- if (extension.value instanceof certification_request.SubjectKeyIdentifier) {
1275
- return (index.h(SubjectKeyIdentifierExtension, Object.assign({ extension: extension }, props)));
1275
+ if (extension$1.value instanceof ssh_certificate.SubjectKeyIdentifier) {
1276
+ return (index.h(SubjectKeyIdentifierExtension, Object.assign({ extension: extension$1 }, props)));
1276
1277
  }
1277
- if (extension.value instanceof certification_request.AuthorityKeyIdentifier) {
1278
- return (index.h(AuthorityKeyIdentifierExtension, Object.assign({ extension: extension }, props)));
1278
+ if (extension$1.value instanceof ssh_certificate.AuthorityKeyIdentifier) {
1279
+ return (index.h(AuthorityKeyIdentifierExtension, Object.assign({ extension: extension$1 }, props)));
1279
1280
  }
1280
- if (extension.value instanceof certification_request.CRLDistributionPoints) {
1281
- return (index.h(CRLDistributionPointsExtension, Object.assign({ extension: extension }, props)));
1281
+ if (extension$1.value instanceof ssh_certificate.CRLDistributionPoints) {
1282
+ return (index.h(CRLDistributionPointsExtension, Object.assign({ extension: extension$1 }, props)));
1282
1283
  }
1283
- if (extension.value instanceof certification_request.AuthorityInfoAccessSyntax
1284
- || extension.value instanceof certification_request.SubjectInfoAccessSyntax) {
1285
- return (index.h(InfoAccessSyntaxExtension, Object.assign({ extension: extension }, props)));
1284
+ if (extension$1.value instanceof ssh_certificate.AuthorityInfoAccessSyntax
1285
+ || extension$1.value instanceof ssh_certificate.SubjectInfoAccessSyntax) {
1286
+ return (index.h(InfoAccessSyntaxExtension, Object.assign({ extension: extension$1 }, props)));
1286
1287
  }
1287
- if (extension.value instanceof certification_request.SubjectAlternativeName) {
1288
- return (index.h(SubjectAlternativeNameExtension, Object.assign({ extension: extension }, props)));
1288
+ if (extension$1.value instanceof ssh_certificate.SubjectAlternativeName) {
1289
+ return (index.h(SubjectAlternativeNameExtension, Object.assign({ extension: extension$1 }, props)));
1289
1290
  }
1290
- if (extension.value instanceof certification_request.CertificatePolicies) {
1291
- return (index.h(CertificatePoliciesExtension, { extension: extension }));
1291
+ if (extension$1.value instanceof ssh_certificate.CertificatePolicies) {
1292
+ return (index.h(CertificatePoliciesExtension, { extension: extension$1 }));
1292
1293
  }
1293
- if (extension.value instanceof certification_request.CertificateTransparency) {
1294
- return (index.h(CertificateTransparencyExtension, { extension: extension }));
1294
+ if (extension$1.value instanceof extension.CertificateTransparency) {
1295
+ return (index.h(CertificateTransparencyExtension, { extension: extension$1 }));
1295
1296
  }
1296
- if (extension.value instanceof certification_request.NameConstraints) {
1297
- return (index.h(NameConstraintsExtension, Object.assign({ extension: extension }, props)));
1297
+ if (extension$1.value instanceof ssh_certificate.NameConstraints) {
1298
+ return (index.h(NameConstraintsExtension, Object.assign({ extension: extension$1 }, props)));
1298
1299
  }
1299
- if (extension.value instanceof certification_request.CertificateTemplate) {
1300
- return (index.h(CertificateTemplateExtension, { extension: extension }));
1300
+ if (extension$1.value instanceof ssh_certificate.CertificateTemplate) {
1301
+ return (index.h(CertificateTemplateExtension, { extension: extension$1 }));
1301
1302
  }
1302
- if (extension.value instanceof certification_request.EnrollCertTypeChoice) {
1303
- return (index.h(EnrollCertTypeChoiceExtension, { extension: extension }));
1303
+ if (extension$1.value instanceof ssh_certificate.EnrollCertTypeChoice) {
1304
+ return (index.h(EnrollCertTypeChoiceExtension, { extension: extension$1 }));
1304
1305
  }
1305
- if (extension.value instanceof certification_request.CaVersion) {
1306
- return (index.h(CaVersionExtension, { extension: extension }));
1306
+ if (extension$1.value instanceof ssh_certificate.CaVersion) {
1307
+ return (index.h(CaVersionExtension, { extension: extension$1 }));
1307
1308
  }
1308
- if (extension.value instanceof certification_request.QCStatements) {
1309
- return (index.h(QCStatementsExtension, { extension: extension }));
1309
+ if (extension$1.value instanceof ssh_certificate.QCStatements) {
1310
+ return (index.h(QCStatementsExtension, { extension: extension$1 }));
1310
1311
  }
1311
- if (extension.value instanceof certification_request.NetscapeComment) {
1312
- return (index.h(NetscapeCommentExtension, { extension: extension }));
1312
+ if (extension$1.value instanceof ssh_certificate.NetscapeComment) {
1313
+ return (index.h(NetscapeCommentExtension, { extension: extension$1 }));
1313
1314
  }
1314
- if (extension.value instanceof certification_request.NetscapeCertType) {
1315
- return (index.h(NetscapeCertTypeExtension, { extension: extension }));
1315
+ if (extension$1.value instanceof ssh_certificate.NetscapeCertType) {
1316
+ return (index.h(NetscapeCertTypeExtension, { extension: extension$1 }));
1316
1317
  }
1317
- if (extension.value instanceof certification_request.LeiRole) {
1318
- return (index.h(LeiRoleExtension, { extension: extension }));
1318
+ if (extension$1.value instanceof ssh_certificate.LeiRole) {
1319
+ return (index.h(LeiRoleExtension, { extension: extension$1 }));
1319
1320
  }
1320
- if (extension.value instanceof certification_request.LeiChoice) {
1321
- return (index.h(LeiExtension, Object.assign({ extension: extension }, props)));
1321
+ if (extension$1.value instanceof ssh_certificate.LeiChoice) {
1322
+ return (index.h(LeiExtension, Object.assign({ extension: extension$1 }, props)));
1322
1323
  }
1323
- if (extension.value instanceof certification_request.Timestamp) {
1324
- return (index.h(TimestampExtension, Object.assign({ extension: extension }, props)));
1324
+ if (extension$1.value instanceof ssh_certificate.Timestamp) {
1325
+ return (index.h(TimestampExtension, Object.assign({ extension: extension$1 }, props)));
1325
1326
  }
1326
- if (extension.value instanceof certification_request.ArchiveRevInfo) {
1327
- return (index.h(ArchiveRevInfoExtension, { extension: extension }));
1327
+ if (extension$1.value instanceof ssh_certificate.ArchiveRevInfo) {
1328
+ return (index.h(ArchiveRevInfoExtension, { extension: extension$1 }));
1328
1329
  }
1329
- if (extension.value instanceof certification_request.CRLReason) {
1330
- return (index.h(CRLReasonExtension, { extension: extension }));
1330
+ if (extension$1.value instanceof ssh_certificate.CRLReason) {
1331
+ return (index.h(CRLReasonExtension, { extension: extension$1 }));
1331
1332
  }
1332
- if (extension.value instanceof certification_request.SubjectDirectoryAttributes) {
1333
- return (index.h(SubjectDirectoryAttributesExtension, { extension: extension }));
1333
+ if (extension$1.value instanceof ssh_certificate.SubjectDirectoryAttributes) {
1334
+ return (index.h(SubjectDirectoryAttributesExtension, { extension: extension$1 }));
1334
1335
  }
1335
- if (extension.value instanceof certification_request.PrivateKeyUsagePeriod) {
1336
- return (index.h(PrivateKeyUsagePeriodExtension, { extension: extension }));
1336
+ if (extension$1.value instanceof ssh_certificate.PrivateKeyUsagePeriod) {
1337
+ return (index.h(PrivateKeyUsagePeriodExtension, { extension: extension$1 }));
1337
1338
  }
1338
- if (extension.value instanceof certification_request.EntrustVersionInfo) {
1339
- return (index.h(EntrustVersionInfoExtension, { extension: extension }));
1339
+ if (extension$1.value instanceof ssh_certificate.EntrustVersionInfo) {
1340
+ return (index.h(EntrustVersionInfoExtension, { extension: extension$1 }));
1340
1341
  }
1341
- if (extension.value instanceof certification_request.BiometricSyntax) {
1342
- return (index.h(BiometricSyntaxExtension, { extension: extension }));
1342
+ if (extension$1.value instanceof ssh_certificate.BiometricSyntax) {
1343
+ return (index.h(BiometricSyntaxExtension, { extension: extension$1 }));
1343
1344
  }
1344
- if (extension.value instanceof certification_request.LogotypeExtn) {
1345
- return (index.h(LogotypeExtension, { extension: extension }));
1345
+ if (extension$1.value instanceof ssh_certificate.LogotypeExtn) {
1346
+ return (index.h(LogotypeExtension, { extension: extension$1 }));
1346
1347
  }
1347
- if (extension.value instanceof certification_request.TNAuthorizationList) {
1348
- return (index.h(TNAuthListExtension, { extension: extension }));
1348
+ if (extension$1.value instanceof ssh_certificate.TNAuthorizationList) {
1349
+ return (index.h(TNAuthListExtension, { extension: extension$1 }));
1349
1350
  }
1350
- if (extension.value instanceof certification_request.PolicyConstraints) {
1351
- return (index.h(PolicyConstraintsExtension, { extension: extension }));
1351
+ if (extension$1.value instanceof ssh_certificate.PolicyConstraints) {
1352
+ return (index.h(PolicyConstraintsExtension, { extension: extension$1 }));
1352
1353
  }
1353
- if (extension.value instanceof certification_request.PolicyMappings) {
1354
- return (index.h(PolicyMappingsExtension, { extension: extension }));
1354
+ if (extension$1.value instanceof ssh_certificate.PolicyMappings) {
1355
+ return (index.h(PolicyMappingsExtension, { extension: extension$1 }));
1355
1356
  }
1356
- if (extension.value instanceof certification_request.CRLNumber) {
1357
- return (index.h(CRLNumberExtension, { extension: extension }));
1357
+ if (extension$1.value instanceof ssh_certificate.CRLNumber) {
1358
+ return (index.h(CRLNumberExtension, { extension: extension$1 }));
1358
1359
  }
1359
- if (extension.value instanceof certification_request.IssuingDistributionPoint) {
1360
- return (index.h(IssuingDistributionPointExtension, Object.assign({ extension: extension }, props)));
1360
+ if (extension$1.value instanceof ssh_certificate.IssuingDistributionPoint) {
1361
+ return (index.h(IssuingDistributionPointExtension, Object.assign({ extension: extension$1 }, props)));
1361
1362
  }
1362
- if (extension.value instanceof certification_request.NonStandardKeyDescription) {
1363
- return (index.h(KeyDescriptionExtension, Object.assign({ extension: extension }, props)));
1363
+ if (extension$1.value instanceof ssh_certificate.NonStandardKeyDescription) {
1364
+ return (index.h(KeyDescriptionExtension, Object.assign({ extension: extension$1 }, props)));
1364
1365
  }
1365
- if (extension.value instanceof certification_request.CabforganizationIdentifier) {
1366
- return (index.h(CabforganizationIdentifierExtension, Object.assign({ extension: extension }, props)));
1366
+ if (extension$1.value instanceof ssh_certificate.CabforganizationIdentifier) {
1367
+ return (index.h(CabforganizationIdentifierExtension, Object.assign({ extension: extension$1 }, props)));
1367
1368
  }
1368
- if (typeof extension.value === 'string') {
1369
- return (index.h(AsStringExtension, { extension: extension }));
1369
+ if (typeof extension$1.value === 'string') {
1370
+ return (index.h(AsStringExtension, { extension: extension$1 }));
1370
1371
  }
1371
- return (index.h(BasicExtension, { extension: extension }));
1372
+ return (index.h(BasicExtension, { extension: extension$1 }));
1372
1373
  }
1373
1374
  catch (_a) {
1374
- console.error('Error render extension:', extension.asn.extnID);
1375
+ console.error('Error render extension:', extension$1.asn.extnID);
1375
1376
  return null;
1376
1377
  }
1377
1378
  }),
@@ -1388,13 +1389,13 @@ const Extensions = (props) => {
1388
1389
  const Miscellaneous = (props) => {
1389
1390
  const { certificate } = props;
1390
1391
  return [
1391
- index.h(RowTitle, { value: certification_request.l10n.getString('miscellaneous') }),
1392
+ index.h(RowTitle, { value: ssh_certificate.l10n.getString('miscellaneous') }),
1392
1393
  index.h("tr", null,
1393
1394
  index.h("td", null,
1394
- index.h(button.Button, { startIcon: index.h(download.DownloadIcon, null), onClick: () => certificate.downloadAsPEM() }, certification_request.l10n.getString('download.pem')))),
1395
+ index.h(button.Button, { startIcon: index.h(download.DownloadIcon, null), onClick: () => certificate.downloadAsPEM() }, ssh_certificate.l10n.getString('download.pem')))),
1395
1396
  index.h("tr", null,
1396
1397
  index.h("td", null,
1397
- index.h(button.Button, { startIcon: index.h(download.DownloadIcon, null), onClick: () => certificate.downloadAsDER() }, certification_request.l10n.getString('download.der')))),
1398
+ index.h(button.Button, { startIcon: index.h(download.DownloadIcon, null), onClick: () => certificate.downloadAsDER() }, ssh_certificate.l10n.getString('download.der')))),
1398
1399
  ];
1399
1400
  };
1400
1401
 
@@ -1415,6 +1416,6 @@ exports.getDNSNameLink = getDNSNameLink;
1415
1416
  exports.getIPAddressLink = getIPAddressLink;
1416
1417
  exports.getLEILink = getLEILink;
1417
1418
  exports.getStringByOID = getStringByOID;
1418
- //# sourceMappingURL=miscellaneous-DeBEwLDy.js.map
1419
+ //# sourceMappingURL=miscellaneous-DvVSM5KJ.js.map
1419
1420
 
1420
- //# sourceMappingURL=miscellaneous-DeBEwLDy.js.map
1421
+ //# sourceMappingURL=miscellaneous-DvVSM5KJ.js.map