@peculiar/certificates-viewer 3.9.0 → 3.10.1-alpha.12

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 (554) hide show
  1. package/components/arrow_top.js +34 -0
  2. package/components/arrow_top.js.map +1 -0
  3. package/components/attribute-certificate-viewer.js +281 -0
  4. package/components/attribute-certificate-viewer.js.map +1 -0
  5. package/components/button-menu.js +64 -0
  6. package/components/button-menu.js.map +1 -0
  7. package/components/button.js +74 -0
  8. package/components/button.js.map +1 -0
  9. package/components/certificate-viewer.js +300 -0
  10. package/components/certificate-viewer.js.map +1 -0
  11. package/components/circular-progress.js +48 -0
  12. package/components/circular-progress.js.map +1 -0
  13. package/components/crl-viewer.js +263 -0
  14. package/components/crl-viewer.js.map +1 -0
  15. package/components/csr-viewer.js +233 -0
  16. package/components/csr-viewer.js.map +1 -0
  17. package/components/custom-elements.d.ts +2 -0
  18. package/{dist/esm/download-91511aeb.js → components/download.js} +2 -0
  19. package/components/download.js.map +1 -0
  20. package/components/highlight-words.js +60 -0
  21. package/components/highlight-words.js.map +1 -0
  22. package/components/index.d.ts +33 -0
  23. package/components/index.js +7 -0
  24. package/components/index.js.map +1 -0
  25. package/components/index2.js +299 -0
  26. package/components/index2.js.map +1 -0
  27. package/components/issuer_name.js +26 -0
  28. package/components/issuer_name.js.map +1 -0
  29. package/components/miscellaneous.js +13420 -0
  30. package/components/miscellaneous.js.map +1 -0
  31. package/components/package.json +9 -0
  32. package/components/peculiar-attribute-certificate-viewer.d.ts +11 -0
  33. package/components/peculiar-attribute-certificate-viewer.js +11 -0
  34. package/components/peculiar-attribute-certificate-viewer.js.map +1 -0
  35. package/components/peculiar-button-menu.d.ts +11 -0
  36. package/components/peculiar-button-menu.js +11 -0
  37. package/components/peculiar-button-menu.js.map +1 -0
  38. package/components/peculiar-certificate-decoder.d.ts +11 -0
  39. package/components/peculiar-certificate-decoder.js +234 -0
  40. package/components/peculiar-certificate-decoder.js.map +1 -0
  41. package/components/peculiar-certificate-viewer.d.ts +11 -0
  42. package/components/peculiar-certificate-viewer.js +11 -0
  43. package/components/peculiar-certificate-viewer.js.map +1 -0
  44. package/components/peculiar-certificates-viewer.d.ts +11 -0
  45. package/components/peculiar-certificates-viewer.js +382 -0
  46. package/components/peculiar-certificates-viewer.js.map +1 -0
  47. package/components/peculiar-circular-progress.d.ts +11 -0
  48. package/components/peculiar-circular-progress.js +11 -0
  49. package/components/peculiar-circular-progress.js.map +1 -0
  50. package/components/peculiar-crl-viewer.d.ts +11 -0
  51. package/components/peculiar-crl-viewer.js +11 -0
  52. package/components/peculiar-crl-viewer.js.map +1 -0
  53. package/components/peculiar-csr-viewer.d.ts +11 -0
  54. package/components/peculiar-csr-viewer.js +11 -0
  55. package/components/peculiar-csr-viewer.js.map +1 -0
  56. package/components/peculiar-highlight-words.d.ts +11 -0
  57. package/components/peculiar-highlight-words.js +11 -0
  58. package/components/peculiar-highlight-words.js.map +1 -0
  59. package/components/peculiar-text-hider.d.ts +11 -0
  60. package/components/peculiar-text-hider.js +42 -0
  61. package/components/peculiar-text-hider.js.map +1 -0
  62. package/components/subject_name.js +71 -0
  63. package/components/subject_name.js.map +1 -0
  64. package/dist/cjs/arrow_top-834fb7ec.js +37 -0
  65. package/dist/cjs/arrow_top-834fb7ec.js.map +1 -0
  66. package/dist/cjs/button-14e2b73f.js +77 -0
  67. package/dist/cjs/button-14e2b73f.js.map +1 -0
  68. package/dist/cjs/{certification_request-b9ac73f2.js → certification_request-c0cafa72.js} +240 -73
  69. package/dist/cjs/certification_request-c0cafa72.js.map +1 -0
  70. package/dist/cjs/{crl-57727a07.js → crl-b4322166.js} +8 -7
  71. package/dist/cjs/crl-b4322166.js.map +1 -0
  72. package/dist/cjs/download-254ddc57.js +23 -0
  73. package/dist/cjs/download-254ddc57.js.map +1 -0
  74. package/dist/cjs/{download-93f7b773.js → download-972dda8a.js} +2 -0
  75. package/dist/cjs/download-972dda8a.js.map +1 -0
  76. package/dist/cjs/index-efd561e9.js +2477 -0
  77. package/dist/cjs/index-efd561e9.js.map +1 -0
  78. package/dist/cjs/index.cjs.js +3 -1
  79. package/dist/cjs/index.cjs.js.map +1 -0
  80. package/dist/cjs/loader.cjs.js +6 -12
  81. package/dist/cjs/loader.cjs.js.map +1 -0
  82. package/dist/cjs/{miscellaneous-07184a47.js → miscellaneous-806a04a5.js} +87 -71
  83. package/dist/cjs/miscellaneous-806a04a5.js.map +1 -0
  84. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +92 -35
  85. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -0
  86. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +110 -0
  87. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -0
  88. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +30 -19
  89. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -0
  90. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +34 -11
  91. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -0
  92. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +183 -85
  93. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -0
  94. package/dist/cjs/peculiar-text-hider.cjs.entry.js +7 -13
  95. package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -0
  96. package/dist/cjs/peculiar.cjs.js +10 -57
  97. package/dist/cjs/peculiar.cjs.js.map +1 -0
  98. package/dist/cjs/{x509_certificate-da0fc87d.js → x509_certificate-989b1435.js} +5 -4
  99. package/dist/cjs/x509_certificate-989b1435.js.map +1 -0
  100. package/dist/collection/collection-manifest.json +12 -16
  101. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +189 -145
  102. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -0
  103. package/dist/collection/components/button/button.js +14 -126
  104. package/dist/collection/components/button/button.js.map +1 -0
  105. package/dist/collection/components/button/index.js +5 -0
  106. package/dist/collection/components/button/index.js.map +1 -0
  107. package/dist/collection/components/button-menu/button-menu.css +46 -0
  108. package/dist/collection/components/button-menu/button-menu.js +78 -0
  109. package/dist/collection/components/button-menu/button-menu.js.map +1 -0
  110. package/dist/collection/components/certificate-decoder/certificate-decoder.css +456 -44
  111. package/dist/collection/components/certificate-decoder/certificate-decoder.js +109 -101
  112. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -0
  113. package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js +6 -11
  114. package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js.map +1 -0
  115. package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js +5 -5
  116. package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js.map +1 -0
  117. package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js +5 -6
  118. package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js.map +1 -0
  119. package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js +5 -5
  120. package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js.map +1 -0
  121. package/dist/collection/components/certificate-details-parts/attributes/index.js +16 -15
  122. package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -0
  123. package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js +5 -5
  124. package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js.map +1 -0
  125. package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js +5 -5
  126. package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js.map +1 -0
  127. package/dist/collection/components/certificate-details-parts/attributes/name_part.js +4 -3
  128. package/dist/collection/components/certificate-details-parts/attributes/name_part.js.map +1 -0
  129. package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js +5 -4
  130. package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js.map +1 -0
  131. package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js +5 -5
  132. package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js.map +1 -0
  133. package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js +5 -5
  134. package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js.map +1 -0
  135. package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js +6 -13
  136. package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js.map +1 -0
  137. package/dist/collection/components/certificate-details-parts/basic_information.js +4 -3
  138. package/dist/collection/components/certificate-details-parts/basic_information.js.map +1 -0
  139. package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js +5 -5
  140. package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js.map +1 -0
  141. package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js +5 -5
  142. package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js.map +1 -0
  143. package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js +2 -1
  144. package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js.map +1 -0
  145. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js +10 -15
  146. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js.map +1 -0
  147. package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js +6 -7
  148. package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js.map +1 -0
  149. package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js +5 -6
  150. package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js.map +1 -0
  151. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js +8 -12
  152. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js.map +1 -0
  153. package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js +5 -6
  154. package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js.map +1 -0
  155. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js +26 -27
  156. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js.map +1 -0
  157. package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js +5 -7
  158. package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js.map +1 -0
  159. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js +8 -13
  160. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js.map +1 -0
  161. package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js +4 -3
  162. package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js.map +1 -0
  163. package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js +6 -6
  164. package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js.map +1 -0
  165. package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js +5 -5
  166. package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js.map +1 -0
  167. package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js +5 -5
  168. package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js.map +1 -0
  169. package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js +5 -6
  170. package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js.map +1 -0
  171. package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js +7 -7
  172. package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js.map +1 -0
  173. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js +8 -7
  174. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js.map +1 -0
  175. package/dist/collection/components/certificate-details-parts/extensions/index.js +46 -45
  176. package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -0
  177. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js +8 -9
  178. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js.map +1 -0
  179. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js +7 -11
  180. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js.map +1 -0
  181. package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js +5 -5
  182. package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js.map +1 -0
  183. package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js +5 -5
  184. package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js.map +1 -0
  185. package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js +5 -5
  186. package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js.map +1 -0
  187. package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js +8 -11
  188. package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js.map +1 -0
  189. package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js +4 -3
  190. package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js.map +1 -0
  191. package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js +5 -5
  192. package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js.map +1 -0
  193. package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js +5 -5
  194. package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js.map +1 -0
  195. package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js +6 -7
  196. package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js.map +1 -0
  197. package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js +5 -4
  198. package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js.map +1 -0
  199. package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js +6 -7
  200. package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js.map +1 -0
  201. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js +13 -16
  202. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js.map +1 -0
  203. package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js +4 -3
  204. package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js.map +1 -0
  205. package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js +8 -9
  206. package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js.map +1 -0
  207. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js +10 -15
  208. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js.map +1 -0
  209. package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js +7 -9
  210. package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js.map +1 -0
  211. package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js +4 -3
  212. package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js.map +1 -0
  213. package/dist/collection/components/certificate-details-parts/holder.js +8 -11
  214. package/dist/collection/components/certificate-details-parts/holder.js.map +1 -0
  215. package/dist/collection/components/certificate-details-parts/index.js +1 -0
  216. package/dist/collection/components/certificate-details-parts/index.js.map +1 -0
  217. package/dist/collection/components/certificate-details-parts/issuer.js +5 -4
  218. package/dist/collection/components/certificate-details-parts/issuer.js.map +1 -0
  219. package/dist/collection/components/certificate-details-parts/issuer_name.js +6 -4
  220. package/dist/collection/components/certificate-details-parts/issuer_name.js.map +1 -0
  221. package/dist/collection/components/certificate-details-parts/miscellaneous.js +8 -13
  222. package/dist/collection/components/certificate-details-parts/miscellaneous.js.map +1 -0
  223. package/dist/collection/components/certificate-details-parts/public_key.js +8 -7
  224. package/dist/collection/components/certificate-details-parts/public_key.js.map +1 -0
  225. package/dist/collection/components/certificate-details-parts/revoked_certificates.js +9 -11
  226. package/dist/collection/components/certificate-details-parts/revoked_certificates.js.map +1 -0
  227. package/dist/collection/components/certificate-details-parts/row.js +13 -18
  228. package/dist/collection/components/certificate-details-parts/row.js.map +1 -0
  229. package/dist/collection/components/certificate-details-parts/signature.js +5 -4
  230. package/dist/collection/components/certificate-details-parts/signature.js.map +1 -0
  231. package/dist/collection/components/certificate-details-parts/subject_name.js +4 -3
  232. package/dist/collection/components/certificate-details-parts/subject_name.js.map +1 -0
  233. package/dist/collection/components/certificate-details-parts/thumbprints.js +4 -3
  234. package/dist/collection/components/certificate-details-parts/thumbprints.js.map +1 -0
  235. package/dist/collection/components/certificate-summary/certificate-summary.js +9 -77
  236. package/dist/collection/components/certificate-summary/certificate-summary.js.map +1 -0
  237. package/dist/collection/components/certificate-summary/index.js +5 -0
  238. package/dist/collection/components/certificate-summary/index.js.map +1 -0
  239. package/dist/collection/components/certificate-viewer/certificate-viewer.css +470 -104
  240. package/dist/collection/components/certificate-viewer/certificate-viewer.js +206 -178
  241. package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -0
  242. package/dist/collection/components/certificates-viewer/certificates-viewer.css +540 -267
  243. package/dist/collection/components/certificates-viewer/certificates-viewer.js +261 -266
  244. package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -0
  245. package/dist/collection/components/circular-progress/circular-progress.css +2 -11
  246. package/dist/collection/components/circular-progress/circular-progress.js +60 -63
  247. package/dist/collection/components/circular-progress/circular-progress.js.map +1 -0
  248. package/dist/collection/components/crl-viewer/crl-viewer.js +166 -139
  249. package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -0
  250. package/dist/collection/components/csr-viewer/csr-viewer.js +149 -124
  251. package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -0
  252. package/dist/collection/components/highlight-words/highlight-words.css +1 -9
  253. package/dist/collection/components/highlight-words/highlight-words.js +35 -28
  254. package/dist/collection/components/highlight-words/highlight-words.js.map +1 -0
  255. package/dist/collection/components/icons/actions.js +16 -0
  256. package/dist/collection/components/icons/actions.js.map +1 -0
  257. package/dist/collection/components/icons/arrow_bottom.js +16 -0
  258. package/dist/collection/components/icons/arrow_bottom.js.map +1 -0
  259. package/dist/collection/components/icons/arrow_top.js +16 -0
  260. package/dist/collection/components/icons/arrow_top.js.map +1 -0
  261. package/dist/collection/components/icons/cross.js +16 -0
  262. package/dist/collection/components/icons/cross.js.map +1 -0
  263. package/dist/collection/components/icons/details.js +16 -0
  264. package/dist/collection/components/icons/details.js.map +1 -0
  265. package/dist/collection/components/icons/download.js +16 -0
  266. package/dist/collection/components/icons/download.js.map +1 -0
  267. package/dist/collection/components/icons/index.js +11 -0
  268. package/dist/collection/components/icons/index.js.map +1 -0
  269. package/dist/collection/components/icons/link.js +16 -0
  270. package/dist/collection/components/icons/link.js.map +1 -0
  271. package/dist/collection/components/link/index.js +5 -0
  272. package/dist/collection/components/link/index.js.map +1 -0
  273. package/dist/collection/components/link/link.js +9 -61
  274. package/dist/collection/components/link/link.js.map +1 -0
  275. package/dist/collection/components/text-hider/text-hider.css +9 -36
  276. package/dist/collection/components/text-hider/text-hider.js +21 -68
  277. package/dist/collection/components/text-hider/text-hider.js.map +1 -0
  278. package/dist/collection/components/typography/index.js +5 -0
  279. package/dist/collection/components/typography/index.js.map +1 -0
  280. package/dist/collection/components/typography/typography.js +39 -126
  281. package/dist/collection/components/typography/typography.js.map +1 -0
  282. package/dist/collection/constants/logs.js +1 -0
  283. package/dist/collection/constants/logs.js.map +1 -0
  284. package/dist/collection/constants/oids.js +5 -2
  285. package/dist/collection/constants/oids.js.map +1 -0
  286. package/dist/collection/crypto/asn_data.js +13 -7
  287. package/dist/collection/crypto/asn_data.js.map +1 -0
  288. package/dist/collection/crypto/attribute.js +11 -10
  289. package/dist/collection/crypto/attribute.js.map +1 -0
  290. package/dist/collection/crypto/crl.js +9 -8
  291. package/dist/collection/crypto/crl.js.map +1 -0
  292. package/dist/collection/crypto/csr.js +11 -10
  293. package/dist/collection/crypto/csr.js.map +1 -0
  294. package/dist/collection/crypto/extension.js +16 -15
  295. package/dist/collection/crypto/extension.js.map +1 -0
  296. package/dist/collection/crypto/index.js +1 -0
  297. package/dist/collection/crypto/index.js.map +1 -0
  298. package/dist/collection/crypto/name.js +15 -9
  299. package/dist/collection/crypto/name.js.map +1 -0
  300. package/dist/collection/crypto/provider.js +4 -3
  301. package/dist/collection/crypto/provider.js.map +1 -0
  302. package/dist/collection/crypto/utils.js +4 -3
  303. package/dist/collection/crypto/utils.js.map +1 -0
  304. package/dist/collection/crypto/x509_attribute_certificate.js +9 -8
  305. package/dist/collection/crypto/x509_attribute_certificate.js.map +1 -0
  306. package/dist/collection/crypto/x509_certificate.js +12 -11
  307. package/dist/collection/crypto/x509_certificate.js.map +1 -0
  308. package/dist/collection/index.js +1 -0
  309. package/dist/collection/index.js.map +1 -0
  310. package/dist/collection/locales/en.json +4 -3
  311. package/dist/collection/utils/date_formatter.js +3 -2
  312. package/dist/collection/utils/date_formatter.js.map +1 -0
  313. package/dist/collection/utils/download.js +3 -2
  314. package/dist/collection/utils/download.js.map +1 -0
  315. package/dist/collection/utils/download_from_buffer.js +1 -0
  316. package/dist/collection/utils/download_from_buffer.js.map +1 -0
  317. package/dist/collection/utils/get_string_by_oid.js +2 -1
  318. package/dist/collection/utils/get_string_by_oid.js.map +1 -0
  319. package/dist/collection/utils/index.js +2 -1
  320. package/dist/collection/utils/index.js.map +1 -0
  321. package/dist/collection/utils/is_link.js +1 -0
  322. package/dist/collection/utils/is_link.js.map +1 -0
  323. package/dist/collection/utils/l10n.js +2 -1
  324. package/dist/collection/utils/l10n.js.map +1 -0
  325. package/dist/collection/utils/read_file.js +1 -0
  326. package/dist/collection/utils/read_file.js.map +1 -0
  327. package/dist/collection/utils/third_party_links.js +1 -0
  328. package/dist/collection/utils/third_party_links.js.map +1 -0
  329. package/dist/collection/utils/validator.js +1 -0
  330. package/dist/collection/utils/validator.js.map +1 -0
  331. package/dist/collection/www-copy/index.js +138 -32
  332. package/dist/esm/arrow_top-efd3a56d.js +34 -0
  333. package/dist/esm/arrow_top-efd3a56d.js.map +1 -0
  334. package/dist/esm/button-35146bdd.js +74 -0
  335. package/dist/esm/button-35146bdd.js.map +1 -0
  336. package/dist/esm/{certification_request-db83dd19.js → certification_request-5cadde9f.js} +175 -11
  337. package/dist/esm/certification_request-5cadde9f.js.map +1 -0
  338. package/dist/esm/{crl-34288843.js → crl-11670c3e.js} +7 -6
  339. package/dist/esm/crl-11670c3e.js.map +1 -0
  340. package/dist/esm/download-0cc3077a.js +21 -0
  341. package/dist/esm/download-0cc3077a.js.map +1 -0
  342. package/dist/esm/download-57c5bf8f.js +470 -0
  343. package/dist/esm/download-57c5bf8f.js.map +1 -0
  344. package/dist/esm/index-4079bbb5.js +2448 -0
  345. package/dist/esm/index-4079bbb5.js.map +1 -0
  346. package/dist/esm/index.js +3 -1
  347. package/dist/esm/index.js.map +1 -0
  348. package/dist/esm/loader.js +6 -12
  349. package/dist/esm/loader.js.map +1 -0
  350. package/dist/esm/{miscellaneous-ee8e1994.js → miscellaneous-1d4e8b41.js} +54 -38
  351. package/dist/esm/miscellaneous-1d4e8b41.js.map +1 -0
  352. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +80 -23
  353. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -0
  354. package/dist/esm/peculiar-button-menu_3.entry.js +104 -0
  355. package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -0
  356. package/dist/esm/peculiar-certificate-decoder.entry.js +30 -19
  357. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -0
  358. package/dist/esm/peculiar-certificate-viewer.entry.js +34 -11
  359. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -0
  360. package/dist/esm/peculiar-certificates-viewer.entry.js +183 -85
  361. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -0
  362. package/dist/esm/peculiar-text-hider.entry.js +7 -13
  363. package/dist/esm/peculiar-text-hider.entry.js.map +1 -0
  364. package/dist/esm/peculiar.js +8 -58
  365. package/dist/esm/peculiar.js.map +1 -0
  366. package/dist/esm/{x509_certificate-1acb3564.js → x509_certificate-dfae6999.js} +4 -3
  367. package/dist/esm/x509_certificate-dfae6999.js.map +1 -0
  368. package/dist/esm-es5/arrow_top-efd3a56d.js +19 -0
  369. package/dist/esm-es5/arrow_top-efd3a56d.js.map +1 -0
  370. package/dist/esm-es5/button-35146bdd.js +19 -0
  371. package/dist/esm-es5/button-35146bdd.js.map +1 -0
  372. package/dist/esm-es5/certification_request-5cadde9f.js +97 -0
  373. package/dist/esm-es5/certification_request-5cadde9f.js.map +1 -0
  374. package/dist/esm-es5/crl-11670c3e.js +33 -0
  375. package/dist/esm-es5/crl-11670c3e.js.map +1 -0
  376. package/dist/esm-es5/download-0cc3077a.js +12 -0
  377. package/dist/esm-es5/download-0cc3077a.js.map +1 -0
  378. package/dist/esm-es5/download-57c5bf8f.js +19 -0
  379. package/dist/esm-es5/download-57c5bf8f.js.map +1 -0
  380. package/dist/esm-es5/index-4079bbb5.js +6 -0
  381. package/dist/esm-es5/index-4079bbb5.js.map +1 -0
  382. package/dist/esm-es5/index.js +5 -0
  383. package/dist/esm-es5/index.js.map +1 -0
  384. package/dist/esm-es5/loader.js +5 -0
  385. package/dist/esm-es5/loader.js.map +1 -0
  386. package/dist/esm-es5/miscellaneous-1d4e8b41.js +355 -0
  387. package/dist/esm-es5/miscellaneous-1d4e8b41.js.map +1 -0
  388. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +110 -0
  389. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -0
  390. package/dist/esm-es5/peculiar-button-menu_3.entry.js +12 -0
  391. package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -0
  392. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +12 -0
  393. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -0
  394. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +5 -0
  395. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -0
  396. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +33 -0
  397. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -0
  398. package/dist/esm-es5/peculiar-text-hider.entry.js +5 -0
  399. package/dist/esm-es5/peculiar-text-hider.entry.js.map +1 -0
  400. package/dist/esm-es5/peculiar.js +5 -0
  401. package/dist/esm-es5/peculiar.js.map +1 -0
  402. package/dist/esm-es5/x509_certificate-dfae6999.js +12 -0
  403. package/dist/esm-es5/x509_certificate-dfae6999.js.map +1 -0
  404. package/dist/index.js +1 -1
  405. package/dist/peculiar/index.esm.js +2 -1
  406. package/dist/peculiar/index.esm.js.map +1 -0
  407. package/dist/peculiar/locales/en.json +4 -3
  408. package/dist/peculiar/p-0b356bb5.js +6 -0
  409. package/dist/peculiar/p-0b356bb5.js.map +1 -0
  410. package/dist/peculiar/p-0bdcdbf7.system.js +355 -0
  411. package/dist/peculiar/p-0bdcdbf7.system.js.map +1 -0
  412. package/dist/peculiar/p-17e3c47b.js +12 -0
  413. package/dist/peculiar/p-17e3c47b.js.map +1 -0
  414. package/dist/peculiar/p-23555789.system.entry.js +34 -0
  415. package/dist/peculiar/p-23555789.system.entry.js.map +1 -0
  416. package/dist/peculiar/p-2fcad8cb.system.js +20 -0
  417. package/dist/peculiar/p-2fcad8cb.system.js.map +1 -0
  418. package/dist/peculiar/p-31586b23.system.js +13 -0
  419. package/dist/peculiar/p-31586b23.system.js.map +1 -0
  420. package/dist/peculiar/p-43eb3721.js +33 -0
  421. package/dist/peculiar/p-43eb3721.js.map +1 -0
  422. package/dist/peculiar/p-5823e6e8.entry.js +12 -0
  423. package/dist/peculiar/p-5823e6e8.entry.js.map +1 -0
  424. package/dist/peculiar/p-596836a7.entry.js +33 -0
  425. package/dist/peculiar/p-596836a7.entry.js.map +1 -0
  426. package/dist/peculiar/p-5aabeba7.system.js +6 -0
  427. package/dist/peculiar/p-5aabeba7.system.js.map +1 -0
  428. package/dist/peculiar/p-6667fe6e.system.js +34 -0
  429. package/dist/peculiar/p-6667fe6e.system.js.map +1 -0
  430. package/dist/peculiar/p-6e79b9c8.js +12 -0
  431. package/dist/peculiar/p-6e79b9c8.js.map +1 -0
  432. package/dist/peculiar/p-709994c1.js +19 -0
  433. package/dist/peculiar/p-709994c1.js.map +1 -0
  434. package/dist/peculiar/p-74c241e7.js +97 -0
  435. package/dist/peculiar/p-74c241e7.js.map +1 -0
  436. package/dist/peculiar/p-7f9beaa8.js +19 -0
  437. package/dist/peculiar/p-7f9beaa8.js.map +1 -0
  438. package/dist/peculiar/p-80832207.system.js +5 -0
  439. package/dist/peculiar/p-80832207.system.js.map +1 -0
  440. package/dist/peculiar/p-8748391f.system.entry.js +5 -0
  441. package/dist/peculiar/p-8748391f.system.entry.js.map +1 -0
  442. package/dist/peculiar/p-882e1281.entry.js +12 -0
  443. package/dist/peculiar/p-882e1281.entry.js.map +1 -0
  444. package/dist/peculiar/p-90459cec.entry.js +5 -0
  445. package/dist/peculiar/p-90459cec.entry.js.map +1 -0
  446. package/dist/peculiar/p-97688065.js +355 -0
  447. package/dist/peculiar/p-97688065.js.map +1 -0
  448. package/dist/peculiar/p-99e3aa0c.system.entry.js +111 -0
  449. package/dist/peculiar/p-99e3aa0c.system.entry.js.map +1 -0
  450. package/dist/peculiar/p-9b4a8101.system.entry.js +5 -0
  451. package/dist/peculiar/p-9b4a8101.system.entry.js.map +1 -0
  452. package/dist/peculiar/p-a053c132.js +19 -0
  453. package/dist/peculiar/p-a053c132.js.map +1 -0
  454. package/dist/peculiar/p-a41ecd82.entry.js +5 -0
  455. package/dist/peculiar/p-a41ecd82.entry.js.map +1 -0
  456. package/dist/peculiar/p-ae9189f6.system.js +19 -0
  457. package/dist/peculiar/p-ae9189f6.system.js.map +1 -0
  458. package/dist/peculiar/p-bd485115.system.entry.js +13 -0
  459. package/dist/peculiar/p-bd485115.system.entry.js.map +1 -0
  460. package/dist/peculiar/p-c0a298fd.system.js +97 -0
  461. package/dist/peculiar/p-c0a298fd.system.js.map +1 -0
  462. package/dist/peculiar/p-daf23673.system.js +20 -0
  463. package/dist/peculiar/p-daf23673.system.js.map +1 -0
  464. package/dist/peculiar/p-e1960173.system.js +5 -0
  465. package/dist/peculiar/p-e1960173.system.js.map +1 -0
  466. package/dist/peculiar/p-e2cc7410.entry.js +110 -0
  467. package/dist/peculiar/p-e2cc7410.entry.js.map +1 -0
  468. package/dist/peculiar/p-e39de121.system.entry.js +13 -0
  469. package/dist/peculiar/p-e39de121.system.entry.js.map +1 -0
  470. package/dist/peculiar/p-e6a3b4d4.system.js +13 -0
  471. package/dist/peculiar/p-e6a3b4d4.system.js.map +1 -0
  472. package/dist/peculiar/peculiar.css +1 -1
  473. package/dist/peculiar/peculiar.esm.js +2 -1
  474. package/dist/peculiar/peculiar.esm.js.map +1 -0
  475. package/dist/peculiar/peculiar.js +127 -0
  476. package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +15 -3
  477. package/dist/types/components/button/button.d.ts +5 -16
  478. package/dist/types/components/button/index.d.ts +2 -0
  479. package/dist/types/components/button-menu/button-menu.d.ts +21 -0
  480. package/dist/types/components/certificate-decoder/certificate-decoder.d.ts +9 -6
  481. package/dist/types/components/certificate-details-parts/miscellaneous.d.ts +1 -1
  482. package/dist/types/components/certificate-summary/certificate-summary.d.ts +4 -3
  483. package/dist/types/components/certificate-summary/index.d.ts +1 -0
  484. package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +13 -5
  485. package/dist/types/components/certificates-viewer/certificates-viewer.d.ts +22 -11
  486. package/dist/types/components/crl-viewer/crl-viewer.d.ts +13 -5
  487. package/dist/types/components/csr-viewer/csr-viewer.d.ts +13 -5
  488. package/dist/types/components/icons/actions.d.ts +12 -0
  489. package/dist/types/components/icons/arrow_bottom.d.ts +12 -0
  490. package/dist/types/components/icons/arrow_top.d.ts +12 -0
  491. package/dist/types/components/icons/cross.d.ts +12 -0
  492. package/dist/types/components/icons/details.d.ts +12 -0
  493. package/dist/types/components/icons/download.d.ts +12 -0
  494. package/dist/types/components/icons/index.d.ts +7 -0
  495. package/dist/types/components/icons/link.d.ts +12 -0
  496. package/dist/types/components/link/index.d.ts +1 -0
  497. package/dist/types/components/link/link.d.ts +6 -6
  498. package/dist/types/components/text-hider/text-hider.d.ts +0 -3
  499. package/dist/types/components/typography/index.d.ts +1 -0
  500. package/dist/types/components/typography/typography.d.ts +10 -20
  501. package/dist/types/components.d.ts +74 -175
  502. package/dist/types/constants/oids.d.ts +3 -1
  503. package/dist/types/crypto/attribute.d.ts +1 -1
  504. package/dist/types/crypto/extension.d.ts +1 -1
  505. package/dist/types/interface.d.ts +98 -6
  506. package/dist/types/stencil-public-runtime.d.ts +110 -23
  507. package/dist/types/utils/l10n.d.ts +5 -4
  508. package/dist/types/utils/read_file.d.ts +1 -1
  509. package/hydrate/index.d.ts +218 -0
  510. package/hydrate/index.js +22549 -0
  511. package/hydrate/package.json +6 -0
  512. package/loader/index.d.ts +10 -1
  513. package/loader/index.js +1 -1
  514. package/loader/package.json +1 -0
  515. package/package.json +6 -4
  516. package/dist/cjs/dom-f57e260e.js +0 -78
  517. package/dist/cjs/index-064e95c7.js +0 -1441
  518. package/dist/cjs/l10n-ddc7cff9.js +0 -169
  519. package/dist/cjs/peculiar-button-split_4.cjs.entry.js +0 -128
  520. package/dist/cjs/peculiar-button.cjs.entry.js +0 -40
  521. package/dist/cjs/peculiar-link.cjs.entry.js +0 -29
  522. package/dist/cjs/peculiar-typography.cjs.entry.js +0 -38
  523. package/dist/collection/components/button/button.css +0 -81
  524. package/dist/collection/components/button-split/button-split.css +0 -57
  525. package/dist/collection/components/button-split/button-split.js +0 -116
  526. package/dist/collection/components/certificate-summary/certificate-summary.css +0 -49
  527. package/dist/collection/components/link/link.css +0 -59
  528. package/dist/collection/components/typography/typography.css +0 -95
  529. package/dist/esm/dom-f1b08a97.js +0 -76
  530. package/dist/esm/index-bbd484d9.js +0 -1410
  531. package/dist/esm/l10n-d48f35ff.js +0 -165
  532. package/dist/esm/peculiar-button-split_4.entry.js +0 -121
  533. package/dist/esm/peculiar-button.entry.js +0 -36
  534. package/dist/esm/peculiar-link.entry.js +0 -25
  535. package/dist/esm/peculiar-typography.entry.js +0 -34
  536. package/dist/esm/polyfills/css-shim.js +0 -1
  537. package/dist/peculiar/p-08aba71b.js +0 -69
  538. package/dist/peculiar/p-0f7868b1.js +0 -11
  539. package/dist/peculiar/p-2f213160.entry.js +0 -11
  540. package/dist/peculiar/p-3c4e4245.js +0 -79
  541. package/dist/peculiar/p-48a620ff.js +0 -32
  542. package/dist/peculiar/p-57b89412.entry.js +0 -4
  543. package/dist/peculiar/p-610b85e3.entry.js +0 -4
  544. package/dist/peculiar/p-6d37c8b5.entry.js +0 -4
  545. package/dist/peculiar/p-711b4e1e.js +0 -18
  546. package/dist/peculiar/p-81ae1305.entry.js +0 -4
  547. package/dist/peculiar/p-81d33fb4.entry.js +0 -4
  548. package/dist/peculiar/p-918aeee4.entry.js +0 -4
  549. package/dist/peculiar/p-9bfd4f58.entry.js +0 -18
  550. package/dist/peculiar/p-9f4ee110.js +0 -22
  551. package/dist/peculiar/p-df53fbcc.entry.js +0 -4
  552. package/dist/peculiar/p-ec250cc4.js +0 -12
  553. package/dist/peculiar/p-f7683ba5.js +0 -5
  554. package/dist/types/components/button-split/button-split.d.ts +0 -21
@@ -3,8 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const download = require('./download-93f7b773.js');
7
- require('./l10n-ddc7cff9.js');
6
+ const download$1 = require('./download-972dda8a.js');
8
7
 
9
8
  /**
10
9
  * @license
@@ -36,6 +35,167 @@ const isBase64 = (value) => {
36
35
  }
37
36
  };
38
37
 
38
+ var dayjs_min = download$1.createCommonjsModule(function (module, exports) {
39
+ !function(t,e){module.exports=e();}(download$1.commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),l=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(h){case c:return r?l(1,0):l(31,11);case f:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),l=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,l=this;r=Number(r);var $=O.p(h),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===f)return this.set(f,this.$M+r);if($===c)return this.set(c,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||$[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,v=this-M,g=O.m(this,M);return g=($={},$[c]=g/12,$[f]=g,$[h]=g/3,$[o]=(v-m)/6048e5,$[a]=(v-m)/864e5,$[u]=v/n,$[s]=v/e,$[i]=v/t,$)[y]||v,l?g:O.a(g)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),T=_.prototype;return w.prototype=T,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[g],w.Ls=D,w.p={},w}));
40
+ });
41
+
42
+ var relativeTime = download$1.createCommonjsModule(function (module, exports) {
43
+ !function(r,e){module.exports=e();}(download$1.commonjsGlobal,(function(){return function(r,e,t){r=r||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=h.length,c=0;c<m;c+=1){var y=h[c];y.d&&(f=d?t(e).diff(i,y.d,!0):i.diff(e,y.d,!0));var p=(r.rounding||Math.round)(Math.abs(f));if(s=f>0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(""+p)),a="string"==typeof v?v.replace("%d",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return "function"==typeof M?M(a):M.replace("%s",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)};}}));
44
+ });
45
+
46
+ /**
47
+ * @license
48
+ * Copyright (c) Peculiar Ventures, LLC.
49
+ *
50
+ * This source code is licensed under the MIT license found in the
51
+ * LICENSE file in the root directory of this source tree.
52
+ */
53
+ dayjs_min.extend(relativeTime);
54
+ const dateShort = (date) => (new Date(date).toUTCString());
55
+ const dateDiff = (dateStart, dateEnd) => {
56
+ if (!dateStart || !dateEnd) {
57
+ return '';
58
+ }
59
+ const start = dayjs_min(dateStart);
60
+ const end = dayjs_min(dateEnd);
61
+ return start.to(end, true);
62
+ };
63
+
64
+ const basicInformation = "Basic Information";
65
+ const subjectName = "Subject Name";
66
+ const issuerName = "Issuer Name";
67
+ const publicKeyInfo = "Public Key Info";
68
+ const signature = "Signature";
69
+ const extensions = "Extensions";
70
+ const miscellaneous = "Miscellaneous";
71
+ const download = "Download";
72
+ const serialNumber = "Serial Number";
73
+ const version = "Version";
74
+ const validity = "Validity";
75
+ const issued = "Issued";
76
+ const expired = "Expired";
77
+ const lastUpdate = "Last Update";
78
+ const nextUpdate = "Next Update";
79
+ const algorithm = "Algorithm";
80
+ const namedCurve = "Named Curve";
81
+ const exponent = "Exponent";
82
+ const modulus = "Modulus";
83
+ const value = "Value";
84
+ const valid = "Valid";
85
+ const revoked = "Revoked";
86
+ const issuer = "Issuer";
87
+ const name = "Name";
88
+ const publicKey = "Public Key";
89
+ const fingerprint = "Fingerprint";
90
+ const fingerprints = "Fingerprints";
91
+ const testURLs = "Test URLs";
92
+ const certificateDetails = "Certificate Details";
93
+ const holder = "Holder";
94
+ const digestInfo = "Digest Info";
95
+ const type = "Type";
96
+ const revokedCertificates = "Revoked Certificates";
97
+ const revocationDate = "Revocation Date";
98
+ const yes = "Yes";
99
+ const no = "No";
100
+ const onlyUserCertificates = "Only User Certificates";
101
+ const onlyAttributeCertificates = "Only Attribute Certificates";
102
+ const onlyCACertificates = "Only CA Certificates";
103
+ const indirectCRL = "Indirect CRL";
104
+ const onlyReasons = "Only Reasons";
105
+ const crlEntryExtensions = "CRL Entry Extensions";
106
+ const previewCertificate = "Preview certificate";
107
+ const viewDetails = "View details";
108
+ const downloadOptions = "Download options";
109
+ const en = {
110
+ basicInformation: basicInformation,
111
+ subjectName: subjectName,
112
+ issuerName: issuerName,
113
+ publicKeyInfo: publicKeyInfo,
114
+ signature: signature,
115
+ extensions: extensions,
116
+ miscellaneous: miscellaneous,
117
+ download: download,
118
+ "download.pem": "Download PEM",
119
+ "download.der": "Download DER",
120
+ serialNumber: serialNumber,
121
+ version: version,
122
+ validity: validity,
123
+ issued: issued,
124
+ expired: expired,
125
+ lastUpdate: lastUpdate,
126
+ nextUpdate: nextUpdate,
127
+ algorithm: algorithm,
128
+ namedCurve: namedCurve,
129
+ exponent: exponent,
130
+ modulus: modulus,
131
+ value: value,
132
+ valid: valid,
133
+ revoked: revoked,
134
+ issuer: issuer,
135
+ name: name,
136
+ publicKey: publicKey,
137
+ fingerprint: fingerprint,
138
+ fingerprints: fingerprints,
139
+ testURLs: testURLs,
140
+ certificateDetails: certificateDetails,
141
+ holder: holder,
142
+ digestInfo: digestInfo,
143
+ type: type,
144
+ revokedCertificates: revokedCertificates,
145
+ revocationDate: revocationDate,
146
+ yes: yes,
147
+ no: no,
148
+ onlyUserCertificates: onlyUserCertificates,
149
+ onlyAttributeCertificates: onlyAttributeCertificates,
150
+ onlyCACertificates: onlyCACertificates,
151
+ indirectCRL: indirectCRL,
152
+ onlyReasons: onlyReasons,
153
+ crlEntryExtensions: crlEntryExtensions,
154
+ previewCertificate: previewCertificate,
155
+ viewDetails: viewDetails,
156
+ downloadOptions: downloadOptions
157
+ };
158
+
159
+ /**
160
+ * @license
161
+ * Copyright (c) Peculiar Ventures, LLC.
162
+ *
163
+ * This source code is licensed under the MIT license found in the
164
+ * LICENSE file in the root directory of this source tree.
165
+ */
166
+ const MESSAGES_ALL = {
167
+ en,
168
+ };
169
+ class Localization {
170
+ constructor() {
171
+ this.setLocale = (locale) => {
172
+ this.locale = locale && MESSAGES_ALL[locale] ? locale : 'en';
173
+ };
174
+ this.getLocale = () => this.locale;
175
+ const language = window.navigator.language.slice(0, 2).toLowerCase();
176
+ this.setLocale(language);
177
+ }
178
+ getString(id, replacer) {
179
+ const value = MESSAGES_ALL[this.locale][id];
180
+ if (!value) {
181
+ return '';
182
+ }
183
+ if (!replacer) {
184
+ return value;
185
+ }
186
+ const splitted = value.split(replacer.pattern);
187
+ if (splitted.length > 1) {
188
+ return [
189
+ splitted[0],
190
+ replacer.replacer,
191
+ splitted[1],
192
+ ];
193
+ }
194
+ return value;
195
+ }
196
+ }
197
+ const l10n = new Localization();
198
+
39
199
  /**
40
200
  * @license
41
201
  * Copyright (c) Peculiar Ventures, LLC.
@@ -1358,6 +1518,7 @@ const OIDs = {
1358
1518
  '1.3.6.1.5.5.7.8.2': 'User Group',
1359
1519
  '1.3.6.1.5.5.7.8.3': 'Permanent Identifier',
1360
1520
  '1.3.6.1.5.5.7.8.5': 'Xmpp Addr',
1521
+ '1.3.6.1.5.5.7.8.9': 'SMTP UTF8 Mailbox',
1361
1522
  '1.3.6.1.5.5.7.9': 'Personal Data',
1362
1523
  '1.3.6.1.5.5.7.9.1': 'Date Of Birth',
1363
1524
  '1.3.6.1.5.5.7.9.2': 'Place Of Birth',
@@ -2330,10 +2491,11 @@ const OIDs = {
2330
2491
  '2.54.1775.7': 'Set Qualifier',
2331
2492
  '2.54.1775.99': 'Set Data',
2332
2493
  '1.3.6.1.4.1.11129.2.4.3': 'CT Pre-Certificate Poison',
2333
- '2.23.140.1.2.2': 'CA/B Forum Organization Validated',
2334
2494
  '2.23.140.1.2.1': 'CA/B Forum Domain Validated',
2495
+ '2.23.140.1.2.2': 'CA/B Forum Organization Validated',
2496
+ '2.23.140.1.5.2.2': 'CA/B Forum Organization Validated Multipurpose',
2335
2497
  '1.3.6.1.4.1.44947.1.1.1': 'Let\'s Encrypt',
2336
- '1.3.6.1.4.1.4329.7.2.4': 'SslTlsCerts',
2498
+ '1.3.6.1.4.1.4329.7.2.4': 'SSL TLS Certs',
2337
2499
  '1.3.6.1.4.1.4329.7': 'Siemens Public Key Infrastructure',
2338
2500
  '1.3.6.1.4.1.52266.1': 'Legal Entity Identifier',
2339
2501
  '1.3.6.1.4.1.52266.2': 'Role',
@@ -2616,7 +2778,7 @@ function HexBlock(BaseClass) {
2616
2778
  super(...args);
2617
2779
  const params = args[0] || {};
2618
2780
  this.isHexOnly = (_a = params.isHexOnly) !== null && _a !== void 0 ? _a : false;
2619
- this.valueHexView = params.valueHex ? download.build.BufferSourceConverter.toUint8Array(params.valueHex) : EMPTY_VIEW;
2781
+ this.valueHexView = params.valueHex ? download$1.build.BufferSourceConverter.toUint8Array(params.valueHex) : EMPTY_VIEW;
2620
2782
  }
2621
2783
  get valueHex() {
2622
2784
  return this.valueHexView.slice().buffer;
@@ -2654,7 +2816,7 @@ function HexBlock(BaseClass) {
2654
2816
  return {
2655
2817
  ...super.toJSON(),
2656
2818
  isHexOnly: this.isHexOnly,
2657
- valueHex: download.build.Convert.ToHex(this.valueHexView),
2819
+ valueHex: download$1.build.Convert.ToHex(this.valueHexView),
2658
2820
  };
2659
2821
  }
2660
2822
  },
@@ -2667,7 +2829,7 @@ class LocalBaseBlock {
2667
2829
  this.blockLength = blockLength;
2668
2830
  this.error = error;
2669
2831
  this.warnings = warnings;
2670
- this.valueBeforeDecodeView = download.build.BufferSourceConverter.toUint8Array(valueBeforeDecode);
2832
+ this.valueBeforeDecodeView = download$1.build.BufferSourceConverter.toUint8Array(valueBeforeDecode);
2671
2833
  }
2672
2834
  static blockName() {
2673
2835
  return this.NAME;
@@ -2684,7 +2846,7 @@ class LocalBaseBlock {
2684
2846
  blockLength: this.blockLength,
2685
2847
  error: this.error,
2686
2848
  warnings: this.warnings,
2687
- valueBeforeDecode: download.build.Convert.ToHex(this.valueBeforeDecodeView),
2849
+ valueBeforeDecode: download$1.build.Convert.ToHex(this.valueBeforeDecodeView),
2688
2850
  };
2689
2851
  }
2690
2852
  }
@@ -2706,7 +2868,7 @@ class LocalIdentificationBlock extends HexBlock(LocalBaseBlock) {
2706
2868
  super();
2707
2869
  if (idBlock) {
2708
2870
  this.isHexOnly = (_a = idBlock.isHexOnly) !== null && _a !== void 0 ? _a : false;
2709
- this.valueHexView = idBlock.valueHex ? download.build.BufferSourceConverter.toUint8Array(idBlock.valueHex) : EMPTY_VIEW;
2871
+ this.valueHexView = idBlock.valueHex ? download$1.build.BufferSourceConverter.toUint8Array(idBlock.valueHex) : EMPTY_VIEW;
2710
2872
  this.tagClass = (_b = idBlock.tagClass) !== null && _b !== void 0 ? _b : -1;
2711
2873
  this.tagNumber = (_c = idBlock.tagNumber) !== null && _c !== void 0 ? _c : -1;
2712
2874
  this.isConstructed = (_d = idBlock.isConstructed) !== null && _d !== void 0 ? _d : false;
@@ -2772,7 +2934,7 @@ class LocalIdentificationBlock extends HexBlock(LocalBaseBlock) {
2772
2934
  return retView.buffer;
2773
2935
  }
2774
2936
  fromBER(inputBuffer, inputOffset, inputLength) {
2775
- const inputView = download.build.BufferSourceConverter.toUint8Array(inputBuffer);
2937
+ const inputView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
2776
2938
  if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
2777
2939
  return -1;
2778
2940
  }
@@ -2881,7 +3043,7 @@ class LocalLengthBlock extends LocalBaseBlock {
2881
3043
  this.length = (_c = lenBlock.length) !== null && _c !== void 0 ? _c : 0;
2882
3044
  }
2883
3045
  fromBER(inputBuffer, inputOffset, inputLength) {
2884
- const view = download.build.BufferSourceConverter.toUint8Array(inputBuffer);
3046
+ const view = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
2885
3047
  if (!checkBufferParams(this, view, inputOffset, inputLength)) {
2886
3048
  return -1;
2887
3049
  }
@@ -3040,10 +3202,10 @@ class BaseBlock extends LocalBaseBlock {
3040
3202
  if (encoding === "ascii") {
3041
3203
  return this.onAsciiEncoding();
3042
3204
  }
3043
- return download.build.Convert.ToHex(this.toBER());
3205
+ return download$1.build.Convert.ToHex(this.toBER());
3044
3206
  }
3045
3207
  onAsciiEncoding() {
3046
- return `${this.constructor.NAME} : ${download.build.Convert.ToHex(this.valueBlock.valueBeforeDecodeView)}`;
3208
+ return `${this.constructor.NAME} : ${download$1.build.Convert.ToHex(this.valueBlock.valueBeforeDecodeView)}`;
3047
3209
  }
3048
3210
  isEqual(other) {
3049
3211
  if (this === other) {
@@ -3341,7 +3503,7 @@ function fromBER(inputBuffer) {
3341
3503
  result
3342
3504
  };
3343
3505
  }
3344
- return localFromBER(download.build.BufferSourceConverter.toUint8Array(inputBuffer).slice(), 0, inputBuffer.byteLength);
3506
+ return localFromBER(download$1.build.BufferSourceConverter.toUint8Array(inputBuffer).slice(), 0, inputBuffer.byteLength);
3345
3507
  }
3346
3508
 
3347
3509
  function checkLen(indefiniteLength, length) {
@@ -3357,7 +3519,7 @@ class LocalConstructedValueBlock extends ValueBlock {
3357
3519
  this.isIndefiniteForm = isIndefiniteForm;
3358
3520
  }
3359
3521
  fromBER(inputBuffer, inputOffset, inputLength) {
3360
- const view = download.build.BufferSourceConverter.toUint8Array(inputBuffer);
3522
+ const view = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
3361
3523
  if (!checkBufferParams(this, view, inputOffset, inputLength)) {
3362
3524
  return -1;
3363
3525
  }
@@ -3527,7 +3689,7 @@ class LocalBooleanValueBlock extends HexBlock(ValueBlock) {
3527
3689
  constructor({ value, ...parameters } = {}) {
3528
3690
  super(parameters);
3529
3691
  if (parameters.valueHex) {
3530
- this.valueHexView = download.build.BufferSourceConverter.toUint8Array(parameters.valueHex);
3692
+ this.valueHexView = download$1.build.BufferSourceConverter.toUint8Array(parameters.valueHex);
3531
3693
  }
3532
3694
  else {
3533
3695
  this.valueHexView = new Uint8Array(1);
@@ -3548,7 +3710,7 @@ class LocalBooleanValueBlock extends HexBlock(ValueBlock) {
3548
3710
  this.valueHexView[0] = value ? 0xFF : 0x00;
3549
3711
  }
3550
3712
  fromBER(inputBuffer, inputOffset, inputLength) {
3551
- const inputView = download.build.BufferSourceConverter.toUint8Array(inputBuffer);
3713
+ const inputView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
3552
3714
  if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
3553
3715
  return -1;
3554
3716
  }
@@ -3695,7 +3857,7 @@ class OctetString$1 extends BaseBlock {
3695
3857
  if (this.valueBlock.isConstructed || (this.valueBlock.value && this.valueBlock.value.length)) {
3696
3858
  return Constructed.prototype.onAsciiEncoding.call(this);
3697
3859
  }
3698
- return `${this.constructor.NAME} : ${download.build.Convert.ToHex(this.valueBlock.valueHexView)}`;
3860
+ return `${this.constructor.NAME} : ${download$1.build.Convert.ToHex(this.valueBlock.valueHexView)}`;
3699
3861
  }
3700
3862
  getValue() {
3701
3863
  if (!this.idBlock.isConstructed) {
@@ -3707,7 +3869,7 @@ class OctetString$1 extends BaseBlock {
3707
3869
  array.push(content.valueBlock.valueHexView);
3708
3870
  }
3709
3871
  }
3710
- return download.build.BufferSourceConverter.concat(array);
3872
+ return download$1.build.BufferSourceConverter.concat(array);
3711
3873
  }
3712
3874
  }
3713
3875
  _a$r = OctetString$1;
@@ -3755,7 +3917,7 @@ class LocalBitStringValueBlock extends HexBlock(LocalConstructedValueBlock) {
3755
3917
  }
3756
3918
  return resultOffset;
3757
3919
  }
3758
- const inputView = download.build.BufferSourceConverter.toUint8Array(inputBuffer);
3920
+ const inputView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
3759
3921
  if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
3760
3922
  return -1;
3761
3923
  }
@@ -4095,13 +4257,13 @@ class Integer extends BaseBlock {
4095
4257
  const bigIntValue = BigInt(value);
4096
4258
  const writer = new ViewWriter();
4097
4259
  const hex = bigIntValue.toString(16).replace(/^-/, "");
4098
- const view = new Uint8Array(download.build.Convert.FromHex(hex));
4260
+ const view = new Uint8Array(download$1.build.Convert.FromHex(hex));
4099
4261
  if (bigIntValue < 0) {
4100
4262
  const first = new Uint8Array(view.length + (view[0] & 0x80 ? 1 : 0));
4101
4263
  first[0] |= 0x80;
4102
- const firstInt = BigInt(`0x${download.build.Convert.ToHex(first)}`);
4264
+ const firstInt = BigInt(`0x${download$1.build.Convert.ToHex(first)}`);
4103
4265
  const secondInt = firstInt + bigIntValue;
4104
- const second = download.build.BufferSourceConverter.toUint8Array(download.build.Convert.FromHex(secondInt.toString(16)));
4266
+ const second = download$1.build.BufferSourceConverter.toUint8Array(download$1.build.Convert.FromHex(secondInt.toString(16)));
4105
4267
  second[0] |= 0x80;
4106
4268
  writer.write(second);
4107
4269
  }
@@ -4162,7 +4324,7 @@ class LocalSidValueBlock extends HexBlock(ValueBlock) {
4162
4324
  if (!inputLength) {
4163
4325
  return inputOffset;
4164
4326
  }
4165
- const inputView = download.build.BufferSourceConverter.toUint8Array(inputBuffer);
4327
+ const inputView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
4166
4328
  if (!checkBufferParams(this, inputView, inputOffset, inputLength)) {
4167
4329
  return -1;
4168
4330
  }
@@ -4234,7 +4396,7 @@ class LocalSidValueBlock extends HexBlock(ValueBlock) {
4234
4396
  toString() {
4235
4397
  let result = "";
4236
4398
  if (this.isHexOnly)
4237
- result = download.build.Convert.ToHex(this.valueHexView);
4399
+ result = download$1.build.Convert.ToHex(this.valueHexView);
4238
4400
  else {
4239
4401
  if (this.isFirstSid) {
4240
4402
  let sidValue = this.valueDec;
@@ -4431,7 +4593,7 @@ class LocalRelativeSidValueBlock extends HexBlock(LocalBaseBlock) {
4431
4593
  fromBER(inputBuffer, inputOffset, inputLength) {
4432
4594
  if (inputLength === 0)
4433
4595
  return inputOffset;
4434
- const inputView = download.build.BufferSourceConverter.toUint8Array(inputBuffer);
4596
+ const inputView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
4435
4597
  if (!checkBufferParams(this, inputView, inputOffset, inputLength))
4436
4598
  return -1;
4437
4599
  const intBuffer = inputView.subarray(inputOffset, inputOffset + inputLength);
@@ -4489,7 +4651,7 @@ class LocalRelativeSidValueBlock extends HexBlock(LocalBaseBlock) {
4489
4651
  toString() {
4490
4652
  let result = "";
4491
4653
  if (this.isHexOnly)
4492
- result = download.build.Convert.ToHex(this.valueHexView);
4654
+ result = download$1.build.Convert.ToHex(this.valueHexView);
4493
4655
  else {
4494
4656
  result = this.valueDec.toString();
4495
4657
  }
@@ -4671,7 +4833,7 @@ class LocalSimpleStringBlock extends BaseStringBlock {
4671
4833
  super(parameters, LocalSimpleStringValueBlock);
4672
4834
  }
4673
4835
  fromBuffer(inputBuffer) {
4674
- this.valueBlock.value = String.fromCharCode.apply(null, download.build.BufferSourceConverter.toUint8Array(inputBuffer));
4836
+ this.valueBlock.value = String.fromCharCode.apply(null, download$1.build.BufferSourceConverter.toUint8Array(inputBuffer));
4675
4837
  }
4676
4838
  fromString(inputString) {
4677
4839
  const strLen = inputString.length;
@@ -4685,17 +4847,17 @@ LocalSimpleStringBlock.NAME = "SIMPLE STRING";
4685
4847
 
4686
4848
  class LocalUtf8StringValueBlock extends LocalSimpleStringBlock {
4687
4849
  fromBuffer(inputBuffer) {
4688
- this.valueBlock.valueHexView = download.build.BufferSourceConverter.toUint8Array(inputBuffer);
4850
+ this.valueBlock.valueHexView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
4689
4851
  try {
4690
- this.valueBlock.value = download.build.Convert.ToUtf8String(inputBuffer);
4852
+ this.valueBlock.value = download$1.build.Convert.ToUtf8String(inputBuffer);
4691
4853
  }
4692
4854
  catch (ex) {
4693
4855
  this.warnings.push(`Error during "decodeURIComponent": ${ex}, using raw string`);
4694
- this.valueBlock.value = download.build.Convert.ToBinary(inputBuffer);
4856
+ this.valueBlock.value = download$1.build.Convert.ToBinary(inputBuffer);
4695
4857
  }
4696
4858
  }
4697
4859
  fromString(inputString) {
4698
- this.valueBlock.valueHexView = new Uint8Array(download.build.Convert.FromUtf8String(inputString));
4860
+ this.valueBlock.valueHexView = new Uint8Array(download$1.build.Convert.FromUtf8String(inputString));
4699
4861
  this.valueBlock.value = inputString;
4700
4862
  }
4701
4863
  }
@@ -4717,12 +4879,12 @@ Utf8String.NAME = "UTF8String";
4717
4879
 
4718
4880
  class LocalBmpStringValueBlock extends LocalSimpleStringBlock {
4719
4881
  fromBuffer(inputBuffer) {
4720
- this.valueBlock.value = download.build.Convert.ToUtf16String(inputBuffer);
4721
- this.valueBlock.valueHexView = download.build.BufferSourceConverter.toUint8Array(inputBuffer);
4882
+ this.valueBlock.value = download$1.build.Convert.ToUtf16String(inputBuffer);
4883
+ this.valueBlock.valueHexView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer);
4722
4884
  }
4723
4885
  fromString(inputString) {
4724
4886
  this.valueBlock.value = inputString;
4725
- this.valueBlock.valueHexView = new Uint8Array(download.build.Convert.FromUtf16String(inputString));
4887
+ this.valueBlock.valueHexView = new Uint8Array(download$1.build.Convert.FromUtf16String(inputString));
4726
4888
  }
4727
4889
  }
4728
4890
  LocalBmpStringValueBlock.NAME = "BmpStringValueBlock";
@@ -4934,7 +5096,7 @@ class UTCTime extends VisibleString {
4934
5096
  this.idBlock.tagNumber = 23;
4935
5097
  }
4936
5098
  fromBuffer(inputBuffer) {
4937
- this.fromString(String.fromCharCode.apply(null, download.build.BufferSourceConverter.toUint8Array(inputBuffer)));
5099
+ this.fromString(String.fromCharCode.apply(null, download$1.build.BufferSourceConverter.toUint8Array(inputBuffer)));
4938
5100
  }
4939
5101
  toBuffer() {
4940
5102
  const str = this.toString();
@@ -5284,17 +5446,17 @@ class Repeated extends Any {
5284
5446
 
5285
5447
  class RawData {
5286
5448
  constructor({ data = EMPTY_VIEW } = {}) {
5287
- this.dataView = download.build.BufferSourceConverter.toUint8Array(data);
5449
+ this.dataView = download$1.build.BufferSourceConverter.toUint8Array(data);
5288
5450
  }
5289
5451
  get data() {
5290
5452
  return this.dataView.slice().buffer;
5291
5453
  }
5292
5454
  set data(value) {
5293
- this.dataView = download.build.BufferSourceConverter.toUint8Array(value);
5455
+ this.dataView = download$1.build.BufferSourceConverter.toUint8Array(value);
5294
5456
  }
5295
5457
  fromBER(inputBuffer, inputOffset, inputLength) {
5296
5458
  const endLength = inputOffset + inputLength;
5297
- this.dataView = download.build.BufferSourceConverter.toUint8Array(inputBuffer).subarray(inputOffset, endLength);
5459
+ this.dataView = download$1.build.BufferSourceConverter.toUint8Array(inputBuffer).subarray(inputOffset, endLength);
5298
5460
  return endLength;
5299
5461
  }
5300
5462
  toBER(sizeOnly) {
@@ -5613,7 +5775,7 @@ function verifySchema(inputBuffer, inputSchema) {
5613
5775
  result: { error: "Wrong ASN.1 schema type" }
5614
5776
  };
5615
5777
  }
5616
- const asn1 = localFromBER(download.build.BufferSourceConverter.toUint8Array(inputBuffer));
5778
+ const asn1 = localFromBER(download$1.build.BufferSourceConverter.toUint8Array(inputBuffer));
5617
5779
  if (asn1.offset === -1) {
5618
5780
  return {
5619
5781
  verified: false,
@@ -5716,9 +5878,9 @@ class BitString {
5716
5878
  if (typeof params === "number") {
5717
5879
  this.fromNumber(params);
5718
5880
  }
5719
- else if (download.build.BufferSourceConverter.isBufferSource(params)) {
5881
+ else if (download$1.build.BufferSourceConverter.isBufferSource(params)) {
5720
5882
  this.unusedBits = unusedBits;
5721
- this.value = download.build.BufferSourceConverter.toArrayBuffer(params);
5883
+ this.value = download$1.build.BufferSourceConverter.toArrayBuffer(params);
5722
5884
  }
5723
5885
  else {
5724
5886
  throw TypeError("Unsupported type of 'params' argument for BitString");
@@ -5772,8 +5934,8 @@ class OctetString {
5772
5934
  this.buffer = new ArrayBuffer(param);
5773
5935
  }
5774
5936
  else {
5775
- if (download.build.BufferSourceConverter.isBufferSource(param)) {
5776
- this.buffer = download.build.BufferSourceConverter.toArrayBuffer(param);
5937
+ if (download$1.build.BufferSourceConverter.isBufferSource(param)) {
5938
+ this.buffer = download$1.build.BufferSourceConverter.toArrayBuffer(param);
5777
5939
  }
5778
5940
  else if (Array.isArray(param)) {
5779
5941
  this.buffer = new Uint8Array(param);
@@ -6475,8 +6637,8 @@ class AsnConvert {
6475
6637
  return AsnParser.parse(data, target);
6476
6638
  }
6477
6639
  static toString(data) {
6478
- const buf = download.build.BufferSourceConverter.isBufferSource(data)
6479
- ? download.build.BufferSourceConverter.toArrayBuffer(data)
6640
+ const buf = download$1.build.BufferSourceConverter.isBufferSource(data)
6641
+ ? download$1.build.BufferSourceConverter.toArrayBuffer(data)
6480
6642
  : AsnConvert.serialize(data);
6481
6643
  const asn = fromBER(buf);
6482
6644
  if (asn.offset === -1) {
@@ -6508,7 +6670,7 @@ function __decorate(decorators, target, key, desc) {
6508
6670
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6509
6671
  }
6510
6672
 
6511
- var ipaddr = download.createCommonjsModule(function (module) {
6673
+ var ipaddr = download$1.createCommonjsModule(function (module) {
6512
6674
  (function (root) {
6513
6675
  // A list of regular expressions that match arbitrary IPv4 addresses,
6514
6676
  // for which a number of weird notations exist.
@@ -7503,7 +7665,7 @@ var ipaddr = download.createCommonjsModule(function (module) {
7503
7665
  root.ipaddr = ipaddr;
7504
7666
  }
7505
7667
 
7506
- }(download.commonjsGlobal));
7668
+ }(download$1.commonjsGlobal));
7507
7669
  });
7508
7670
 
7509
7671
  class IpConverter {
@@ -7529,7 +7691,7 @@ class IpConverter {
7529
7691
  const addr = ipaddr.fromByteArray(Array.from(uint8));
7530
7692
  return addr.toString();
7531
7693
  }
7532
- return this.decodeIP(download.build.Convert.ToHex(buf));
7694
+ return this.decodeIP(download$1.build.Convert.ToHex(buf));
7533
7695
  }
7534
7696
  static fromString(text) {
7535
7697
  const addr = ipaddr.parse(text);
@@ -7571,7 +7733,7 @@ let AttributeValue = class AttributeValue extends DirectoryString {
7571
7733
  Object.assign(this, params);
7572
7734
  }
7573
7735
  toString() {
7574
- return this.ia5String || (this.anyValue ? download.build.Convert.ToHex(this.anyValue) : super.toString());
7736
+ return this.ia5String || (this.anyValue ? download$1.build.Convert.ToHex(this.anyValue) : super.toString());
7575
7737
  }
7576
7738
  };
7577
7739
  __decorate([
@@ -8365,7 +8527,7 @@ class AlgorithmIdentifier {
8365
8527
  return data instanceof AlgorithmIdentifier
8366
8528
  && data.algorithm == this.algorithm
8367
8529
  && ((data.parameters && this.parameters
8368
- && download.build.isEqual(data.parameters, this.parameters))
8530
+ && download$1.build.isEqual(data.parameters, this.parameters))
8369
8531
  ||
8370
8532
  (data.parameters === this.parameters));
8371
8533
  }
@@ -9072,7 +9234,7 @@ var _Name_asn;
9072
9234
  class Name {
9073
9235
  constructor(data) {
9074
9236
  _Name_asn.set(this, new exports.Name$1());
9075
- if (download.build.BufferSourceConverter.isBufferSource(data)) {
9237
+ if (download$1.build.BufferSourceConverter.isBufferSource(data)) {
9076
9238
  __classPrivateFieldSet$1(this, _Name_asn, AsnParser.parse(data, exports.Name$1), "f");
9077
9239
  }
9078
9240
  else {
@@ -9280,8 +9442,8 @@ exports.CaVersion = class CaVersion {
9280
9442
  data.set(new Uint8Array(this.value), 4 - this.value.byteLength);
9281
9443
  }
9282
9444
  return {
9283
- keyIndex: parseInt(download.build.Convert.ToHex(data.slice(0, 2)), 16),
9284
- certificateIndex: parseInt(download.build.Convert.ToHex(data.slice(2)), 16),
9445
+ keyIndex: parseInt(download$1.build.Convert.ToHex(data.slice(0, 2)), 16),
9446
+ certificateIndex: parseInt(download$1.build.Convert.ToHex(data.slice(2)), 16),
9285
9447
  };
9286
9448
  }
9287
9449
  };
@@ -9699,7 +9861,7 @@ exports.LeiRole = __decorate([
9699
9861
  class ByteStream {
9700
9862
  constructor(bytes) {
9701
9863
  this.offset = 0;
9702
- this.view = download.build.BufferSourceConverter.toUint8Array(bytes);
9864
+ this.view = download$1.build.BufferSourceConverter.toUint8Array(bytes);
9703
9865
  }
9704
9866
  get position() {
9705
9867
  return this.offset;
@@ -9718,7 +9880,7 @@ class ByteStream {
9718
9880
  }
9719
9881
  readNumber(size) {
9720
9882
  const bytes = this.read(size);
9721
- const hex = download.build.Convert.ToHex(bytes);
9883
+ const hex = download$1.build.Convert.ToHex(bytes);
9722
9884
  return parseInt(hex, 16);
9723
9885
  }
9724
9886
  readEnd() {
@@ -9731,7 +9893,7 @@ class ByteStream {
9731
9893
 
9732
9894
  class Structure {
9733
9895
  static createStream(bytes) {
9734
- const view = download.build.BufferSourceConverter.toUint8Array(bytes);
9896
+ const view = download$1.build.BufferSourceConverter.toUint8Array(bytes);
9735
9897
  return new ByteStream(view);
9736
9898
  }
9737
9899
  }
@@ -9775,7 +9937,7 @@ class SignedCertificateTimestamp extends Structure {
9775
9937
  parse(stream) {
9776
9938
  this.version = stream.readByte();
9777
9939
  stream.read(2);
9778
- this.logId = download.build.BufferSourceConverter.toArrayBuffer(stream.read(32));
9940
+ this.logId = download$1.build.BufferSourceConverter.toArrayBuffer(stream.read(32));
9779
9941
  this.timestamp = new Date(stream.readNumber(8));
9780
9942
  const extLen = stream.readNumber(2);
9781
9943
  this.extensions = stream.read(extLen).buffer;
@@ -9786,12 +9948,12 @@ class SignedCertificateTimestamp extends Structure {
9786
9948
  toJSON() {
9787
9949
  return {
9788
9950
  version: this.version,
9789
- logId: download.build.Convert.ToHex(this.logId),
9951
+ logId: download$1.build.Convert.ToHex(this.logId),
9790
9952
  timestamp: this.timestamp,
9791
- extensions: download.build.Convert.ToBase64(this.extensions),
9953
+ extensions: download$1.build.Convert.ToBase64(this.extensions),
9792
9954
  hashAlgorithm: HashAlgorithm[this.hashAlgorithm] || "undefined",
9793
9955
  signatureAlgorithm: SignatureAlgorithm[this.signatureAlgorithm] || "undefined",
9794
- signature: download.build.Convert.ToBase64(this.signature),
9956
+ signature: download$1.build.Convert.ToBase64(this.signature),
9795
9957
  };
9796
9958
  }
9797
9959
  }
@@ -10213,7 +10375,7 @@ class AsnData {
10213
10375
  else {
10214
10376
  // raw, type
10215
10377
  __classPrivateFieldSet(this, _AsnData_asn, AsnConvert.parse(args[0], args[1]), "f");
10216
- __classPrivateFieldSet(this, _AsnData_raw, download.build.BufferSourceConverter.toArrayBuffer(args[0]), "f");
10378
+ __classPrivateFieldSet(this, _AsnData_raw, download$1.build.BufferSourceConverter.toArrayBuffer(args[0]), "f");
10217
10379
  }
10218
10380
  }
10219
10381
  get asn() {
@@ -10233,6 +10395,9 @@ _AsnData_asn = new WeakMap(), _AsnData_raw = new WeakMap();
10233
10395
  * LICENSE file in the root directory of this source tree.
10234
10396
  */
10235
10397
  class Extension extends AsnData {
10398
+ getAsnExtnValue() {
10399
+ return this.asn.extnValue.buffer;
10400
+ }
10236
10401
  constructor(raw) {
10237
10402
  super(raw, Extension$1);
10238
10403
  const asnExtnValue = this.getAsnExtnValue();
@@ -10356,17 +10521,14 @@ class Extension extends AsnData {
10356
10521
  break;
10357
10522
  default:
10358
10523
  console.warn(`Didn't detect parser for "${this.asn.extnID}" extension.`);
10359
- this.value = download.build.Convert.ToHex(asnExtnValue);
10524
+ this.value = download$1.build.Convert.ToHex(asnExtnValue);
10360
10525
  }
10361
10526
  }
10362
10527
  catch (error) {
10363
10528
  console.error(`Error parse "${this.asn.extnID}" extension:`, error.message);
10364
- this.value = download.build.Convert.ToHex(asnExtnValue);
10529
+ this.value = download$1.build.Convert.ToHex(asnExtnValue);
10365
10530
  }
10366
10531
  }
10367
- getAsnExtnValue() {
10368
- return this.asn.extnValue.buffer;
10369
- }
10370
10532
  }
10371
10533
 
10372
10534
  /**
@@ -10377,6 +10539,9 @@ class Extension extends AsnData {
10377
10539
  * LICENSE file in the root directory of this source tree.
10378
10540
  */
10379
10541
  class CryptoProvider {
10542
+ static isCryptoKeyPair(data) {
10543
+ return data && data.privateKey && data.publicKey;
10544
+ }
10380
10545
  constructor() {
10381
10546
  this.providers = new Map();
10382
10547
  // @ts-ignore
@@ -10385,9 +10550,6 @@ class CryptoProvider {
10385
10550
  this.set(CryptoProvider.DEFAULT, crypto);
10386
10551
  }
10387
10552
  }
10388
- static isCryptoKeyPair(data) {
10389
- return data && data.privateKey && data.publicKey;
10390
- }
10391
10553
  get(key = CryptoProvider.DEFAULT) {
10392
10554
  const crypto = this.providers.get(key.toLowerCase());
10393
10555
  if (!crypto) {
@@ -10426,13 +10588,13 @@ const certificateRawToBuffer = (raw) => {
10426
10588
  const rawClarified = base64Clarify(raw);
10427
10589
  let buffer;
10428
10590
  if (isHex(rawClarified)) {
10429
- buffer = download.build.Convert.FromHex(rawClarified);
10591
+ buffer = download$1.build.Convert.FromHex(rawClarified);
10430
10592
  }
10431
10593
  else if (isBase64(rawClarified) || isPem(rawClarified)) {
10432
- buffer = download.build.Convert.FromBase64(rawClarified);
10594
+ buffer = download$1.build.Convert.FromBase64(rawClarified);
10433
10595
  }
10434
10596
  else {
10435
- buffer = download.build.Convert.FromBinary(raw);
10597
+ buffer = download$1.build.Convert.FromBinary(raw);
10436
10598
  }
10437
10599
  return buffer;
10438
10600
  };
@@ -12065,6 +12227,8 @@ exports.UserNotice = UserNotice;
12065
12227
  exports.__decorate = __decorate;
12066
12228
  exports.base64Format = base64Format;
12067
12229
  exports.certificateRawToBuffer = certificateRawToBuffer;
12230
+ exports.dateDiff = dateDiff;
12231
+ exports.dateShort = dateShort;
12068
12232
  exports.getCertificateThumbprint = getCertificateThumbprint;
12069
12233
  exports.hexFormat = hexFormat;
12070
12234
  exports.id_ActivityDescription = id_ActivityDescription;
@@ -12089,3 +12253,6 @@ exports.isPkcs10Pem = isPkcs10Pem;
12089
12253
  exports.isX509AttributePem = isX509AttributePem;
12090
12254
  exports.isX509CRLPem = isX509CRLPem;
12091
12255
  exports.isX509Pem = isX509Pem;
12256
+ exports.l10n = l10n;
12257
+
12258
+ //# sourceMappingURL=certification_request-c0cafa72.js.map