@peculiar/certificates-viewer 4.2.0 → 4.2.2

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 (707) hide show
  1. package/components/actions.js +3 -3
  2. package/components/actions.js.map +1 -1
  3. package/components/arrow_top.js +6 -6
  4. package/components/arrow_top.js.map +1 -1
  5. package/components/attribute-certificate-viewer.js +227 -222
  6. package/components/attribute-certificate-viewer.js.map +1 -1
  7. package/components/attribute.js +53 -0
  8. package/components/attribute.js.map +1 -0
  9. package/components/button-menu.js +36 -35
  10. package/components/button-menu.js.map +1 -1
  11. package/components/button.js +42 -42
  12. package/components/button.js.map +1 -1
  13. package/components/certificate-viewer.js +254 -251
  14. package/components/certificate-viewer.js.map +1 -1
  15. package/components/circular-progress.js +34 -33
  16. package/components/circular-progress.js.map +1 -1
  17. package/components/crl-viewer.js +219 -216
  18. package/components/crl-viewer.js.map +1 -1
  19. package/components/cross.js +9 -9
  20. package/components/cross.js.map +1 -1
  21. package/components/csr-viewer.js +117 -209
  22. package/components/csr-viewer.js.map +1 -1
  23. package/components/download.js +12578 -64
  24. package/components/download.js.map +1 -1
  25. package/components/highlight-words.js +45 -44
  26. package/components/highlight-words.js.map +1 -1
  27. package/components/index.js +2 -0
  28. package/components/index.js.map +1 -1
  29. package/components/index2.js +114 -169
  30. package/components/index2.js.map +1 -1
  31. package/components/issuer_name.js +8 -8
  32. package/components/issuer_name.js.map +1 -1
  33. package/components/miscellaneous.js +729 -13311
  34. package/components/miscellaneous.js.map +1 -1
  35. package/components/peculiar-attribute-certificate-viewer.d.ts +2 -2
  36. package/components/peculiar-button-menu.d.ts +2 -2
  37. package/components/peculiar-certificate-decoder.d.ts +2 -2
  38. package/components/peculiar-certificate-decoder.js +177 -207
  39. package/components/peculiar-certificate-decoder.js.map +1 -1
  40. package/components/peculiar-certificate-viewer.d.ts +2 -2
  41. package/components/peculiar-certificates-viewer.d.ts +2 -2
  42. package/components/peculiar-certificates-viewer.js +297 -297
  43. package/components/peculiar-certificates-viewer.js.map +1 -1
  44. package/components/peculiar-circular-progress.d.ts +2 -2
  45. package/components/peculiar-crl-viewer.d.ts +2 -2
  46. package/components/peculiar-crl-viewer.js +1 -1
  47. package/components/peculiar-csr-viewer.d.ts +2 -2
  48. package/components/peculiar-csr-viewer.js +1 -1
  49. package/components/peculiar-highlight-words.d.ts +2 -2
  50. package/components/peculiar-text-hider.d.ts +2 -2
  51. package/components/peculiar-text-hider.js +23 -22
  52. package/components/peculiar-text-hider.js.map +1 -1
  53. package/components/pkcs10_certificate_request.js +102 -0
  54. package/components/pkcs10_certificate_request.js.map +1 -0
  55. package/components/read_file.js +110 -0
  56. package/components/read_file.js.map +1 -0
  57. package/components/subject_name.js +36 -36
  58. package/components/subject_name.js.map +1 -1
  59. package/dist/cjs/actions-789906f5.js +23 -0
  60. package/dist/cjs/{actions-19013d4a.js.map → actions-789906f5.js.map} +1 -1
  61. package/dist/cjs/app-globals-c20ffa41.js +10 -0
  62. package/dist/cjs/app-globals-c20ffa41.js.map +1 -0
  63. package/dist/cjs/arrow_top-76e4261e.js +37 -0
  64. package/dist/cjs/{arrow_top-834fb7ec.js.map → arrow_top-76e4261e.js.map} +1 -1
  65. package/dist/cjs/button-87086210.js +77 -0
  66. package/dist/cjs/{button-14e2b73f.js.map → button-87086210.js.map} +1 -1
  67. package/dist/cjs/{certification_request-5672c667.js → certification_request-815ec558.js} +3284 -2888
  68. package/dist/cjs/certification_request-815ec558.js.map +1 -0
  69. package/dist/cjs/cross-bd099933.js +51 -0
  70. package/dist/cjs/{cross-9872c473.js.map → cross-bd099933.js.map} +1 -1
  71. package/dist/cjs/download-820d66ba.js +23 -0
  72. package/dist/cjs/{download-254ddc57.js.map → download-820d66ba.js.map} +1 -1
  73. package/dist/cjs/{index-efd561e9.js → index-e2ae280a.js} +398 -145
  74. package/dist/cjs/index-e2ae280a.js.map +1 -0
  75. package/dist/cjs/index.cjs.js +18 -11
  76. package/dist/cjs/index.cjs.js.map +1 -1
  77. package/dist/cjs/link-a3d3799d.js +25 -0
  78. package/dist/cjs/{link-6aea0be4.js.map → link-a3d3799d.js.map} +1 -1
  79. package/dist/cjs/loader.cjs.js +4 -2
  80. package/dist/cjs/loader.cjs.js.map +1 -1
  81. package/dist/cjs/miscellaneous-9a573276.js +1418 -0
  82. package/dist/cjs/miscellaneous-9a573276.js.map +1 -0
  83. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +481 -480
  84. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -1
  85. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +72 -69
  86. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -1
  87. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +142 -172
  88. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -1
  89. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +106 -106
  90. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
  91. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +257 -257
  92. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
  93. package/dist/cjs/peculiar-text-hider.cjs.entry.js +12 -11
  94. package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -1
  95. package/dist/cjs/peculiar.cjs.js +5 -3
  96. package/dist/cjs/peculiar.cjs.js.map +1 -1
  97. package/dist/cjs/pkcs10_certificate_request-0ebc0023.js +149 -0
  98. package/dist/cjs/pkcs10_certificate_request-0ebc0023.js.map +1 -0
  99. package/dist/cjs/read_file-2e22a97e.js +115 -0
  100. package/dist/cjs/read_file-2e22a97e.js.map +1 -0
  101. package/dist/cjs/x509_certificate-9914b149.js +161 -0
  102. package/dist/cjs/x509_certificate-9914b149.js.map +1 -0
  103. package/dist/cjs/x509_crl-86b6e71d.js +179 -0
  104. package/dist/cjs/x509_crl-86b6e71d.js.map +1 -0
  105. package/dist/collection/collection-manifest.json +2 -2
  106. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +259 -259
  107. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -1
  108. package/dist/collection/components/button/button.js +9 -9
  109. package/dist/collection/components/button/button.js.map +1 -1
  110. package/dist/collection/components/button-menu/button-menu.js +60 -60
  111. package/dist/collection/components/button-menu/button-menu.js.map +1 -1
  112. package/dist/collection/components/certificate-decoder/certificate-decoder.js +212 -212
  113. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
  114. package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js +4 -3
  115. package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js.map +1 -1
  116. package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js +2 -2
  117. package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js.map +1 -1
  118. package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js +6 -6
  119. package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js.map +1 -1
  120. package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js +2 -2
  121. package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js.map +1 -1
  122. package/dist/collection/components/certificate-details-parts/attributes/index.js +42 -42
  123. package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -1
  124. package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js +3 -3
  125. package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js.map +1 -1
  126. package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js +2 -2
  127. package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js.map +1 -1
  128. package/dist/collection/components/certificate-details-parts/attributes/name_part.js +5 -5
  129. package/dist/collection/components/certificate-details-parts/attributes/name_part.js.map +1 -1
  130. package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js +2 -2
  131. package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js.map +1 -1
  132. package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js +2 -2
  133. package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js.map +1 -1
  134. package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js +14 -14
  135. package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js.map +1 -1
  136. package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js +4 -3
  137. package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js.map +1 -1
  138. package/dist/collection/components/certificate-details-parts/basic_information.js +12 -12
  139. package/dist/collection/components/certificate-details-parts/basic_information.js.map +1 -1
  140. package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js +2 -2
  141. package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js.map +1 -1
  142. package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js +2 -2
  143. package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js.map +1 -1
  144. package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js +1 -1
  145. package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js.map +1 -1
  146. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js +8 -8
  147. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js.map +1 -1
  148. package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js +2 -2
  149. package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js.map +1 -1
  150. package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js +7 -7
  151. package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js.map +1 -1
  152. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js +5 -5
  153. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js.map +1 -1
  154. package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js +3 -3
  155. package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js.map +1 -1
  156. package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js +2 -2
  157. package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js.map +1 -1
  158. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js +23 -23
  159. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js.map +1 -1
  160. package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js +2 -2
  161. package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js.map +1 -1
  162. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js +5 -5
  163. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js.map +1 -1
  164. package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js +8 -8
  165. package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js.map +1 -1
  166. package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js +2 -2
  167. package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js.map +1 -1
  168. package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js +2 -2
  169. package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js.map +1 -1
  170. package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js +2 -2
  171. package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js.map +1 -1
  172. package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js +2 -2
  173. package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js.map +1 -1
  174. package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js +5 -5
  175. package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js.map +1 -1
  176. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js +52 -52
  177. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js.map +1 -1
  178. package/dist/collection/components/certificate-details-parts/extensions/index.js +121 -121
  179. package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -1
  180. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js +5 -5
  181. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js.map +1 -1
  182. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js +4 -4
  183. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js.map +1 -1
  184. package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js +58 -58
  185. package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js.map +1 -1
  186. package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js +2 -2
  187. package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js.map +1 -1
  188. package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js +2 -2
  189. package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js.map +1 -1
  190. package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js +2 -2
  191. package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js.map +1 -1
  192. package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js +42 -42
  193. package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js.map +1 -1
  194. package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js +5 -5
  195. package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js.map +1 -1
  196. package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js +2 -2
  197. package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js.map +1 -1
  198. package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js +2 -2
  199. package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js.map +1 -1
  200. package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js +2 -2
  201. package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js.map +1 -1
  202. package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js +6 -7
  203. package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js.map +1 -1
  204. package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js +2 -2
  205. package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js.map +1 -1
  206. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js +29 -29
  207. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js.map +1 -1
  208. package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js +2 -2
  209. package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js.map +1 -1
  210. package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js +5 -5
  211. package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js.map +1 -1
  212. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js +8 -8
  213. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js.map +1 -1
  214. package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js +2 -2
  215. package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js.map +1 -1
  216. package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js +6 -8
  217. package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js.map +1 -1
  218. package/dist/collection/components/certificate-details-parts/holder.js +19 -21
  219. package/dist/collection/components/certificate-details-parts/holder.js.map +1 -1
  220. package/dist/collection/components/certificate-details-parts/issuer.js +8 -8
  221. package/dist/collection/components/certificate-details-parts/issuer.js.map +1 -1
  222. package/dist/collection/components/certificate-details-parts/issuer_name.js +6 -6
  223. package/dist/collection/components/certificate-details-parts/issuer_name.js.map +1 -1
  224. package/dist/collection/components/certificate-details-parts/miscellaneous.js +6 -6
  225. package/dist/collection/components/certificate-details-parts/miscellaneous.js.map +1 -1
  226. package/dist/collection/components/certificate-details-parts/public_key.js +29 -29
  227. package/dist/collection/components/certificate-details-parts/public_key.js.map +1 -1
  228. package/dist/collection/components/certificate-details-parts/revoked_certificates.js +30 -30
  229. package/dist/collection/components/certificate-details-parts/revoked_certificates.js.map +1 -1
  230. package/dist/collection/components/certificate-details-parts/row.js +26 -26
  231. package/dist/collection/components/certificate-details-parts/row.js.map +1 -1
  232. package/dist/collection/components/certificate-details-parts/signature.js +13 -13
  233. package/dist/collection/components/certificate-details-parts/signature.js.map +1 -1
  234. package/dist/collection/components/certificate-details-parts/subject_name.js +5 -5
  235. package/dist/collection/components/certificate-details-parts/subject_name.js.map +1 -1
  236. package/dist/collection/components/certificate-details-parts/thumbprints.js +12 -12
  237. package/dist/collection/components/certificate-details-parts/thumbprints.js.map +1 -1
  238. package/dist/collection/components/certificate-summary/certificate-summary.js +3 -3
  239. package/dist/collection/components/certificate-summary/certificate-summary.js.map +1 -1
  240. package/dist/collection/components/certificate-viewer/certificate-viewer.js +278 -278
  241. package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -1
  242. package/dist/collection/components/certificates-viewer/certificates-viewer.js +374 -374
  243. package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
  244. package/dist/collection/components/circular-progress/circular-progress.js +67 -67
  245. package/dist/collection/components/circular-progress/circular-progress.js.map +1 -1
  246. package/dist/collection/components/crl-viewer/crl-viewer.js +230 -230
  247. package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -1
  248. package/dist/collection/components/csr-viewer/csr-viewer.js +212 -220
  249. package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -1
  250. package/dist/collection/components/highlight-words/highlight-words.js +60 -60
  251. package/dist/collection/components/highlight-words/highlight-words.js.map +1 -1
  252. package/dist/collection/components/icons/actions.js +2 -2
  253. package/dist/collection/components/icons/actions.js.map +1 -1
  254. package/dist/collection/components/icons/arrow_bottom.js +2 -2
  255. package/dist/collection/components/icons/arrow_bottom.js.map +1 -1
  256. package/dist/collection/components/icons/arrow_top.js +2 -2
  257. package/dist/collection/components/icons/arrow_top.js.map +1 -1
  258. package/dist/collection/components/icons/cross.js +2 -2
  259. package/dist/collection/components/icons/cross.js.map +1 -1
  260. package/dist/collection/components/icons/details.js +2 -2
  261. package/dist/collection/components/icons/details.js.map +1 -1
  262. package/dist/collection/components/icons/download.js +2 -2
  263. package/dist/collection/components/icons/download.js.map +1 -1
  264. package/dist/collection/components/icons/link.js +2 -2
  265. package/dist/collection/components/icons/link.js.map +1 -1
  266. package/dist/collection/components/link/link.js +4 -4
  267. package/dist/collection/components/link/link.js.map +1 -1
  268. package/dist/collection/components/text-hider/text-hider.js +23 -23
  269. package/dist/collection/components/text-hider/text-hider.js.map +1 -1
  270. package/dist/collection/components/typography/typography.js +32 -32
  271. package/dist/collection/components/typography/typography.js.map +1 -1
  272. package/dist/collection/constants/logs.js +77 -77
  273. package/dist/collection/constants/logs.js.map +1 -1
  274. package/dist/collection/constants/oids.js +2334 -2334
  275. package/dist/collection/constants/oids.js.map +1 -1
  276. package/dist/collection/crypto/asn_data.js +31 -31
  277. package/dist/collection/crypto/asn_data.js.map +1 -1
  278. package/dist/collection/crypto/attribute.js +35 -51
  279. package/dist/collection/crypto/attribute.js.map +1 -1
  280. package/dist/collection/crypto/extension.js +63 -138
  281. package/dist/collection/crypto/extension.js.map +1 -1
  282. package/dist/collection/crypto/extensions/cabforganization_identifier.js +20 -15
  283. package/dist/collection/crypto/extensions/cabforganization_identifier.js.map +1 -1
  284. package/dist/collection/crypto/index.js +2 -2
  285. package/dist/collection/crypto/index.js.map +1 -1
  286. package/dist/collection/crypto/name.js +31 -31
  287. package/dist/collection/crypto/name.js.map +1 -1
  288. package/dist/collection/crypto/pkcs10_certificate_request.js +108 -0
  289. package/dist/collection/crypto/pkcs10_certificate_request.js.map +1 -0
  290. package/dist/collection/crypto/provider.js +26 -26
  291. package/dist/collection/crypto/provider.js.map +1 -1
  292. package/dist/collection/crypto/utils.js +23 -23
  293. package/dist/collection/crypto/utils.js.map +1 -1
  294. package/dist/collection/crypto/x509_attribute_certificate.js +68 -66
  295. package/dist/collection/crypto/x509_attribute_certificate.js.map +1 -1
  296. package/dist/collection/crypto/x509_certificate.js +127 -125
  297. package/dist/collection/crypto/x509_certificate.js.map +1 -1
  298. package/dist/collection/crypto/x509_crl.js +94 -0
  299. package/dist/collection/crypto/x509_crl.js.map +1 -0
  300. package/dist/collection/index.js +2 -0
  301. package/dist/collection/index.js.map +1 -1
  302. package/dist/collection/utils/camel_case_to_words.js +2 -2
  303. package/dist/collection/utils/camel_case_to_words.js.map +1 -1
  304. package/dist/collection/utils/date_formatter.js +6 -6
  305. package/dist/collection/utils/date_formatter.js.map +1 -1
  306. package/dist/collection/utils/download.js +24 -24
  307. package/dist/collection/utils/download.js.map +1 -1
  308. package/dist/collection/utils/download_from_buffer.js +25 -25
  309. package/dist/collection/utils/download_from_buffer.js.map +1 -1
  310. package/dist/collection/utils/get_string_by_oid.js +5 -5
  311. package/dist/collection/utils/get_string_by_oid.js.map +1 -1
  312. package/dist/collection/utils/is_link.js +1 -1
  313. package/dist/collection/utils/is_link.js.map +1 -1
  314. package/dist/collection/utils/l10n.js +25 -25
  315. package/dist/collection/utils/l10n.js.map +1 -1
  316. package/dist/collection/utils/read_file.js +40 -40
  317. package/dist/collection/utils/read_file.js.map +1 -1
  318. package/dist/collection/utils/validator.js +13 -13
  319. package/dist/collection/utils/validator.js.map +1 -1
  320. package/dist/esm/actions-aebcbc9d.js +21 -0
  321. package/dist/esm/{actions-8d745b2a.js.map → actions-aebcbc9d.js.map} +1 -1
  322. package/dist/esm/app-globals-5e9b67e0.js +8 -0
  323. package/dist/esm/app-globals-5e9b67e0.js.map +1 -0
  324. package/dist/esm/arrow_top-aee1ee02.js +34 -0
  325. package/dist/esm/{arrow_top-fc298828.js.map → arrow_top-aee1ee02.js.map} +1 -1
  326. package/dist/esm/button-a2fabf9a.js +74 -0
  327. package/dist/esm/{button-35146bdd.js.map → button-a2fabf9a.js.map} +1 -1
  328. package/dist/esm/{certification_request-d5ea5973.js → certification_request-08b4deb8.js} +3227 -2835
  329. package/dist/esm/certification_request-08b4deb8.js.map +1 -0
  330. package/dist/esm/cross-1377606f.js +47 -0
  331. package/dist/esm/{cross-9ec9a759.js.map → cross-1377606f.js.map} +1 -1
  332. package/dist/esm/download-14dc1047.js +21 -0
  333. package/dist/esm/{download-0cc3077a.js.map → download-14dc1047.js.map} +1 -1
  334. package/dist/esm/{index-4079bbb5.js → index-ae188432.js} +398 -145
  335. package/dist/esm/index-ae188432.js.map +1 -0
  336. package/dist/esm/index.js +10 -8
  337. package/dist/esm/index.js.map +1 -1
  338. package/dist/esm/link-7e4e9060.js +23 -0
  339. package/dist/esm/{link-ad24c3be.js.map → link-7e4e9060.js.map} +1 -1
  340. package/dist/esm/loader.js +5 -3
  341. package/dist/esm/loader.js.map +1 -1
  342. package/dist/esm/miscellaneous-d4bbc6f2.js +1400 -0
  343. package/dist/esm/miscellaneous-d4bbc6f2.js.map +1 -0
  344. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +481 -480
  345. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
  346. package/dist/esm/peculiar-button-menu_3.entry.js +72 -69
  347. package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -1
  348. package/dist/esm/peculiar-certificate-decoder.entry.js +142 -172
  349. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
  350. package/dist/esm/peculiar-certificate-viewer.entry.js +106 -106
  351. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
  352. package/dist/esm/peculiar-certificates-viewer.entry.js +257 -257
  353. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
  354. package/dist/esm/peculiar-text-hider.entry.js +12 -11
  355. package/dist/esm/peculiar-text-hider.entry.js.map +1 -1
  356. package/dist/esm/peculiar.js +6 -4
  357. package/dist/esm/peculiar.js.map +1 -1
  358. package/dist/esm/pkcs10_certificate_request-3763c2af.js +146 -0
  359. package/dist/esm/pkcs10_certificate_request-3763c2af.js.map +1 -0
  360. package/dist/esm/read_file-bb0b1450.js +110 -0
  361. package/dist/esm/read_file-bb0b1450.js.map +1 -0
  362. package/dist/esm/x509_certificate-47b4c5ee.js +159 -0
  363. package/dist/esm/x509_certificate-47b4c5ee.js.map +1 -0
  364. package/dist/esm/x509_crl-ba76d3ed.js +176 -0
  365. package/dist/esm/x509_crl-ba76d3ed.js.map +1 -0
  366. package/dist/esm-es5/{actions-8d745b2a.js → actions-aebcbc9d.js} +2 -2
  367. package/dist/esm-es5/app-globals-5e9b67e0.js +5 -0
  368. package/dist/esm-es5/app-globals-5e9b67e0.js.map +1 -0
  369. package/dist/esm-es5/{arrow_top-fc298828.js → arrow_top-aee1ee02.js} +2 -2
  370. package/dist/esm-es5/button-a2fabf9a.js +19 -0
  371. package/dist/esm-es5/{certification_request-d5ea5973.js → certification_request-08b4deb8.js} +60 -22
  372. package/dist/esm-es5/certification_request-08b4deb8.js.map +1 -0
  373. package/dist/esm-es5/{cross-9ec9a759.js → cross-1377606f.js} +2 -2
  374. package/dist/esm-es5/{download-0cc3077a.js → download-14dc1047.js} +2 -2
  375. package/dist/esm-es5/index-ae188432.js +6 -0
  376. package/dist/esm-es5/index-ae188432.js.map +1 -0
  377. package/dist/esm-es5/index.js +1 -1
  378. package/dist/esm-es5/{link-ad24c3be.js → link-7e4e9060.js} +3 -3
  379. package/dist/esm-es5/loader.js +2 -2
  380. package/dist/esm-es5/loader.js.map +1 -1
  381. package/dist/esm-es5/{miscellaneous-cdfd8905.js → miscellaneous-d4bbc6f2.js} +51 -51
  382. package/dist/esm-es5/miscellaneous-d4bbc6f2.js.map +1 -0
  383. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +17 -17
  384. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
  385. package/dist/esm-es5/peculiar-button-menu_3.entry.js +1 -1
  386. package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -1
  387. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +2 -9
  388. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
  389. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +2 -2
  390. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
  391. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +3 -3
  392. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
  393. package/dist/esm-es5/peculiar-text-hider.entry.js +1 -1
  394. package/dist/esm-es5/peculiar-text-hider.entry.js.map +1 -1
  395. package/dist/esm-es5/peculiar.js +2 -2
  396. package/dist/esm-es5/peculiar.js.map +1 -1
  397. package/dist/esm-es5/pkcs10_certificate_request-3763c2af.js +19 -0
  398. package/dist/esm-es5/pkcs10_certificate_request-3763c2af.js.map +1 -0
  399. package/dist/esm-es5/read_file-bb0b1450.js +12 -0
  400. package/dist/esm-es5/read_file-bb0b1450.js.map +1 -0
  401. package/dist/esm-es5/x509_certificate-47b4c5ee.js +12 -0
  402. package/dist/esm-es5/x509_certificate-47b4c5ee.js.map +1 -0
  403. package/dist/esm-es5/x509_crl-ba76d3ed.js +19 -0
  404. package/dist/esm-es5/x509_crl-ba76d3ed.js.map +1 -0
  405. package/dist/peculiar/index.esm.js +1 -1
  406. package/dist/peculiar/{p-a67b8793.system.entry.js → p-0f3787cf.system.entry.js} +10 -10
  407. package/dist/peculiar/p-0f3787cf.system.entry.js.map +1 -0
  408. package/dist/peculiar/p-1818204e.system.js +13 -0
  409. package/dist/peculiar/p-1818204e.system.js.map +1 -0
  410. package/dist/peculiar/p-243244af.system.js +13 -0
  411. package/dist/peculiar/p-25a532a3.js +12 -0
  412. package/dist/peculiar/p-25a532a3.js.map +1 -0
  413. package/dist/peculiar/{p-0fc2e2b4.js → p-27ca6743.js} +2 -2
  414. package/dist/peculiar/p-28b4d316.system.js +5 -0
  415. package/dist/peculiar/p-30e18f2d.system.js +20 -0
  416. package/dist/peculiar/p-30e18f2d.system.js.map +1 -0
  417. package/dist/peculiar/p-31d5da39.js +12 -0
  418. package/dist/peculiar/p-31d5da39.js.map +1 -0
  419. package/dist/peculiar/p-364df80d.system.entry.js +111 -0
  420. package/dist/peculiar/p-364df80d.system.entry.js.map +1 -0
  421. package/dist/peculiar/p-3cb79cd9.js +6 -0
  422. package/dist/peculiar/p-3cb79cd9.js.map +1 -0
  423. package/dist/peculiar/p-4bc5ddbe.js +19 -0
  424. package/dist/peculiar/p-4ee5140c.system.js +19 -0
  425. package/dist/peculiar/p-4ee5140c.system.js.map +1 -0
  426. package/dist/peculiar/p-55303453.system.js +12 -0
  427. package/dist/peculiar/p-55303453.system.js.map +1 -0
  428. package/dist/peculiar/p-5a662d6f.system.js +13 -0
  429. package/dist/peculiar/p-6acca6ea.js +135 -0
  430. package/dist/peculiar/p-6acca6ea.js.map +1 -0
  431. package/dist/peculiar/p-713563fb.entry.js +5 -0
  432. package/dist/peculiar/p-713563fb.entry.js.map +1 -0
  433. package/dist/peculiar/p-78a6b479.js +19 -0
  434. package/dist/peculiar/p-78a6b479.js.map +1 -0
  435. package/dist/peculiar/p-82005297.system.entry.js +5 -0
  436. package/dist/peculiar/p-82005297.system.entry.js.map +1 -0
  437. package/dist/peculiar/p-821bdcdc.system.js +6 -0
  438. package/dist/peculiar/p-821bdcdc.system.js.map +1 -0
  439. package/dist/peculiar/p-82e4faf0.js +19 -0
  440. package/dist/peculiar/p-82e4faf0.js.map +1 -0
  441. package/dist/peculiar/p-8393399a.system.js +5 -0
  442. package/dist/peculiar/p-8393399a.system.js.map +1 -0
  443. package/dist/peculiar/p-84e3e94a.entry.js +110 -0
  444. package/dist/peculiar/p-84e3e94a.entry.js.map +1 -0
  445. package/dist/peculiar/p-8bbee8f4.system.js +13 -0
  446. package/dist/peculiar/p-8db3e1fd.system.entry.js +5 -0
  447. package/dist/peculiar/p-8db3e1fd.system.entry.js.map +1 -0
  448. package/dist/peculiar/p-9712b827.system.js +20 -0
  449. package/dist/peculiar/{p-2fcad8cb.system.js.map → p-9712b827.system.js.map} +1 -1
  450. package/dist/peculiar/{p-370cee20.js → p-99efefea.js} +2 -2
  451. package/dist/peculiar/p-9c8dc738.entry.js +5 -0
  452. package/dist/peculiar/p-9c8dc738.entry.js.map +1 -0
  453. package/dist/peculiar/{p-1ceb0fe3.js → p-a9487007.js} +2 -2
  454. package/dist/peculiar/{p-17e3c47b.js → p-ae91d778.js} +2 -2
  455. package/dist/peculiar/p-afbd1c8e.entry.js +5 -0
  456. package/dist/peculiar/p-afbd1c8e.entry.js.map +1 -0
  457. package/dist/peculiar/{p-67156853.js → p-b0c963b1.js} +26 -26
  458. package/dist/peculiar/p-b0c963b1.js.map +1 -0
  459. package/dist/peculiar/p-b5389885.system.entry.js +5 -0
  460. package/dist/peculiar/p-b5389885.system.entry.js.map +1 -0
  461. package/dist/peculiar/p-c10bfa6a.system.js +369 -0
  462. package/dist/peculiar/p-c10bfa6a.system.js.map +1 -0
  463. package/dist/peculiar/p-c241e4ba.system.js +20 -0
  464. package/dist/peculiar/{p-c99507d4.system.js.map → p-c241e4ba.system.js.map} +1 -1
  465. package/dist/peculiar/p-c2995a63.system.js +5 -0
  466. package/dist/peculiar/p-c2995a63.system.js.map +1 -0
  467. package/dist/peculiar/p-c3fce3f5.entry.js +5 -0
  468. package/dist/peculiar/p-c3fce3f5.entry.js.map +1 -0
  469. package/dist/peculiar/p-dac867e8.js +5 -0
  470. package/dist/peculiar/p-dac867e8.js.map +1 -0
  471. package/dist/peculiar/p-df2c8826.system.js +135 -0
  472. package/dist/peculiar/p-df2c8826.system.js.map +1 -0
  473. package/dist/peculiar/p-e4ad4f13.system.entry.js +5 -0
  474. package/dist/peculiar/p-e4ad4f13.system.entry.js.map +1 -0
  475. package/dist/peculiar/p-e6a6e602.js +12 -0
  476. package/dist/peculiar/p-eea904d7.system.js +27 -0
  477. package/dist/peculiar/{p-ddae2f8e.system.js.map → p-eea904d7.system.js.map} +1 -1
  478. package/dist/peculiar/{p-c35b180c.entry.js → p-f8efbe93.entry.js} +3 -3
  479. package/dist/peculiar/p-f8efbe93.entry.js.map +1 -0
  480. package/dist/peculiar/peculiar.esm.js +1 -1
  481. package/dist/peculiar/peculiar.esm.js.map +1 -1
  482. package/dist/peculiar/peculiar.js +15 -15
  483. package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +68 -68
  484. package/dist/types/components/button/button.d.ts +4 -4
  485. package/dist/types/components/button-menu/button-menu.d.ts +7 -7
  486. package/dist/types/components/certificate-decoder/certificate-decoder.d.ts +32 -32
  487. package/dist/types/components/certificate-details-parts/attributes/activity_description_attribute.d.ts +1 -1
  488. package/dist/types/components/certificate-details-parts/attributes/as_string_attribute.d.ts +1 -1
  489. package/dist/types/components/certificate-details-parts/attributes/basic_attribute.d.ts +1 -1
  490. package/dist/types/components/certificate-details-parts/attributes/challenge_password_attribute.d.ts +1 -1
  491. package/dist/types/components/certificate-details-parts/attributes/index.d.ts +1 -1
  492. package/dist/types/components/certificate-details-parts/attributes/insurance_value_attribute.d.ts +1 -1
  493. package/dist/types/components/certificate-details-parts/attributes/name_attribute.d.ts +1 -1
  494. package/dist/types/components/certificate-details-parts/attributes/name_part.d.ts +1 -1
  495. package/dist/types/components/certificate-details-parts/attributes/type_relationship_attribute.d.ts +1 -1
  496. package/dist/types/components/certificate-details-parts/attributes/unstructured_name_attribute.d.ts +1 -1
  497. package/dist/types/components/certificate-details-parts/attributes/valuation_ranking_attribute.d.ts +1 -1
  498. package/dist/types/components/certificate-details-parts/attributes/web_gdpr_attribute.d.ts +1 -1
  499. package/dist/types/components/certificate-details-parts/basic_information.d.ts +8 -8
  500. package/dist/types/components/certificate-details-parts/extensions/archive_rev_info_extension.d.ts +1 -1
  501. package/dist/types/components/certificate-details-parts/extensions/as_string_extension.d.ts +1 -1
  502. package/dist/types/components/certificate-details-parts/extensions/authority_key_identifier_extension.d.ts +1 -1
  503. package/dist/types/components/certificate-details-parts/extensions/basic_constraints_extension.d.ts +1 -1
  504. package/dist/types/components/certificate-details-parts/extensions/basic_extension.d.ts +1 -1
  505. package/dist/types/components/certificate-details-parts/extensions/biometric_syntax_extension.d.ts +1 -1
  506. package/dist/types/components/certificate-details-parts/extensions/ca_version_extension.d.ts +1 -1
  507. package/dist/types/components/certificate-details-parts/extensions/cabforganization_identifier_extension.d.ts +1 -1
  508. package/dist/types/components/certificate-details-parts/extensions/certificate_policies_extension.d.ts +1 -1
  509. package/dist/types/components/certificate-details-parts/extensions/certificate_template_extension.d.ts +1 -1
  510. package/dist/types/components/certificate-details-parts/extensions/certificate_transparency_extension.d.ts +1 -1
  511. package/dist/types/components/certificate-details-parts/extensions/crl_distribution_points_extension.d.ts +1 -1
  512. package/dist/types/components/certificate-details-parts/extensions/crl_number_extension.d.ts +1 -1
  513. package/dist/types/components/certificate-details-parts/extensions/crl_reason_extension.d.ts +1 -1
  514. package/dist/types/components/certificate-details-parts/extensions/enroll_cert_type_extension.d.ts +1 -1
  515. package/dist/types/components/certificate-details-parts/extensions/entrust_version_info_extension.d.ts +1 -1
  516. package/dist/types/components/certificate-details-parts/extensions/extended_key_usage_extension.d.ts +1 -1
  517. package/dist/types/components/certificate-details-parts/extensions/general_name_part.d.ts +1 -1
  518. package/dist/types/components/certificate-details-parts/extensions/index.d.ts +2 -2
  519. package/dist/types/components/certificate-details-parts/extensions/info_access_syntax_extension.d.ts +1 -1
  520. package/dist/types/components/certificate-details-parts/extensions/issuing_distribution_point_extension.d.ts +1 -1
  521. package/dist/types/components/certificate-details-parts/extensions/key_description_extension.d.ts +1 -1
  522. package/dist/types/components/certificate-details-parts/extensions/key_usage_extension.d.ts +1 -1
  523. package/dist/types/components/certificate-details-parts/extensions/lei_extension.d.ts +1 -1
  524. package/dist/types/components/certificate-details-parts/extensions/lei_role_extennsion.d.ts +1 -1
  525. package/dist/types/components/certificate-details-parts/extensions/logotype_extension.d.ts +1 -1
  526. package/dist/types/components/certificate-details-parts/extensions/name_constraints_extension.d.ts +1 -1
  527. package/dist/types/components/certificate-details-parts/extensions/netscape_cert_type_extension.d.ts +1 -1
  528. package/dist/types/components/certificate-details-parts/extensions/netscape_comment_extension.d.ts +1 -1
  529. package/dist/types/components/certificate-details-parts/extensions/policy_constraints_extension.d.ts +1 -1
  530. package/dist/types/components/certificate-details-parts/extensions/policy_mappings_extension.d.ts +1 -1
  531. package/dist/types/components/certificate-details-parts/extensions/private_key_usage_period_extension.d.ts +1 -1
  532. package/dist/types/components/certificate-details-parts/extensions/qc_statements_extension.d.ts +1 -1
  533. package/dist/types/components/certificate-details-parts/extensions/subject_alternative_name_extension.d.ts +1 -1
  534. package/dist/types/components/certificate-details-parts/extensions/subject_directory_attributes_extension.d.ts +1 -1
  535. package/dist/types/components/certificate-details-parts/extensions/subject_key_identifier_extension.d.ts +1 -1
  536. package/dist/types/components/certificate-details-parts/extensions/timestamp_extension.d.ts +1 -1
  537. package/dist/types/components/certificate-details-parts/extensions/tn_auth_list_extension.d.ts +1 -1
  538. package/dist/types/components/certificate-details-parts/holder.d.ts +1 -1
  539. package/dist/types/components/certificate-details-parts/issuer.d.ts +1 -1
  540. package/dist/types/components/certificate-details-parts/issuer_name.d.ts +2 -2
  541. package/dist/types/components/certificate-details-parts/miscellaneous.d.ts +3 -3
  542. package/dist/types/components/certificate-details-parts/public_key.d.ts +1 -1
  543. package/dist/types/components/certificate-details-parts/revoked_certificates.d.ts +1 -1
  544. package/dist/types/components/certificate-details-parts/row.d.ts +7 -7
  545. package/dist/types/components/certificate-details-parts/signature.d.ts +1 -1
  546. package/dist/types/components/certificate-details-parts/subject_name.d.ts +1 -1
  547. package/dist/types/components/certificate-details-parts/thumbprints.d.ts +1 -1
  548. package/dist/types/components/certificate-summary/certificate-summary.d.ts +2 -2
  549. package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +74 -74
  550. package/dist/types/components/certificates-viewer/certificates-viewer.d.ts +75 -75
  551. package/dist/types/components/circular-progress/circular-progress.d.ts +10 -10
  552. package/dist/types/components/crl-viewer/crl-viewer.d.ts +58 -58
  553. package/dist/types/components/csr-viewer/csr-viewer.d.ts +54 -55
  554. package/dist/types/components/highlight-words/highlight-words.d.ts +8 -8
  555. package/dist/types/components/icons/actions.d.ts +1 -1
  556. package/dist/types/components/icons/arrow_bottom.d.ts +1 -1
  557. package/dist/types/components/icons/arrow_top.d.ts +1 -1
  558. package/dist/types/components/icons/cross.d.ts +1 -1
  559. package/dist/types/components/icons/details.d.ts +1 -1
  560. package/dist/types/components/icons/download.d.ts +1 -1
  561. package/dist/types/components/icons/link.d.ts +1 -1
  562. package/dist/types/components/link/link.d.ts +2 -2
  563. package/dist/types/components/text-hider/text-hider.d.ts +2 -2
  564. package/dist/types/components/typography/typography.d.ts +4 -4
  565. package/dist/types/components.d.ts +24 -0
  566. package/dist/types/constants/logs.d.ts +77 -77
  567. package/dist/types/constants/oids.d.ts +2326 -2326
  568. package/dist/types/crypto/asn_data.d.ts +6 -6
  569. package/dist/types/crypto/attribute.d.ts +21 -6
  570. package/dist/types/crypto/extension.d.ts +51 -5
  571. package/dist/types/crypto/extensions/cabforganization_identifier.d.ts +5 -5
  572. package/dist/types/crypto/index.d.ts +2 -2
  573. package/dist/types/crypto/name.d.ts +7 -7
  574. package/dist/types/crypto/pkcs10_certificate_request.d.ts +42 -0
  575. package/dist/types/crypto/provider.d.ts +15 -15
  576. package/dist/types/crypto/x509_attribute_certificate.d.ts +23 -24
  577. package/dist/types/crypto/x509_certificate.d.ts +32 -33
  578. package/dist/types/crypto/x509_crl.d.ts +33 -0
  579. package/dist/types/index.d.ts +2 -0
  580. package/dist/types/stencil-public-runtime.d.ts +29 -0
  581. package/dist/types/utils/download.d.ts +16 -16
  582. package/dist/types/utils/l10n.d.ts +56 -56
  583. package/dist/types/utils/read_file.d.ts +7 -7
  584. package/hydrate/index.d.ts +2 -2
  585. package/hydrate/index.js +11369 -9539
  586. package/package.json +21 -13
  587. package/dist/cjs/actions-19013d4a.js +0 -23
  588. package/dist/cjs/arrow_top-834fb7ec.js +0 -37
  589. package/dist/cjs/button-14e2b73f.js +0 -77
  590. package/dist/cjs/certification_request-5672c667.js.map +0 -1
  591. package/dist/cjs/crl-3f681d44.js +0 -322
  592. package/dist/cjs/crl-3f681d44.js.map +0 -1
  593. package/dist/cjs/cross-9872c473.js +0 -51
  594. package/dist/cjs/download-0fa5b33c.js +0 -476
  595. package/dist/cjs/download-0fa5b33c.js.map +0 -1
  596. package/dist/cjs/download-254ddc57.js +0 -23
  597. package/dist/cjs/index-efd561e9.js.map +0 -1
  598. package/dist/cjs/link-6aea0be4.js +0 -25
  599. package/dist/cjs/miscellaneous-905ec852.js +0 -1416
  600. package/dist/cjs/miscellaneous-905ec852.js.map +0 -1
  601. package/dist/cjs/x509_certificate-69764c52.js +0 -160
  602. package/dist/cjs/x509_certificate-69764c52.js.map +0 -1
  603. package/dist/collection/crypto/crl.js +0 -92
  604. package/dist/collection/crypto/crl.js.map +0 -1
  605. package/dist/collection/crypto/csr.js +0 -99
  606. package/dist/collection/crypto/csr.js.map +0 -1
  607. package/dist/esm/actions-8d745b2a.js +0 -21
  608. package/dist/esm/arrow_top-fc298828.js +0 -34
  609. package/dist/esm/button-35146bdd.js +0 -74
  610. package/dist/esm/certification_request-d5ea5973.js.map +0 -1
  611. package/dist/esm/crl-d13d9ec5.js +0 -318
  612. package/dist/esm/crl-d13d9ec5.js.map +0 -1
  613. package/dist/esm/cross-9ec9a759.js +0 -47
  614. package/dist/esm/download-0cc3077a.js +0 -21
  615. package/dist/esm/download-aacb6eff.js +0 -470
  616. package/dist/esm/download-aacb6eff.js.map +0 -1
  617. package/dist/esm/index-4079bbb5.js.map +0 -1
  618. package/dist/esm/link-ad24c3be.js +0 -23
  619. package/dist/esm/miscellaneous-cdfd8905.js +0 -1399
  620. package/dist/esm/miscellaneous-cdfd8905.js.map +0 -1
  621. package/dist/esm/x509_certificate-a9fcab55.js +0 -158
  622. package/dist/esm/x509_certificate-a9fcab55.js.map +0 -1
  623. package/dist/esm-es5/button-35146bdd.js +0 -19
  624. package/dist/esm-es5/certification_request-d5ea5973.js.map +0 -1
  625. package/dist/esm-es5/crl-d13d9ec5.js +0 -33
  626. package/dist/esm-es5/crl-d13d9ec5.js.map +0 -1
  627. package/dist/esm-es5/download-aacb6eff.js +0 -43
  628. package/dist/esm-es5/download-aacb6eff.js.map +0 -1
  629. package/dist/esm-es5/index-4079bbb5.js +0 -6
  630. package/dist/esm-es5/index-4079bbb5.js.map +0 -1
  631. package/dist/esm-es5/miscellaneous-cdfd8905.js.map +0 -1
  632. package/dist/esm-es5/x509_certificate-a9fcab55.js +0 -12
  633. package/dist/esm-es5/x509_certificate-a9fcab55.js.map +0 -1
  634. package/dist/peculiar/p-0b356bb5.js +0 -6
  635. package/dist/peculiar/p-0b356bb5.js.map +0 -1
  636. package/dist/peculiar/p-14f281b0.system.js +0 -43
  637. package/dist/peculiar/p-14f281b0.system.js.map +0 -1
  638. package/dist/peculiar/p-2fcad8cb.system.js +0 -20
  639. package/dist/peculiar/p-33196289.entry.js +0 -5
  640. package/dist/peculiar/p-33196289.entry.js.map +0 -1
  641. package/dist/peculiar/p-3b395604.system.entry.js +0 -5
  642. package/dist/peculiar/p-3b395604.system.entry.js.map +0 -1
  643. package/dist/peculiar/p-48474b8d.js +0 -12
  644. package/dist/peculiar/p-48474b8d.js.map +0 -1
  645. package/dist/peculiar/p-4a6ceeda.js +0 -97
  646. package/dist/peculiar/p-4a6ceeda.js.map +0 -1
  647. package/dist/peculiar/p-5151cb6f.system.entry.js +0 -5
  648. package/dist/peculiar/p-5151cb6f.system.entry.js.map +0 -1
  649. package/dist/peculiar/p-53784f15.system.entry.js +0 -5
  650. package/dist/peculiar/p-53784f15.system.entry.js.map +0 -1
  651. package/dist/peculiar/p-59e5ac12.js +0 -43
  652. package/dist/peculiar/p-59e5ac12.js.map +0 -1
  653. package/dist/peculiar/p-5aabeba7.system.js +0 -6
  654. package/dist/peculiar/p-5aabeba7.system.js.map +0 -1
  655. package/dist/peculiar/p-5ab007e9.entry.js +0 -5
  656. package/dist/peculiar/p-5ab007e9.entry.js.map +0 -1
  657. package/dist/peculiar/p-609ee9f0.entry.js +0 -5
  658. package/dist/peculiar/p-609ee9f0.entry.js.map +0 -1
  659. package/dist/peculiar/p-67156853.js.map +0 -1
  660. package/dist/peculiar/p-6cb88fd6.system.js +0 -13
  661. package/dist/peculiar/p-6daee4d7.system.js +0 -369
  662. package/dist/peculiar/p-6daee4d7.system.js.map +0 -1
  663. package/dist/peculiar/p-6e48afc4.system.js +0 -34
  664. package/dist/peculiar/p-6e48afc4.system.js.map +0 -1
  665. package/dist/peculiar/p-718982f4.system.entry.js +0 -111
  666. package/dist/peculiar/p-718982f4.system.entry.js.map +0 -1
  667. package/dist/peculiar/p-7f9beaa8.js +0 -19
  668. package/dist/peculiar/p-80832207.system.js +0 -5
  669. package/dist/peculiar/p-80832207.system.js.map +0 -1
  670. package/dist/peculiar/p-8fac1d56.js +0 -33
  671. package/dist/peculiar/p-8fac1d56.js.map +0 -1
  672. package/dist/peculiar/p-94a453d7.js +0 -12
  673. package/dist/peculiar/p-a3eeb94b.system.js +0 -5
  674. package/dist/peculiar/p-a67b8793.system.entry.js.map +0 -1
  675. package/dist/peculiar/p-a720c0a5.system.entry.js +0 -13
  676. package/dist/peculiar/p-a720c0a5.system.entry.js.map +0 -1
  677. package/dist/peculiar/p-a7386b78.entry.js +0 -12
  678. package/dist/peculiar/p-a7386b78.entry.js.map +0 -1
  679. package/dist/peculiar/p-ab7dc738.system.js +0 -13
  680. package/dist/peculiar/p-ab7dc738.system.js.map +0 -1
  681. package/dist/peculiar/p-b313be9e.system.js +0 -13
  682. package/dist/peculiar/p-c35b180c.entry.js.map +0 -1
  683. package/dist/peculiar/p-c99507d4.system.js +0 -20
  684. package/dist/peculiar/p-ddae2f8e.system.js +0 -27
  685. package/dist/peculiar/p-e0f4bda5.system.js +0 -97
  686. package/dist/peculiar/p-e0f4bda5.system.js.map +0 -1
  687. package/dist/peculiar/p-e6a3b4d4.system.js +0 -13
  688. package/dist/peculiar/p-f86279f6.entry.js +0 -110
  689. package/dist/peculiar/p-f86279f6.entry.js.map +0 -1
  690. package/dist/types/crypto/crl.d.ts +0 -34
  691. package/dist/types/crypto/csr.d.ts +0 -41
  692. /package/dist/esm-es5/{actions-8d745b2a.js.map → actions-aebcbc9d.js.map} +0 -0
  693. /package/dist/esm-es5/{arrow_top-fc298828.js.map → arrow_top-aee1ee02.js.map} +0 -0
  694. /package/dist/esm-es5/{button-35146bdd.js.map → button-a2fabf9a.js.map} +0 -0
  695. /package/dist/esm-es5/{cross-9ec9a759.js.map → cross-1377606f.js.map} +0 -0
  696. /package/dist/esm-es5/{download-0cc3077a.js.map → download-14dc1047.js.map} +0 -0
  697. /package/dist/esm-es5/{link-ad24c3be.js.map → link-7e4e9060.js.map} +0 -0
  698. /package/dist/peculiar/{p-6cb88fd6.system.js.map → p-243244af.system.js.map} +0 -0
  699. /package/dist/peculiar/{p-0fc2e2b4.js.map → p-27ca6743.js.map} +0 -0
  700. /package/dist/peculiar/{p-a3eeb94b.system.js.map → p-28b4d316.system.js.map} +0 -0
  701. /package/dist/peculiar/{p-7f9beaa8.js.map → p-4bc5ddbe.js.map} +0 -0
  702. /package/dist/peculiar/{p-b313be9e.system.js.map → p-5a662d6f.system.js.map} +0 -0
  703. /package/dist/peculiar/{p-e6a3b4d4.system.js.map → p-8bbee8f4.system.js.map} +0 -0
  704. /package/dist/peculiar/{p-370cee20.js.map → p-99efefea.js.map} +0 -0
  705. /package/dist/peculiar/{p-1ceb0fe3.js.map → p-a9487007.js.map} +0 -0
  706. /package/dist/peculiar/{p-17e3c47b.js.map → p-ae91d778.js.map} +0 -0
  707. /package/dist/peculiar/{p-94a453d7.js.map → p-e6a6e602.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["getStringByOID","value","oid","OIDs","concat","camelCaseToWords","result","replace","charAt","toUpperCase","slice","getLEILink","exports","lei","getDNSNameLink","dnsName","getIPAddressLink","ipAddress","isLink","indexOf","TableRowTable","_","children","h","colSpan","RowTitle","props","class","Typography","variant","color","RowValue","name","monospace","collapse","href","extraValue","undefined","elementValue","hasValue","toString","Link","BasicInformation","serialNumber","version","validity","notBefore","notAfter","lastUpdate","nextUpdate","type","l10n","getString","dateShort","getPublicKeyModulus","publicKey","params","length","modulus","byteLength","getPublicKeyExponent","publicExponent","PublicKey","renderKeyDetails","key","algorithm","namedCurve","Convert","ToHex","Array","isArray","map","param","SubjectName","n","IssuerName","issuerDnLink","title","Signature","signature","renderSignatureDetails","data","Thumbprints","thumbprints","keys","Object","BasicExtension","extension","asn","extnID","critical","KeyUsageExtension","toJSON","join","BasicConstraintsExtension","cA","pathLenConstraint","ExtendedKeyUsageExtension","Boolean","usage","SubjectKeyIdentifierExtension","getSubjectKeyIdChildrenLink","getSubjectKeyIdSiblingsLink","keyId","buffer","childrenLink","siblingsLink","AuthorityKeyIdentifierExtension","getAuthKeyIdParentLink","getAuthKeyIdSiblingsLink","keyIdentifier","parentLink","names","otherName","rfc822Name","dNSName","x400Address","directoryName","ediPartyName","uniformResourceIdentifier","iPAddress","registeredID","GeneralNamePart","generalName","Name","relativeDistinguishedName","attributeTypeAndValue","OtherName","text","AsnParser","parse","DisplayText","typeId","error","UserNotice","explicitText","BufferSourceConverter","isBufferSource","ToString","EDIPartyName","partyName","CRLDistributionPointsExtension","point","_a","distributionPoint","fullName","gn","assign","_b","cRLIssuer","InfoAccessSyntaxExtension","description","accessMethod","accessLocation","SubjectAlternativeNameExtension","CertificatePoliciesExtension","policy","policyIdentifier","policyQualifiers","qualifierInfo","policyQualifierId","qualifier","push","logs","a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638","cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900","db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64","fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c","c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565","eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9","b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a","c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360","e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe","f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273","c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa","fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28","a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25","b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e","f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3","e83ed0da3ef5063532e75728bc896bc903d3cbd1116beceb69e1777d6d06bd6e","c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6","a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10","ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb","bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185","a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7","a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681","b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77","b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e","aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd","e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273","cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6","db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98","ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc","a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2","bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5","b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b","ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d","CertificateTransparencyExtension","items","signedCertificateTimestamp","logId","timestamp","hashAlgorithm","signatureAlgorithm","NameConstraintsExtension","excludedSubtrees","generalSubtree","base","permittedSubtrees","CertificateTemplateExtension","templateID","templateMajorVersion","templateMinorVersion","EnrollCertTypeChoiceExtension","CaVersionExtension","getVersion","certificateIndex","keyIndex","PdsLocations_1","QcEuPDS_1","QcType_1","QcCClegislation_1","Iso4217CurrencyCode","this","alphabetic","numeric","__decorate","AsnProp","AsnPropTypes","PrintableString","prototype","AsnType","AsnTypeTypes","Choice","MonetaryValue","currency","amount","exponent","Integer","QcEuLimitValue","_super","__extends","Sequence","QcEuRetentionPeriod","PdsLocation","url","language","IA5String","PdsLocations","_this","call","setPrototypeOf","AsnArray","itemType","QcEuPDS","QcType","ObjectIdentifier","QcCClegislation","id_etsi_qcs","id_etsi_qcs_qcRetentionPeriod","id_etsi_qcs_qcPDS","id_etsi_qcs_qcType","QCStatementsExtension","renderStatementInfo","statementId","statementInfo","id_qcs_pkixQCSyntax_v2","semanticsInformation","SemanticsInformation","semanticsIdentifier","qcTypes","retentionPeriod","pdsLocations","location","statement","NetscapeCommentExtension","NetscapeCertTypeExtension","LeiRoleExtension","LeiExtension","TimestampExtension","requiresAuth","ArchiveRevInfoExtension","CRLReasonExtension","getAttributeValue","attribute","values","SubjectDirectoryAttributesExtension","AsStringExtension","PrivateKeyUsagePeriodExtension","EntrustVersionInfoExtension","entrustVers","entrustInfoFlags","BiometricSyntaxExtension","typeOfBiometricData","biometricDataOid","predefinedBiometricType","biometricDataHash","sourceDataUri","LogotypeExtension","renderImage","image","img","imageDetails","mediaType","logotypeHash","hashValue","logotypeURI","hashAlg","renderAudio","audio","aud","audioDetails","renderLogo","info","direct","_c","subjectLogo","issuerLogo","TNAuthListExtension","entry","spc","range","start","count","one","PolicyConstraintsExtension","requireExplicitPolicy","AsnIntegerArrayBufferConverter","toASN","valueBlock","inhibitPolicyMapping","PolicyMappingsExtension","issuerDomainPolicy","subjectDomainPolicy","CRLNumberExtension","IssuingDistributionPointExtension","onlySomeReasons","indirectCRL","onlyContainsUserCerts","onlyContainsAttributeCerts","onlyContainsCACerts","KeyDescriptionExtension","renderRowValue","keyName","keyValue","IntegerSet","is","RootOfTrust","parsed","AttestationApplicationId","packageInfos","signatureDigests","attestationPackageInfo","renderAuthorizationList","authorizationList","attestationVersion","attestationSecurityLevel","keymasterVersion","keymasterSecurityLevel","attestationChallenge","uniqueId","softwareEnforced","teeEnforced","CabforganizationIdentifierExtension","Extensions","extensions","KeyUsage","BasicConstraints","ExtendedKeyUsage","SubjectKeyIdentifier","AuthorityKeyIdentifier","CRLDistributionPoints","AuthorityInfoAccessSyntax","SubjectInfoAccessSyntax","SubjectAlternativeName","CertificatePolicies","CertificateTransparency","NameConstraints","CertificateTemplate","EnrollCertTypeChoice","CaVersion","QCStatements","NetscapeComment","NetscapeCertType","LeiRole","LeiChoice","Timestamp","ArchiveRevInfo","CRLReason","SubjectDirectoryAttributes","PrivateKeyUsagePeriod","EntrustVersionInfo","BiometricSyntax","LogotypeExtn","TNAuthorizationList","PolicyConstraints","PolicyMappings","CRLNumber","IssuingDistributionPoint","NonStandardKeyDescription","CabforganizationIdentifier","console","Miscellaneous","certificate","Button","onClick","downloadAsPEM","startIcon","DownloadIcon","downloadAsDER"],"sources":["src/utils/get_string_by_oid.ts","src/utils/camel_case_to_words.ts","src/utils/third_party_links.ts","src/utils/is_link.ts","src/components/certificate-details-parts/row.tsx","src/components/certificate-details-parts/basic_information.tsx","src/components/certificate-details-parts/public_key.tsx","src/components/certificate-details-parts/subject_name.tsx","src/components/certificate-details-parts/issuer_name.tsx","src/components/certificate-details-parts/signature.tsx","src/components/certificate-details-parts/thumbprints.tsx","src/components/certificate-details-parts/extensions/basic_extension.tsx","src/components/certificate-details-parts/extensions/key_usage_extension.tsx","src/components/certificate-details-parts/extensions/basic_constraints_extension.tsx","src/components/certificate-details-parts/extensions/extended_key_usage_extension.tsx","src/components/certificate-details-parts/extensions/subject_key_identifier_extension.tsx","src/components/certificate-details-parts/extensions/authority_key_identifier_extension.tsx","src/components/certificate-details-parts/extensions/general_name_part.tsx","src/components/certificate-details-parts/extensions/crl_distribution_points_extension.tsx","src/components/certificate-details-parts/extensions/info_access_syntax_extension.tsx","src/components/certificate-details-parts/extensions/subject_alternative_name_extension.tsx","src/components/certificate-details-parts/extensions/certificate_policies_extension.tsx","src/constants/logs.ts","src/components/certificate-details-parts/extensions/certificate_transparency_extension.tsx","src/components/certificate-details-parts/extensions/name_constraints_extension.tsx","src/components/certificate-details-parts/extensions/certificate_template_extension.tsx","src/components/certificate-details-parts/extensions/enroll_cert_type_extension.tsx","src/components/certificate-details-parts/extensions/ca_version_extension.tsx","../../node_modules/@peculiar/asn1-x509-qualified-etsi/build/es2015/index.js","src/components/certificate-details-parts/extensions/qc_statements_extension.tsx","src/components/certificate-details-parts/extensions/netscape_comment_extension.tsx","src/components/certificate-details-parts/extensions/netscape_cert_type_extension.tsx","src/components/certificate-details-parts/extensions/lei_role_extennsion.tsx","src/components/certificate-details-parts/extensions/lei_extension.tsx","src/components/certificate-details-parts/extensions/timestamp_extension.tsx","src/components/certificate-details-parts/extensions/archive_rev_info_extension.tsx","src/components/certificate-details-parts/extensions/crl_reason_extension.tsx","src/components/certificate-details-parts/extensions/attribute_value.ts","src/components/certificate-details-parts/extensions/subject_directory_attributes_extension.tsx","src/components/certificate-details-parts/extensions/as_string_extension.tsx","src/components/certificate-details-parts/extensions/private_key_usage_period_extension.tsx","src/components/certificate-details-parts/extensions/entrust_version_info_extension.tsx","src/components/certificate-details-parts/extensions/biometric_syntax_extension.tsx","src/components/certificate-details-parts/extensions/logotype_extension.tsx","src/components/certificate-details-parts/extensions/tn_auth_list_extension.tsx","src/components/certificate-details-parts/extensions/policy_constraints_extension.tsx","src/components/certificate-details-parts/extensions/policy_mappings_extension.tsx","src/components/certificate-details-parts/extensions/crl_number_extension.tsx","src/components/certificate-details-parts/extensions/issuing_distribution_point_extension.tsx","src/components/certificate-details-parts/extensions/key_description_extension.tsx","src/components/certificate-details-parts/extensions/cabforganization_identifier_extension.tsx","src/components/certificate-details-parts/extensions/index.tsx","src/components/certificate-details-parts/miscellaneous.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { OIDs } from '../constants/oids';\n\nexport function getStringByOID(value: string) {\n const oid = OIDs[value];\n\n if (oid) {\n return `${oid} (${value})`;\n }\n\n return value;\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nexport function camelCaseToWords(value: string) {\n const result = value.replace(/([A-Z])/g, ' $1');\n\n return result.charAt(0).toUpperCase() + result.slice(1);\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nexport const getLEILink = (lei: string) => `https://search.gleif.org/#/record/${lei}`;\n\nexport const getDNSNameLink = (dnsName: string) => `https://search.censys.io/search?resource=hosts&q=dns.names%3A${dnsName}`;\n\nexport const getIPAddressLink = (ipAddress: string) => `https://search.censys.io/search?resource=hosts&q=ip%3A${ipAddress}`;\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nexport default function isLink(value: string): boolean {\n return value.indexOf('http') === 0;\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport isLink from '../../utils/is_link';\nimport { Typography } from '../typography';\nimport { Link } from '../link';\n\nexport const TableRowTable: FunctionalComponent = (_, children) => (\n <tr>\n <td colSpan={2}>\n <table>\n {children}\n </table>\n </td>\n </tr>\n);\n\ninterface IRowTitleProps {\n value: string | string[];\n}\n\nexport const RowTitle: FunctionalComponent<IRowTitleProps> = (props) => {\n const { value } = props;\n\n if (!value) {\n return null;\n }\n\n return [\n <tr class=\"title\">\n <td colSpan={2}>\n <Typography\n variant=\"s1\"\n color=\"black\"\n >\n {value}\n </Typography>\n </td>\n </tr>,\n <tr>\n <td colSpan={2} class=\"divider\">\n <span />\n </td>\n </tr>,\n ];\n};\n\ninterface IRowValueProps {\n name: string | string[];\n value: string | number | string[];\n monospace?: boolean;\n collapse?: boolean;\n href?: string;\n extraValue?: Element[];\n}\n\nexport const RowValue: FunctionalComponent<IRowValueProps> = (props) => {\n const {\n name,\n value,\n monospace,\n collapse,\n href,\n extraValue,\n } = props;\n\n if (!name) {\n return null;\n }\n\n if (value === undefined || value === null) {\n return null;\n }\n\n let elementValue;\n\n if (collapse) {\n elementValue = (\n <peculiar-text-hider>\n {value}\n </peculiar-text-hider>\n );\n } else {\n elementValue = value;\n }\n\n const hasValue = !!value.toString();\n\n return (\n <tr>\n <td\n colSpan={hasValue ? 1 : 2}\n >\n <Typography\n variant=\"b2\"\n color=\"gray-9\"\n >\n {name}\n </Typography>\n </td>\n {hasValue && (\n <td\n class={{\n monospace,\n }}\n >\n {(isLink(value.toString()) || href) ? (\n <Link\n variant=\"b2\"\n href={href || value.toString()}\n >\n {value}\n </Link>\n ) : (\n <Typography\n variant=\"b2\"\n color=\"black\"\n >\n {elementValue}\n {extraValue}\n </Typography>\n )}\n </td>\n )}\n </tr>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport { dateShort, l10n } from '../../utils';\n\nimport { RowTitle, RowValue } from './row';\n\ninterface IBasicInformationProps {\n serialNumber?: string;\n version?: number;\n validity?: string;\n notBefore?: Date;\n notAfter?: Date;\n lastUpdate?: Date;\n nextUpdate?: Date;\n type: string;\n}\n\nexport const BasicInformation: FunctionalComponent<IBasicInformationProps> = (props) => {\n const {\n serialNumber,\n version,\n validity,\n notBefore,\n notAfter,\n lastUpdate,\n nextUpdate,\n type,\n } = props;\n\n return [\n <RowTitle\n value={l10n.getString('basicInformation')}\n />,\n <RowValue\n name={l10n.getString('type')}\n value={type}\n />,\n <RowValue\n name={l10n.getString('serialNumber')}\n value={serialNumber}\n monospace\n />,\n <RowValue\n name={l10n.getString('version')}\n value={version}\n />,\n <RowValue\n name={l10n.getString('validity')}\n value={validity}\n />,\n <RowValue\n name={l10n.getString('issued')}\n value={notBefore ? dateShort(notBefore) : undefined}\n />,\n <RowValue\n name={l10n.getString('expired')}\n value={notAfter ? dateShort(notAfter) : undefined}\n />,\n <RowValue\n name={l10n.getString('lastUpdate')}\n value={lastUpdate ? dateShort(lastUpdate) : undefined}\n />,\n <RowValue\n name={l10n.getString('nextUpdate')}\n value={nextUpdate ? dateShort(nextUpdate) : undefined}\n />,\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { Convert } from 'pvtsutils';\n\nimport { IPublicKey } from '../../crypto';\nimport { l10n, getStringByOID } from '../../utils';\n\nimport { RowTitle, RowValue, TableRowTable } from './row';\n\nfunction getPublicKeyModulus(publicKey: IPublicKey) {\n if (publicKey.params && 'modulus' in publicKey.params) {\n let length = publicKey.params.modulus.byteLength;\n\n if (length % 2) {\n length -= 1;\n }\n\n return length * 8;\n }\n\n return null;\n}\n\nfunction getPublicKeyExponent(publicKey: IPublicKey) {\n if (publicKey.params && 'publicExponent' in publicKey.params) {\n return publicKey.params.publicExponent.byteLength === 3\n ? 65537\n : 3;\n }\n\n return null;\n}\n\ninterface IPublicKeyProps {\n publicKey: IPublicKey;\n}\n\nexport const PublicKey: FunctionalComponent<IPublicKeyProps> = (props) => {\n const { publicKey } = props;\n\n if (!publicKey) {\n return null;\n }\n\n function renderKeyDetails(key: IPublicKey) {\n return [\n <RowValue\n name={l10n.getString('algorithm')}\n value={getStringByOID(key.algorithm)}\n />,\n <RowValue\n name={l10n.getString('namedCurve')}\n value={getStringByOID((key.params && 'namedCurve' in key.params) ? key.params.namedCurve : undefined)}\n />,\n <RowValue\n name={l10n.getString('exponent')}\n value={getPublicKeyExponent(key)}\n />,\n <RowValue\n name={l10n.getString('modulus')}\n value={getPublicKeyModulus(key)}\n />,\n <RowValue\n name={l10n.getString('value')}\n value={Convert.ToHex(key.value)}\n monospace\n collapse\n />,\n ];\n }\n\n return [\n <RowTitle\n value={l10n.getString('publicKeyInfo')}\n />,\n renderKeyDetails(publicKey),\n (Array.isArray(publicKey.params) && publicKey.params.length && publicKey.params.map((param) => (\n <TableRowTable>\n {renderKeyDetails(param)}\n </TableRowTable>\n ))),\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport type { INameJSON } from '../../crypto/name';\nimport { l10n } from '../../utils';\n\nimport { RowTitle, RowValue } from './row';\n\ninterface ISubjectNameProps {\n name: INameJSON[];\n}\n\nexport const SubjectName: FunctionalComponent<ISubjectNameProps> = (props) => {\n const { name } = props;\n\n return [\n <RowTitle\n value={l10n.getString('subjectName')}\n />,\n name.map((n) => (\n <RowValue\n name={n.name || n.type}\n value={n.value}\n />\n )),\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport type { INameJSON } from '../../crypto/name';\nimport { l10n } from '../../utils';\nimport { Link } from '../link';\nimport { RowTitle, RowValue } from './row';\n\ninterface ISubjectNameProps {\n name: INameJSON[];\n issuerDnLink?: string;\n}\n\nexport const IssuerName: FunctionalComponent<ISubjectNameProps> = (props) => {\n const { name, issuerDnLink } = props;\n const title = l10n.getString('issuerName');\n\n return [\n <RowTitle\n value={issuerDnLink ? (\n <Link\n href={issuerDnLink}\n >\n {title}\n </Link>\n ) : title}\n />,\n name.map((n) => (\n <RowValue\n name={n.name || n.type}\n value={n.value}\n />\n )),\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { Convert } from 'pvtsutils';\n\nimport { ISignature } from '../../crypto';\nimport { l10n, getStringByOID } from '../../utils';\n\nimport { RowTitle, RowValue, TableRowTable } from './row';\n\ninterface ISignatureProps {\n signature: ISignature;\n}\n\nexport const Signature: FunctionalComponent<ISignatureProps> = (props) => {\n const { signature } = props;\n\n if (!signature) {\n return null;\n }\n\n function renderSignatureDetails(data: ISignature) {\n return [\n <RowValue\n name={l10n.getString('algorithm')}\n value={getStringByOID(data.algorithm)}\n />,\n <RowValue\n name={l10n.getString('value')}\n value={Convert.ToHex(data.value)}\n monospace\n collapse\n />,\n ];\n }\n\n return [\n <RowTitle\n value={l10n.getString('signature')}\n />,\n renderSignatureDetails(signature),\n (signature.params && signature.params.length && signature.params.map((param) => (\n <TableRowTable>\n {renderSignatureDetails(param)}\n </TableRowTable>\n ))),\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { l10n } from '../../utils';\n\nimport { RowTitle, RowValue } from './row';\n\ninterface IThumbprintsProps {\n thumbprints: Record<string, string>;\n}\n\nexport const Thumbprints: FunctionalComponent<IThumbprintsProps> = (props) => {\n const { thumbprints } = props;\n\n if (!thumbprints) {\n return null;\n }\n\n const keys = Object.keys(thumbprints);\n\n if (!keys.length) {\n return null;\n }\n\n return [\n <RowTitle\n value={l10n.getString('fingerprints')}\n />,\n keys.map((name) => (\n <RowValue\n name={name}\n value={thumbprints[name]}\n monospace\n />\n )),\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport { Extension, TExtensionValue } from '../../../crypto/extension';\nimport { l10n, getStringByOID } from '../../../utils';\nimport { RowValue } from '../row';\n\ninterface IBasicExtensionProps {\n extension: Extension<TExtensionValue>;\n}\n\nexport const BasicExtension: FunctionalComponent<IBasicExtensionProps> = (props, children) => {\n const { extension } = props;\n\n return ([\n <RowValue\n name=\"Name\"\n value={getStringByOID(extension.asn.extnID)}\n />,\n <RowValue\n name=\"Critical\"\n value={extension.asn.critical ? l10n.getString('yes') : l10n.getString('no')}\n />,\n children,\n <tr>\n <td colSpan={2} class=\"divider\">\n <span />\n </td>\n </tr>,\n ]);\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { KeyUsage } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IKeyUsageExtensionProps {\n extension: Extension<KeyUsage>;\n}\n\nexport const KeyUsageExtension: FunctionalComponent<IKeyUsageExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Usage\"\n value={extension.value.toJSON().join(', ')}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { BasicConstraints } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\nimport { l10n } from '../../../utils';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IBasicConstraintsExtensionProps {\n extension: Extension<BasicConstraints>;\n}\n\nexport const BasicConstraintsExtension:\nFunctionalComponent<IBasicConstraintsExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Certificate Authority\"\n value={extension.value.cA ? l10n.getString('yes') : l10n.getString('no')}\n />\n <RowValue\n name=\"Path Length Constraint\"\n value={extension.value.pathLenConstraint}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { ExtendedKeyUsage } from '@peculiar/asn1-x509';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IExtendedKeyUsageExtensionProps {\n extension: Extension<ExtendedKeyUsage>;\n}\n\nexport const ExtendedKeyUsageExtension:\nFunctionalComponent<IExtendedKeyUsageExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Purposes\"\n value=\"\"\n />,\n extension.value.map((usage) => (\n <TableRowTable>\n <RowValue\n name=\"Purpose\"\n value={getStringByOID(usage)}\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { SubjectKeyIdentifier } from '@peculiar/asn1-x509';\nimport { Convert } from 'pvtsutils';\nimport { Extension } from '../../../crypto/extension';\nimport { Link } from '../../link';\nimport { RowValue } from '../row';\nimport { BasicExtension } from './basic_extension';\n\ninterface ISubjectKeyIdentifierExtensionProps extends ISubjectKeyIdentifierOptions {\n extension: Extension<SubjectKeyIdentifier>;\n}\n\nexport const SubjectKeyIdentifierExtension:\nFunctionalComponent<ISubjectKeyIdentifierExtensionProps> = (props) => {\n const { extension, getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink } = props;\n\n const keyId = Convert.ToHex(extension.value.buffer);\n const childrenLink = getSubjectKeyIdChildrenLink(keyId);\n const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Key ID\"\n value={keyId}\n monospace\n extraValue={[\n childrenLink && (\n <span>\n &nbsp;[\n <Link href={childrenLink}>\n children\n </Link>\n ]\n </span>\n ),\n siblingsLink && (\n <span>\n &nbsp;[\n <Link href={siblingsLink}>\n siblings\n </Link>\n ]\n </span>\n ),\n ]}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { AuthorityKeyIdentifier } from '@peculiar/asn1-x509';\nimport { Convert } from 'pvtsutils';\nimport { Extension } from '../../../crypto/extension';\nimport { Link } from '../../link';\nimport { RowValue } from '../row';\nimport { BasicExtension } from './basic_extension';\n\ninterface IAuthorityKeyIdentifierExtensionProps extends IAuthorityKeyIdentifierOptions {\n extension: Extension<AuthorityKeyIdentifier>;\n}\n\nexport const AuthorityKeyIdentifierExtension:\nFunctionalComponent<IAuthorityKeyIdentifierExtensionProps> = (props) => {\n const { extension, getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink } = props;\n\n const keyId = Convert.ToHex(extension.value.keyIdentifier.buffer);\n const parentLink = getAuthKeyIdParentLink(keyId);\n const siblingsLink = getAuthKeyIdSiblingsLink(keyId);\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Key ID\"\n value={keyId}\n monospace\n extraValue={[\n parentLink && (\n <span>\n &nbsp;[\n <Link href={parentLink}>\n parents\n </Link>\n ]\n </span>\n ),\n siblingsLink && (\n <span>\n &nbsp;[\n <Link href={siblingsLink}>\n siblings\n </Link>\n ]\n </span>\n ),\n ]}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport {\n GeneralName,\n Name,\n OtherName,\n DisplayText,\n EDIPartyName,\n UserNotice,\n} from '@peculiar/asn1-x509';\nimport { Convert, BufferSourceConverter } from 'pvtsutils';\nimport { AsnParser } from '@peculiar/asn1-schema';\n\nimport { OIDs } from '../../../constants/oids';\nimport { RowValue, TableRowTable } from '../row';\n\nconst names: Record<keyof GeneralName, string> = {\n otherName: 'Other Name',\n rfc822Name: 'RFC 822 Name',\n dNSName: 'DNS Name',\n x400Address: 'X400 Address',\n directoryName: 'Directory Name',\n ediPartyName: 'Edi Party Name ',\n uniformResourceIdentifier: 'URI',\n iPAddress: 'IP Address',\n registeredID: 'Registered ID',\n};\n\ninterface IGeneralNamePartProps extends IGeneralNameOptions {\n generalName: GeneralName;\n}\n\nexport const GeneralNamePart: FunctionalComponent<IGeneralNamePartProps> = (props) => {\n const { generalName, getDNSNameLink, getIPAddressLink } = props;\n\n if (!generalName) {\n return null;\n }\n\n return Object.keys(generalName).map((name: keyof GeneralName) => {\n const value = generalName[name];\n\n if (value instanceof Name) {\n return [\n <RowValue\n name={names[name] || name}\n value=\"\"\n />,\n <TableRowTable>\n {value.map((relativeDistinguishedName) => (\n relativeDistinguishedName.map((attributeTypeAndValue) => (\n <RowValue\n name={OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type}\n value={attributeTypeAndValue.value.toString()}\n />\n ))\n ))}\n </TableRowTable>,\n ];\n }\n\n if (value instanceof OtherName) {\n try {\n const text = AsnParser.parse(value.value, DisplayText);\n\n return (\n <RowValue\n name={OIDs[value.typeId] || value.typeId}\n value={text.toString()}\n />\n );\n } catch (error) {\n //\n }\n\n try {\n const text = AsnParser.parse(value.value, UserNotice);\n\n if (text.explicitText) {\n return (\n <RowValue\n name={OIDs[value.typeId] || value.typeId}\n value={text.explicitText.toString()}\n />\n );\n }\n } catch (error) {\n //\n }\n\n return (\n <RowValue\n name={OIDs[value.typeId] || value.typeId}\n value={Convert.ToHex(value.value)}\n monospace\n />\n );\n }\n\n if (BufferSourceConverter.isBufferSource(value)) {\n return (\n <RowValue\n name={names[name] || name}\n value={Convert.ToString(value)}\n />\n );\n }\n\n if (value instanceof EDIPartyName) {\n return (\n <RowValue\n name={names[name] || name}\n value={value.partyName.toString()}\n />\n );\n }\n\n if (name === 'dNSName') {\n return (\n <RowValue\n name={names[name] || name}\n value={value}\n href={getDNSNameLink(value)}\n />\n );\n }\n\n if (name === 'iPAddress') {\n return (\n <RowValue\n name={names[name] || name}\n value={value}\n href={getIPAddressLink(value)}\n />\n );\n }\n\n return (\n <RowValue\n name={names[name] || name}\n value={value}\n />\n );\n });\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CRLDistributionPoints } from '@peculiar/asn1-x509';\n\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface ICRLDistributionPointsExtensionProps extends IGeneralNameOptions {\n extension: Extension<CRLDistributionPoints>;\n}\n\nexport const CRLDistributionPointsExtension:\nFunctionalComponent<ICRLDistributionPointsExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.map((point) => ([\n point.distributionPoint?.fullName.map((gn) => (\n <GeneralNamePart\n generalName={gn}\n {...props}\n />\n )),\n point.cRLIssuer?.map((gn) => (\n <GeneralNamePart\n generalName={gn}\n {...props}\n />\n )),\n ]))}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { AuthorityInfoAccessSyntax, SubjectInfoAccessSyntax } from '@peculiar/asn1-x509';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface IInfoAccessSyntaxExtensionProps extends IGeneralNameOptions {\n extension: Extension<AuthorityInfoAccessSyntax | SubjectInfoAccessSyntax>;\n}\n\nexport const InfoAccessSyntaxExtension:\nFunctionalComponent<IInfoAccessSyntaxExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Descriptions\"\n value=\"\"\n />,\n extension.value.map((description) => (\n <TableRowTable>\n <RowValue\n name=\"Method\"\n value={getStringByOID(description.accessMethod)}\n />\n <GeneralNamePart\n generalName={description.accessLocation}\n {...props}\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { SubjectAlternativeName } from '@peculiar/asn1-x509';\n\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface ISubjectAlternativeNameExtensionProps extends IGeneralNameOptions {\n extension: Extension<SubjectAlternativeName>;\n}\n\nexport const SubjectAlternativeNameExtension:\nFunctionalComponent<ISubjectAlternativeNameExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.map((gn) => (\n <GeneralNamePart\n generalName={gn}\n {...props}\n />\n ))}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CertificatePolicies, UserNotice, DisplayText } from '@peculiar/asn1-x509';\nimport { AsnParser } from '@peculiar/asn1-schema';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICertificatePoliciesExtensionProps {\n extension: Extension<CertificatePolicies>;\n}\n\nexport const CertificatePoliciesExtension:\nFunctionalComponent<ICertificatePoliciesExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Policies\"\n value=\"\"\n />,\n extension.value.map((policy) => (\n <TableRowTable>\n <RowValue\n name=\"Policy ID\"\n value={getStringByOID(policy.policyIdentifier)}\n />\n {policy.policyQualifiers && Boolean(policy.policyQualifiers.length) && ([\n <RowValue\n name=\"Qualifiers\"\n value=\"\"\n />,\n policy.policyQualifiers.map((qualifierInfo) => {\n const data = [\n <RowValue\n name=\"Qualifier ID\"\n value={getStringByOID(qualifierInfo.policyQualifierId)}\n />,\n ];\n\n if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.1') {\n const value = AsnParser.parse(qualifierInfo.qualifier, DisplayText);\n\n data.push(\n <RowValue\n name=\"Value\"\n value={value.toString()}\n />,\n );\n }\n\n if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.2') {\n const value = AsnParser.parse(qualifierInfo.qualifier, UserNotice);\n\n if (value.explicitText) {\n data.push(\n <RowValue\n name=\"Value\"\n value={value.explicitText.toString()}\n />,\n );\n }\n }\n\n return (\n <TableRowTable>\n {data}\n </TableRowTable>\n );\n }),\n ])}\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nexport default {\n '9606c02c690033aa1d145f59c6e2648d0549f0df96aab8db915a70d8ecf390a5': 'Akamai CT',\n '39376f545f7b4607f59742d768cd5d2437bf3473b6534a4834bcf72e681c83c9': 'Alpha CT',\n a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638: 'CNNIC CT',\n cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900: 'Certly.IO',\n '1fbc36e002ede97f40199e86b3573b8a4217d80187746ad0da03a06054d20df4': 'Cloudflare “Nimbus2017”',\n db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64: 'Cloudflare “Nimbus2018”',\n '747eda8331ad331091219cce254f4270c2bffd5e422008c6373579e6107bcc56': 'Cloudflare “Nimbus2019”',\n '5ea773f9df56c0e7b536487dd049e0327a919a0c84a112128418759681714558': 'Cloudflare “Nimbus2020”',\n '4494652eb0eeceafc44007d8a8fe28c0dae682bed8cb31b53fd33396b5b681a8': 'Cloudflare “Nimbus2021”',\n '41c8cab1df22464a10c6a13a0942875e4e318b1b03ebeb4bc768f090629606f6': 'Cloudflare “Nimbus2022”',\n '7a328c54d8b72db620ea38e0521ee98416703213854d3bd22bc13a57a352eb52': 'Cloudflare “Nimbus2023”',\n '6ff141b5647e4222f7ef052cefae7c21fd608e27d2af5a6e9f4b8a37d6633ee5': 'DigiCert Nessie2018',\n fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c: 'DigiCert Nessie2019',\n c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565: 'DigiCert Nessie2020',\n eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9: 'DigiCert Nessie2021',\n '51a3b0f5fd01799c566db837788f0ca47acc1b27cbf79e88429a0dfed48b05e5': 'DigiCert Nessie2022',\n b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a: 'DigiCert Nessie2023',\n '5614069a2fd7c2ecd3f5e1bd44b23ec74676b9bc99115cc0ef949855d689d0dd': 'DigiCert Server',\n '8775bfe7597cf88c43995fbdf36eff568d475636ff4ab560c1b4eaff5ea0830f': 'DigiCert Server 2',\n c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360: 'DigiCert Yeti2018',\n e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe: 'DigiCert Yeti2019',\n f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273: 'DigiCert Yeti2020',\n '5cdc4392fee6ab4544b15e9ad456e61037fbd5fa47dca17394b25ee6f6c70eca': 'DigiCert Yeti2021',\n '2245450759552456963fa12ff1f76d86e0232663adc04b7f5dc6835c6ee20f02': 'DigiCert Yeti2022',\n '35cf191bbfb16c57bf0fad4c6d42cbbbb627202651ea3fe12aefa803c33bd64c': 'DigiCert Yeti2023',\n '717ea7420975be84a2723553f1777c26dd51af4e102144094d9019b462fb6668': 'GDCA 1',\n '14308d90ccd030135005c01ca526d81e84e87624e39b6248e08f724aea3bb42a': 'GDCA 2',\n c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa: 'GDCA CT #1',\n '924a30f909336ff435d6993a10ac75a2c641728e7fc2d659ae6188ffad40ce01': 'GDCA CT #2',\n fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28: 'Google “Argon2017”',\n a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25: 'Google “Argon2018”',\n '63f2dbcde83bcc2ccf0b728427576b33a48d61778fbd75a638b1c768544bd88d': 'Google “Argon2019”',\n b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e: 'Google “Argon2020”',\n f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3: 'Google “Argon2021”',\n '2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784': 'Google “Argon2022”',\n e83ed0da3ef5063532e75728bc896bc903d3cbd1116beceb69e1777d6d06bd6e: 'Google “Argon2023”',\n '68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4': 'Google “Aviator”',\n c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6: 'Google “Crucible”',\n '1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb': 'Google “Daedalus”',\n '293c519654c83965baaa50fc5807d4b76fbf587a2972dca4c30cf4e54547f478': 'Google “Icarus”',\n a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10: 'Google “Pilot”',\n ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb: 'Google “Rocketeer”',\n bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185: 'Google “Skydiver”',\n '52eb4b225ec896974850675f23e43bc1d021e3214ce52ecd5fa87c203cdfca03': 'Google “Solera2018”',\n '0b760e9a8b9a682f88985b15e947501a56446bba8830785c3842994386450c00': 'Google “Solera2019”',\n '1fc72ce5a1b799f400c359bff96ca3913548e8644220610952e9ba1774f7bac7': 'Google “Solera2020”',\n a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7: 'Google “Solera2021”',\n '697aafca1a6b536fae21205046debad7e0eaea13d2432e6e9d8fb379f2b9aaf3': 'Google “Solera2022”',\n a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681: 'Google “Submariner”',\n b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77: 'Google “Testtube”',\n b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e: 'Google “Xenon2018”',\n '084114980071532c16190460bcfc47fdc2653afa292c72b37ff863ae29ccc9f0': 'Google “Xenon2019”',\n '07b75c1be57d68fff1b0c61d2315c7bae6577c5794b76aeebc613a1a69d3a21c': 'Google “Xenon2020”',\n '7d3ef2f88fff88556824c2c0ca9e5289792bc50e78097f2e6a9768997e22f0d7': 'Google “Xenon2021”',\n '46a555eb75fa912030b5a28969f4f37d112c4174befd49b885abf2fc70fe6d47': 'Google “Xenon2022”',\n '7461b4a09cfb3d41d75159575b2e7649a445a8d27709b0cc564a6482b7eb41a3': 'Izenpe',\n '8941449c70742e06b9fc9ce7b116ba0024aa36d59af44f0204404f00f7ea8566': 'Izenpe “Argi”',\n '296afa2d568bca0d2ea844956ae9721fc35fa355ecda99693aafd458a71aefdd': 'Let“s Encrypt ”Clicky”',\n '537b69a3564335a9c04904e39593b2c298eb8d7a6e83023635c627248cd6b440': 'Nordu “flimsy”',\n aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd: 'Nordu “plausible”',\n e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273: 'PuChuangSiDa CT',\n cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6: 'SHECA CT 1',\n '32dc59c2d4c41968d56e14bc61ac8f0e45db39faf3c155aa4252f5001fa0c623': 'SHECA CT 2',\n db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98: 'Sectigo (Comodo) “Dodo” CT',\n '6f5376ac31f03119d89900a45115ff77151c11d902c10029068db2089a37d913': 'Sectigo (Comodo) “Mammoth” CT',\n '5581d4c2169036014aea0b9b573c53f0c0e43878702508172fa3aa1d0713d30c': 'Sectigo (Comodo) “Sabre” CT',\n '34bb6ad6c3df9c03eea8a499ff7891486c9d5e5cac92d01f7bfd1bce19db48ef': 'StartCom',\n ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc: 'Symantec',\n a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2: 'Symantec Deneb',\n '15970488d7b997a05beb52512adee8d2e8b4a3165264121a9fabfbd5f85ad93f': 'Symantec “Sirius”',\n bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5: 'Symantec “Vega”',\n b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b: 'Up In The Air “Behind the Sofa”',\n ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d: 'Venafi',\n '03019df3fd85a69a8ebd1facc6da9ba73e469774fe77f579fc5a08b8328c1d6b': 'Venafi Gen2 CT',\n '41b2dc2e89e63ce4af1ba7bb29bf68c6dee6f9f1cc047e30dffae3b3ba259263': 'WoSign',\n '63d0006026dde10bb0601f452446965ee2b6ea2cd4fbc95ac866a550af9075b7': 'WoSign 2',\n '9e4ff73dc3ce220b69217c899e468076abf8d78636d5ccfc85a31a75628ba88b': 'WoSign CT #1',\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport type { CertificateTransparency } from '@peculiar/asn1-cert-transparency';\n\nimport type { Extension } from '../../../crypto/extension';\nimport logs from '../../../constants/logs';\nimport { dateShort } from '../../../utils';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICertificateTransparencyExtensionProps {\n extension: Extension<CertificateTransparency>;\n}\n\nexport const CertificateTransparencyExtension:\nFunctionalComponent<ICertificateTransparencyExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.items.length) && ([\n <RowValue\n name=\"Signed Certificate Timestamps\"\n value=\"\"\n />,\n extension.value.toJSON().map((signedCertificateTimestamp) => (\n <TableRowTable>\n <RowValue\n name=\"Version\"\n value={signedCertificateTimestamp.version + 1}\n />\n <RowValue\n name=\"Log Operator\"\n value={logs[signedCertificateTimestamp.logId] || signedCertificateTimestamp.logId}\n />\n <RowValue\n name=\"Log Key ID\"\n value={signedCertificateTimestamp.logId}\n monospace\n />\n <RowValue\n name=\"Timestamp\"\n value={dateShort(signedCertificateTimestamp.timestamp)}\n />\n <RowValue\n name=\"Signature Algorithm\"\n value={`${signedCertificateTimestamp.hashAlgorithm} ${signedCertificateTimestamp.signatureAlgorithm}`.toUpperCase()}\n />\n <RowValue\n name=\"Signature\"\n value={signedCertificateTimestamp.signature}\n monospace\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { NameConstraints } from '@peculiar/asn1-x509';\n\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface INameConstraintsExtensionProps extends IGeneralNameOptions {\n extension: Extension<NameConstraints>;\n}\n\nexport const NameConstraintsExtension:\nFunctionalComponent<INameConstraintsExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.excludedSubtrees?.map((generalSubtree) => (\n <GeneralNamePart\n generalName={generalSubtree.base}\n {...props}\n />\n ))}\n {extension.value.permittedSubtrees?.map((generalSubtree) => (\n <GeneralNamePart\n generalName={generalSubtree.base}\n {...props}\n />\n ))}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CertificateTemplate } from '@peculiar/asn1-x509-microsoft';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICertificateTemplateExtensionProps {\n extension: Extension<CertificateTemplate>;\n}\n\nexport const CertificateTemplateExtension:\nFunctionalComponent<ICertificateTemplateExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Template ID\"\n value={extension.value.templateID}\n />\n <RowValue\n name=\"Template Major Version\"\n value={extension.value.templateMajorVersion}\n />\n <RowValue\n name=\"Template Minor Version\"\n value={extension.value.templateMinorVersion}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { EnrollCertTypeChoice } from '@peculiar/asn1-x509-microsoft';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IEnrollCertTypeChoiceExtensionProps {\n extension: Extension<EnrollCertTypeChoice>;\n}\n\nexport const EnrollCertTypeChoiceExtension:\nFunctionalComponent<IEnrollCertTypeChoiceExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Name\"\n value={extension.value.toString()}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CaVersion } from '@peculiar/asn1-x509-microsoft';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICaVersionExtensionProps {\n extension: Extension<CaVersion>;\n}\n\nexport const CaVersionExtension: FunctionalComponent<ICaVersionExtensionProps> = (props) => {\n const { extension } = props;\n const version = extension.value.getVersion();\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Certificate Index\"\n value={version.certificateIndex}\n />\n <RowValue\n name=\"Key Index\"\n value={version.keyIndex}\n />\n </BasicExtension>\n );\n};\n","var PdsLocations_1, QcEuPDS_1, QcType_1, QcCClegislation_1;\nimport { __decorate } from \"tslib\";\nimport { AsnArray, AsnProp, AsnPropTypes, AsnType, AsnTypeTypes } from \"@peculiar/asn1-schema\";\nlet Iso4217CurrencyCode = class Iso4217CurrencyCode {\n constructor(value) {\n if (typeof value === \"string\") {\n this.alphabetic = value;\n }\n else if (typeof value === \"number\") {\n this.numeric = value;\n }\n }\n};\n__decorate([\n AsnProp({ type: AsnPropTypes.PrintableString })\n], Iso4217CurrencyCode.prototype, \"alphabetic\", void 0);\n__decorate([\n AsnProp({ type: AsnPropTypes.PrintableString })\n], Iso4217CurrencyCode.prototype, \"numeric\", void 0);\nIso4217CurrencyCode = __decorate([\n AsnType({ type: AsnTypeTypes.Choice })\n], Iso4217CurrencyCode);\nexport { Iso4217CurrencyCode };\nexport class MonetaryValue {\n constructor(params = {}) {\n this.currency = new Iso4217CurrencyCode();\n this.amount = 0;\n this.exponent = 0;\n Object.assign(this, params);\n }\n}\n__decorate([\n AsnProp({ type: Iso4217CurrencyCode })\n], MonetaryValue.prototype, \"currency\", void 0);\n__decorate([\n AsnProp({ type: AsnPropTypes.Integer })\n], MonetaryValue.prototype, \"amount\", void 0);\n__decorate([\n AsnProp({ type: AsnPropTypes.Integer })\n], MonetaryValue.prototype, \"exponent\", void 0);\nlet QcEuLimitValue = class QcEuLimitValue extends MonetaryValue {\n};\nQcEuLimitValue = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence })\n], QcEuLimitValue);\nexport { QcEuLimitValue };\nlet QcEuRetentionPeriod = class QcEuRetentionPeriod {\n constructor(value = 0) {\n this.value = value;\n }\n};\n__decorate([\n AsnProp({ type: AsnPropTypes.Integer })\n], QcEuRetentionPeriod.prototype, \"value\", void 0);\nQcEuRetentionPeriod = __decorate([\n AsnType({ type: AsnTypeTypes.Choice })\n], QcEuRetentionPeriod);\nexport { QcEuRetentionPeriod };\nlet PdsLocation = class PdsLocation {\n constructor(params = {}) {\n this.url = \"\";\n this.language = \"\";\n Object.assign(this, params);\n }\n};\n__decorate([\n AsnProp({ type: AsnPropTypes.IA5String })\n], PdsLocation.prototype, \"url\", void 0);\n__decorate([\n AsnProp({ type: AsnPropTypes.PrintableString })\n], PdsLocation.prototype, \"language\", void 0);\nPdsLocation = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence })\n], PdsLocation);\nexport { PdsLocation };\nlet PdsLocations = PdsLocations_1 = class PdsLocations extends AsnArray {\n constructor(items) {\n super(items);\n Object.setPrototypeOf(this, PdsLocations_1.prototype);\n }\n};\nPdsLocations = PdsLocations_1 = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence, itemType: PdsLocation })\n], PdsLocations);\nexport { PdsLocations };\nlet QcEuPDS = QcEuPDS_1 = class QcEuPDS extends PdsLocations {\n constructor(items) {\n super(items);\n Object.setPrototypeOf(this, QcEuPDS_1.prototype);\n }\n};\nQcEuPDS = QcEuPDS_1 = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence, itemType: PdsLocation })\n], QcEuPDS);\nexport { QcEuPDS };\nlet QcType = QcType_1 = class QcType extends AsnArray {\n constructor(items) {\n super(items);\n Object.setPrototypeOf(this, QcType_1.prototype);\n }\n};\nQcType = QcType_1 = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.ObjectIdentifier })\n], QcType);\nexport { QcType };\nlet QcCClegislation = QcCClegislation_1 = class QcCClegislation extends AsnArray {\n constructor(items) {\n super(items);\n Object.setPrototypeOf(this, QcCClegislation_1.prototype);\n }\n};\nQcCClegislation = QcCClegislation_1 = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.PrintableString })\n], QcCClegislation);\nexport { QcCClegislation };\nexport const id_etsi_qcs = \"0.4.0.1862.1\";\nexport const id_etsi_qcs_qcCompliance = `${id_etsi_qcs}.1`;\nexport const id_etsi_qcs_qcLimitValue = `${id_etsi_qcs}.2`;\nexport const id_etsi_qcs_qcRetentionPeriod = `${id_etsi_qcs}.3`;\nexport const id_etsi_qcs_qcSSCD = `${id_etsi_qcs}.4`;\nexport const id_etsi_qcs_qcPDS = `${id_etsi_qcs}.5`;\nexport const id_etsi_qcs_qcType = `${id_etsi_qcs}.6`;\nexport const id_etsi_qcs_qcCClegislation = `${id_etsi_qcs}.7`;\nexport const id_etsi_qct_esign = `${id_etsi_qcs_qcType}.1`;\nexport const id_etsi_qct_eseal = `${id_etsi_qcs_qcType}.2`;\nexport const id_etsi_qct_web = `${id_etsi_qcs_qcType}.3`;\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport {\n QCStatements,\n id_qcs_pkixQCSyntax_v2,\n SemanticsInformation,\n} from '@peculiar/asn1-x509-qualified';\nimport {\n id_etsi_qcs_qcType,\n QcType,\n id_etsi_qcs_qcPDS,\n PdsLocations,\n id_etsi_qcs_qcRetentionPeriod,\n QcEuRetentionPeriod,\n} from '@peculiar/asn1-x509-qualified-etsi';\nimport { AsnParser } from '@peculiar/asn1-schema';\nimport { Convert } from 'pvtsutils';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IQCStatementsExtensionProps {\n extension: Extension<QCStatements>;\n}\n\nexport const QCStatementsExtension: FunctionalComponent<IQCStatementsExtensionProps> = (props) => {\n const { extension } = props;\n\n function renderStatementInfo(statementId: string, statementInfo: ArrayBuffer) {\n if (!statementInfo.byteLength) {\n return null;\n }\n\n if (statementId === id_qcs_pkixQCSyntax_v2) {\n const semanticsInformation = AsnParser.parse(statementInfo, SemanticsInformation);\n\n return (\n <RowValue\n name=\"Semantics Identifier\"\n value={getStringByOID(semanticsInformation.semanticsIdentifier)}\n />\n );\n }\n\n if (statementId === id_etsi_qcs_qcType) {\n const qcTypes = AsnParser.parse(statementInfo, QcType);\n\n return (\n <RowValue\n name=\"QC Types\"\n value={qcTypes.map((type) => getStringByOID(type)).join(', ')}\n />\n );\n }\n\n if (statementId === id_etsi_qcs_qcRetentionPeriod) {\n const retentionPeriod = AsnParser.parse(statementInfo, QcEuRetentionPeriod);\n\n return (\n <RowValue\n name=\"Retention Period\"\n value={`${retentionPeriod.value} years`}\n />\n );\n }\n\n if (statementId === id_etsi_qcs_qcPDS) {\n const pdsLocations = AsnParser.parse(statementInfo, PdsLocations);\n\n return ([\n <RowValue\n name=\"PDS Locations\"\n value=\"\"\n />,\n pdsLocations.map((location) => (\n <TableRowTable>\n <RowValue\n name=\"URL\"\n value={location.url}\n />\n <RowValue\n name=\"Language\"\n value={location.language}\n />\n </TableRowTable>\n )),\n ]);\n }\n\n return (\n <RowValue\n name=\"Info\"\n value={Convert.ToHex(statementInfo)}\n monospace\n />\n );\n }\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Statements\"\n value=\"\"\n />,\n extension.value.map((statement) => (\n <TableRowTable>\n <RowValue\n name=\"Statement ID\"\n value={getStringByOID(statement.statementId)}\n />\n {renderStatementInfo(statement.statementId, statement.statementInfo)}\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { NetscapeComment } from '@peculiar/asn1-x509-netscape';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface INetscapeCommentExtensionProps {\n extension: Extension<NetscapeComment>;\n}\n\nexport const NetscapeCommentExtension:\nFunctionalComponent<INetscapeCommentExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Comment\"\n value={extension.value.value}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { NetscapeCertType } from '@peculiar/asn1-x509-netscape';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface INetscapeCertTypeExtensionProps {\n extension: Extension<NetscapeCertType>;\n}\n\nexport const NetscapeCertTypeExtension:\nFunctionalComponent<INetscapeCertTypeExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Type\"\n value={extension.value.toJSON().join(', ')}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { LeiRole } from '@peculiar/asn1-lei';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ILeiRoleExtensionProps {\n extension: Extension<LeiRole>;\n}\n\nexport const LeiRoleExtension: FunctionalComponent<ILeiRoleExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Role\"\n value={extension.value.text}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { LeiChoice } from '@peculiar/asn1-lei';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ILeiExtensionProps extends ILeiOptions {\n extension: Extension<LeiChoice>;\n}\n\nexport const LeiExtension: FunctionalComponent<ILeiExtensionProps> = (props) => {\n const { extension, getLEILink } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Identifier\"\n value={extension.value.text}\n href={getLEILink(extension.value.text)}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { Timestamp } from '@peculiar/asn1-adobe-acrobat';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\nimport { l10n } from '../../../utils';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface ITimestampExtensionProps extends IGeneralNameOptions {\n extension: Extension<Timestamp>;\n}\n\nexport const TimestampExtension: FunctionalComponent<ITimestampExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Version\"\n value={extension.value.version}\n />\n <GeneralNamePart\n generalName={extension.value.location}\n {...props}\n />\n <RowValue\n name=\"Requires Auth\"\n value={extension.value.requiresAuth ? l10n.getString('yes') : l10n.getString('no')}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { ArchiveRevInfo } from '@peculiar/asn1-adobe-acrobat';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IArchiveRevInfoExtensionProps {\n extension: Extension<ArchiveRevInfo>;\n}\n\nexport const ArchiveRevInfoExtension:\nFunctionalComponent<IArchiveRevInfoExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Version\"\n value={extension.value.version}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CRLReason } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICRLReasonExtensionProps {\n extension: Extension<CRLReason>;\n}\n\nexport const CRLReasonExtension: FunctionalComponent<ICRLReasonExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Reason\"\n value={extension.value.toJSON()}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Convert } from 'pvtsutils';\nimport { Attribute } from '@peculiar/asn1-x509';\n\nexport function getAttributeValue(attribute: Attribute) {\n return Convert.ToString(attribute.values[0]);\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { SubjectDirectoryAttributes } from '@peculiar/asn1-x509';\n\nimport { Extension } from '../../../crypto/extension';\nimport { getStringByOID } from '../../../utils';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\nimport { getAttributeValue } from './attribute_value';\n\ninterface ISubjectDirectoryAttributesExtensionProps {\n extension: Extension<SubjectDirectoryAttributes>;\n}\n\nexport const SubjectDirectoryAttributesExtension:\nFunctionalComponent<ISubjectDirectoryAttributesExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Attributes\"\n value=\"\"\n />,\n extension.value.map((attribute) => (\n <TableRowTable>\n <RowValue\n name=\"Type\"\n value={getStringByOID(attribute.type)}\n />\n <RowValue\n name=\"Value\"\n value={getAttributeValue(attribute)}\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IAsStringExtensionProps {\n extension: Extension<string>;\n}\n\nexport const AsStringExtension: FunctionalComponent<IAsStringExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Value\"\n value={extension.value}\n monospace\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { PrivateKeyUsagePeriod } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\nimport { dateShort } from '../../../utils';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IPrivateKeyUsagePeriodExtensionProps {\n extension: Extension<PrivateKeyUsagePeriod>;\n}\n\nexport const PrivateKeyUsagePeriodExtension:\nFunctionalComponent<IPrivateKeyUsagePeriodExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Not Before\"\n value={dateShort(extension.value.notBefore)}\n />\n <RowValue\n name=\"Not After\"\n value={dateShort(extension.value.notAfter)}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { EntrustVersionInfo } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IEntrustVersionInfoExtensionProps {\n extension: Extension<EntrustVersionInfo>;\n}\n\nexport const EntrustVersionInfoExtension:\nFunctionalComponent<IEntrustVersionInfoExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Version\"\n value={extension.value.entrustVers}\n />\n <RowValue\n name=\"Info Flags\"\n value={extension.value.entrustInfoFlags.toJSON().join(', ')}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { BiometricSyntax } from '@peculiar/asn1-x509-qualified';\nimport { Convert } from 'pvtsutils';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IBiometricSyntaxExtensionProps {\n extension: Extension<BiometricSyntax>;\n}\n\nexport const BiometricSyntaxExtension:\nFunctionalComponent<IBiometricSyntaxExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Biometrics\"\n value=\"\"\n />,\n extension.value.map((data) => (\n <TableRowTable>\n <RowValue\n name=\"OID\"\n value={getStringByOID(data.typeOfBiometricData.biometricDataOid)}\n />\n <RowValue\n name=\"Type\"\n value={data.typeOfBiometricData.predefinedBiometricType}\n />\n <RowValue\n name=\"Algorithm\"\n value={getStringByOID(data.hashAlgorithm.algorithm)}\n />\n <RowValue\n name=\"Hash\"\n value={Convert.ToHex(data.biometricDataHash.buffer)}\n monospace\n />\n <RowValue\n name=\"Source Uri\"\n value={data.sourceDataUri}\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport {\n LogotypeExtn,\n LogotypeInfo,\n LogotypeImage,\n LogotypeAudio,\n} from '@peculiar/asn1-x509-logotype';\nimport { Convert } from 'pvtsutils';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ILogotypeExtensionProps {\n extension: Extension<LogotypeExtn>;\n}\n\nexport const LogotypeExtension: FunctionalComponent<ILogotypeExtensionProps> = (props) => {\n const { extension } = props;\n\n const renderImage = (image?: LogotypeImage[]) => {\n if (!image) {\n return null;\n }\n\n return image.map((img) => {\n const { imageDetails } = img;\n\n return [\n <RowValue\n name=\"Image Type\"\n value={imageDetails.mediaType}\n />,\n <RowValue\n name=\"Image Hash\"\n value={Convert.ToHex(imageDetails.logotypeHash[0].hashValue)}\n monospace\n />,\n <RowValue\n name=\"Image URL\"\n value={imageDetails.logotypeURI[0]}\n monospace\n collapse\n />,\n <RowValue\n name=\"Image Hash Algorithm\"\n value={getStringByOID(imageDetails.logotypeHash[0].hashAlg.algorithm)}\n />,\n ];\n });\n };\n\n const renderAudio = (audio?: LogotypeAudio[]) => {\n if (!audio) {\n return null;\n }\n\n return audio.map((aud) => {\n const { audioDetails } = aud;\n\n return [\n <RowValue\n name=\"Audio Type\"\n value={audioDetails.mediaType}\n />,\n <RowValue\n name=\"Audio Hash\"\n value={Convert.ToHex(audioDetails.logotypeHash[0].hashValue)}\n monospace\n />,\n <RowValue\n name=\"Audio URL\"\n value={audioDetails.logotypeURI[0]}\n monospace\n collapse\n />,\n <RowValue\n name=\"Audio Hash Algorithm\"\n value={getStringByOID(audioDetails.logotypeHash[0].hashAlg.algorithm)}\n />,\n ];\n });\n };\n\n const renderLogo = (title: string, info?: LogotypeInfo) => {\n if (!info || !info.direct) {\n return null;\n }\n\n const { image, audio } = info.direct;\n\n return [\n <RowValue\n name=\"Type\"\n value={title}\n />,\n renderImage(image),\n renderAudio(audio),\n <tr>\n <td />\n <td />\n </tr>,\n ];\n };\n\n return (\n <BasicExtension\n extension={extension}\n >\n {renderLogo('Subject', extension.value.subjectLogo)}\n {renderLogo('Issuer', extension.value.issuerLogo)}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { TNAuthorizationList } from '@peculiar/asn1-rfc8226';\n\nimport { RowValue, TableRowTable } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ITNAuthListExtensionProps {\n extension: Extension<TNAuthorizationList>;\n}\n\nexport const TNAuthListExtension: FunctionalComponent<ITNAuthListExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.length > 0 && ([\n <RowValue\n name=\"Entries\"\n value=\"\"\n />,\n extension.value.map((entry) => (\n <TableRowTable>\n <RowValue\n name=\"SPC\"\n value={entry.spc}\n />\n <RowValue\n name=\"Range\"\n value={entry.range ? `start=${entry.range.start} count==${entry.range.count}` : null}\n />\n <RowValue\n name=\"One\"\n value={entry.one}\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { PolicyConstraints } from '@peculiar/asn1-x509';\nimport { AsnIntegerArrayBufferConverter } from '@peculiar/asn1-schema';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IPolicyConstraintsExtensionProps {\n extension: Extension<PolicyConstraints>;\n}\n\nexport const PolicyConstraintsExtension:\nFunctionalComponent<IPolicyConstraintsExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.requireExplicitPolicy && (\n <RowValue\n name=\"Require Explicit Policy\"\n value={AsnIntegerArrayBufferConverter.toASN(\n extension.value.requireExplicitPolicy,\n ).valueBlock.toString()}\n />\n )}\n {extension.value.inhibitPolicyMapping && (\n <RowValue\n name=\"Inhibit Policy Mapping\"\n value={AsnIntegerArrayBufferConverter.toASN(\n extension.value.inhibitPolicyMapping,\n ).valueBlock.toString()}\n />\n )}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { PolicyMappings } from '@peculiar/asn1-x509';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IPolicyMappingsExtensionProps {\n extension: Extension<PolicyMappings>;\n}\n\nexport const PolicyMappingsExtension:\nFunctionalComponent<IPolicyMappingsExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.length > 0 && ([\n <RowValue\n name=\"Policies\"\n value=\"\"\n />,\n extension.value.map((policy) => (\n <TableRowTable>\n <RowValue\n name=\"Issuer Domain\"\n value={getStringByOID(policy.issuerDomainPolicy)}\n />\n <RowValue\n name=\"Subject Domain\"\n value={getStringByOID(policy.subjectDomainPolicy)}\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CRLNumber } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\nimport { l10n } from '../../../utils';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICRLNumberExtensionProps {\n extension: Extension<CRLNumber>;\n}\n\nexport const CRLNumberExtension: FunctionalComponent<ICRLNumberExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name={l10n.getString('value')}\n value={extension.value.value}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { IssuingDistributionPoint } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\nimport { l10n } from '../../../utils';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface IIssuingDistributionPointExtensionProps extends IGeneralNameOptions {\n extension: Extension<IssuingDistributionPoint>;\n}\n\n// eslint-disable-next-line max-len\nexport const IssuingDistributionPointExtension: FunctionalComponent<IIssuingDistributionPointExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.distributionPoint?.fullName.map((gn) => (\n <GeneralNamePart\n generalName={gn}\n {...props}\n />\n ))}\n {extension.value.onlySomeReasons && (\n <RowValue\n name={l10n.getString('onlyReasons')}\n value={extension.value.onlySomeReasons.toJSON().join(', ')}\n />\n )}\n {extension.value.indirectCRL && (\n <RowValue\n name={l10n.getString('indirectCRL')}\n value={l10n.getString('yes')}\n />\n )}\n {extension.value.onlyContainsUserCerts && (\n <RowValue\n name={l10n.getString('onlyUserCertificates')}\n value={l10n.getString('yes')}\n />\n )}\n {extension.value.onlyContainsAttributeCerts && (\n <RowValue\n name={l10n.getString('onlyAttributeCertificates')}\n value={l10n.getString('yes')}\n />\n )}\n {extension.value.onlyContainsCACerts && (\n <RowValue\n name={l10n.getString('onlyCACertificates')}\n value={l10n.getString('yes')}\n />\n )}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport {\n NonStandardKeyDescription,\n AttestationApplicationId,\n AuthorizationList,\n IntegerSet,\n RootOfTrust,\n} from '@peculiar/asn1-android';\nimport { Convert, BufferSourceConverter } from 'pvtsutils';\nimport { AsnParser } from '@peculiar/asn1-schema';\n\nimport { l10n, camelCaseToWords } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IKeyDescriptionExtensionProps {\n extension: Extension<NonStandardKeyDescription>;\n}\n\nexport const KeyDescriptionExtension:\nFunctionalComponent<IKeyDescriptionExtensionProps> = (props) => {\n const { extension } = props;\n\n const renderRowValue = (data: Object) => Object.keys(data).map((keyName) => {\n const keyValue = data[keyName];\n let value: string | number | string[] = '';\n\n switch (true) {\n case typeof keyValue === 'string' || typeof keyValue === 'number':\n value = keyValue;\n break;\n\n case keyValue instanceof IntegerSet:\n value = keyValue.join(', ');\n break;\n\n case typeof keyValue === 'boolean':\n value = keyValue\n ? l10n.getString('yes')\n : l10n.getString('no');\n break;\n\n case Object.is(keyValue, null):\n value = 'NULL';\n break;\n\n case keyValue instanceof RootOfTrust:\n return [\n <RowValue\n name={camelCaseToWords(keyName)}\n value=\"\"\n />,\n <TableRowTable>\n {renderRowValue(keyValue)}\n </TableRowTable>,\n ];\n\n case BufferSourceConverter.isBufferSource(keyValue):\n if (keyName === 'attestationApplicationId') {\n try {\n const parsed = AsnParser.parse(keyValue, AttestationApplicationId);\n\n if (parsed.packageInfos.length || parsed.signatureDigests.length) {\n return [\n <RowValue\n name={camelCaseToWords(keyName)}\n value=\"\"\n />,\n Boolean(parsed.packageInfos) && (\n <TableRowTable>\n <RowValue\n name={camelCaseToWords('packageInfos')}\n value=\"\"\n />\n {parsed.packageInfos.map((attestationPackageInfo) => (\n <TableRowTable>\n {renderRowValue(attestationPackageInfo)}\n </TableRowTable>\n ))}\n </TableRowTable>\n ),\n ];\n }\n } catch (error) {\n //\n }\n }\n\n try {\n value = Convert.ToString(keyValue);\n } catch (error) {\n value = Convert.ToHex(keyValue);\n }\n\n break;\n\n default:\n }\n\n return (\n <RowValue\n name={camelCaseToWords(keyName)}\n value={value}\n />\n );\n });\n\n const renderAuthorizationList = (title: string, authorizationList: AuthorizationList[]) => {\n if (authorizationList.length === 0) {\n return null;\n }\n\n return [\n <RowValue\n name={title}\n value=\"\"\n />,\n <TableRowTable>\n {authorizationList.map(renderRowValue)}\n </TableRowTable>,\n ];\n };\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name={camelCaseToWords('attestationVersion')}\n value={extension.value.attestationVersion}\n />\n <RowValue\n name={camelCaseToWords('attestationSecurityLevel')}\n value={extension.value.attestationSecurityLevel}\n />\n <RowValue\n name={camelCaseToWords('keymasterVersion')}\n value={extension.value.keymasterVersion}\n />\n <RowValue\n name={camelCaseToWords('keymasterSecurityLevel')}\n value={extension.value.keymasterSecurityLevel}\n />\n <RowValue\n name={camelCaseToWords('attestationChallenge')}\n value={Convert.ToString(extension.value.attestationChallenge)}\n />\n <RowValue\n name={camelCaseToWords('uniqueId')}\n value={Convert.ToString(extension.value.uniqueId) || undefined}\n />\n {renderAuthorizationList(camelCaseToWords('softwareEnforced'), extension.value.softwareEnforced)}\n {renderAuthorizationList(camelCaseToWords('teeEnforced'), extension.value.teeEnforced)}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport { Extension } from '../../../crypto/extension';\nimport { CabforganizationIdentifier } from '../../../crypto/extensions';\nimport { RowValue } from '../row';\n\nimport { BasicExtension } from './basic_extension';\nimport { camelCaseToWords } from '../../../utils';\n\ninterface ICabforganizationIdentifierExtensionProps {\n extension: Extension<CabforganizationIdentifier>;\n}\n\nexport const CabforganizationIdentifierExtension: FunctionalComponent<\nICabforganizationIdentifierExtensionProps\n> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Object.keys(extension.value).map((keyName) => (\n <RowValue\n name={camelCaseToWords(keyName)}\n value={extension.value[keyName]}\n />\n ))}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport {\n KeyUsage,\n BasicConstraints,\n ExtendedKeyUsage,\n SubjectKeyIdentifier,\n AuthorityKeyIdentifier,\n CRLDistributionPoints,\n AuthorityInfoAccessSyntax,\n SubjectAlternativeName,\n CertificatePolicies,\n NameConstraints,\n CRLReason,\n CRLNumber,\n SubjectDirectoryAttributes,\n PrivateKeyUsagePeriod,\n EntrustVersionInfo,\n PolicyConstraints,\n PolicyMappings,\n SubjectInfoAccessSyntax,\n IssuingDistributionPoint,\n} from '@peculiar/asn1-x509';\nimport { CertificateTransparency } from '@peculiar/asn1-cert-transparency';\nimport {\n CertificateTemplate,\n EnrollCertTypeChoice,\n CaVersion,\n} from '@peculiar/asn1-x509-microsoft';\nimport { QCStatements, BiometricSyntax } from '@peculiar/asn1-x509-qualified';\nimport { NetscapeComment, NetscapeCertType } from '@peculiar/asn1-x509-netscape';\nimport { LeiRole, LeiChoice } from '@peculiar/asn1-lei';\nimport { Timestamp, ArchiveRevInfo } from '@peculiar/asn1-adobe-acrobat';\nimport { LogotypeExtn } from '@peculiar/asn1-x509-logotype';\nimport { TNAuthorizationList } from '@peculiar/asn1-rfc8226';\nimport { NonStandardKeyDescription } from '@peculiar/asn1-android';\n\nimport { RowTitle } from '../row';\nimport { Extension, TExtensionValue } from '../../../crypto/extension';\nimport {\n CabforganizationIdentifier,\n} from '../../../crypto/extensions';\n\nimport { KeyUsageExtension } from './key_usage_extension';\nimport { BasicConstraintsExtension } from './basic_constraints_extension';\nimport { ExtendedKeyUsageExtension } from './extended_key_usage_extension';\nimport { SubjectKeyIdentifierExtension } from './subject_key_identifier_extension';\nimport { AuthorityKeyIdentifierExtension } from './authority_key_identifier_extension';\nimport { CRLDistributionPointsExtension } from './crl_distribution_points_extension';\nimport { InfoAccessSyntaxExtension } from './info_access_syntax_extension';\nimport { SubjectAlternativeNameExtension } from './subject_alternative_name_extension';\nimport { CertificatePoliciesExtension } from './certificate_policies_extension';\nimport { CertificateTransparencyExtension } from './certificate_transparency_extension';\nimport { NameConstraintsExtension } from './name_constraints_extension';\nimport { CertificateTemplateExtension } from './certificate_template_extension';\nimport { EnrollCertTypeChoiceExtension } from './enroll_cert_type_extension';\nimport { CaVersionExtension } from './ca_version_extension';\nimport { QCStatementsExtension } from './qc_statements_extension';\nimport { NetscapeCommentExtension } from './netscape_comment_extension';\nimport { NetscapeCertTypeExtension } from './netscape_cert_type_extension';\nimport { LeiRoleExtension } from './lei_role_extennsion';\nimport { LeiExtension } from './lei_extension';\nimport { TimestampExtension } from './timestamp_extension';\nimport { ArchiveRevInfoExtension } from './archive_rev_info_extension';\nimport { CRLReasonExtension } from './crl_reason_extension';\nimport { SubjectDirectoryAttributesExtension } from './subject_directory_attributes_extension';\nimport { AsStringExtension } from './as_string_extension';\nimport { BasicExtension } from './basic_extension';\nimport { PrivateKeyUsagePeriodExtension } from './private_key_usage_period_extension';\nimport { EntrustVersionInfoExtension } from './entrust_version_info_extension';\nimport { BiometricSyntaxExtension } from './biometric_syntax_extension';\nimport { LogotypeExtension } from './logotype_extension';\nimport { TNAuthListExtension } from './tn_auth_list_extension';\nimport { PolicyConstraintsExtension } from './policy_constraints_extension';\nimport { PolicyMappingsExtension } from './policy_mappings_extension';\nimport { CRLNumberExtension } from './crl_number_extension';\nimport { IssuingDistributionPointExtension } from './issuing_distribution_point_extension';\nimport { KeyDescriptionExtension } from './key_description_extension';\nimport { CabforganizationIdentifierExtension } from './cabforganization_identifier_extension';\n\ninterface IExtensionsProps extends\n IGeneralNameOptions,\n ILeiOptions,\n IAuthorityKeyIdentifierOptions,\n ISubjectKeyIdentifierOptions {\n extensions: Extension<TExtensionValue>[];\n title?: string;\n}\n\nexport const Extensions: FunctionalComponent<IExtensionsProps> = (props) => {\n const { extensions, title } = props;\n\n if (!extensions || !extensions.length) {\n return null;\n }\n\n return ([\n <RowTitle\n value={title || 'Extensions'}\n />,\n extensions.map((extension) => {\n try {\n if (extension.value instanceof KeyUsage) {\n return (\n <KeyUsageExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof BasicConstraints) {\n return (\n <BasicConstraintsExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof ExtendedKeyUsage) {\n return (\n <ExtendedKeyUsageExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof SubjectKeyIdentifier) {\n return (\n <SubjectKeyIdentifierExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof AuthorityKeyIdentifier) {\n return (\n <AuthorityKeyIdentifierExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof CRLDistributionPoints) {\n return (\n <CRLDistributionPointsExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (\n extension.value instanceof AuthorityInfoAccessSyntax\n || extension.value instanceof SubjectInfoAccessSyntax\n ) {\n return (\n <InfoAccessSyntaxExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof SubjectAlternativeName) {\n return (\n <SubjectAlternativeNameExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof CertificatePolicies) {\n return (\n <CertificatePoliciesExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof CertificateTransparency) {\n return (\n <CertificateTransparencyExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof NameConstraints) {\n return (\n <NameConstraintsExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof CertificateTemplate) {\n return (\n <CertificateTemplateExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof EnrollCertTypeChoice) {\n return (\n <EnrollCertTypeChoiceExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof CaVersion) {\n return (\n <CaVersionExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof QCStatements) {\n return (\n <QCStatementsExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof NetscapeComment) {\n return (\n <NetscapeCommentExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof NetscapeCertType) {\n return (\n <NetscapeCertTypeExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof LeiRole) {\n return (\n <LeiRoleExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof LeiChoice) {\n return (\n <LeiExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof Timestamp) {\n return (\n <TimestampExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof ArchiveRevInfo) {\n return (\n <ArchiveRevInfoExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof CRLReason) {\n return (\n <CRLReasonExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof SubjectDirectoryAttributes) {\n return (\n <SubjectDirectoryAttributesExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof PrivateKeyUsagePeriod) {\n return (\n <PrivateKeyUsagePeriodExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof EntrustVersionInfo) {\n return (\n <EntrustVersionInfoExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof BiometricSyntax) {\n return (\n <BiometricSyntaxExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof LogotypeExtn) {\n return (\n <LogotypeExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof TNAuthorizationList) {\n return (\n <TNAuthListExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof PolicyConstraints) {\n return (\n <PolicyConstraintsExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof PolicyMappings) {\n return (\n <PolicyMappingsExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof CRLNumber) {\n return (\n <CRLNumberExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof IssuingDistributionPoint) {\n return (\n <IssuingDistributionPointExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof NonStandardKeyDescription) {\n return (\n <KeyDescriptionExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof CabforganizationIdentifier) {\n return (\n <CabforganizationIdentifierExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (typeof extension.value === 'string') {\n return (\n <AsStringExtension\n extension={extension as any}\n />\n );\n }\n\n return (\n <BasicExtension\n extension={extension}\n />\n );\n } catch (error) {\n console.error('Error render extension:', extension.asn.extnID);\n\n return null;\n }\n }),\n ]);\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport {\n X509Certificate,\n X509AttributeCertificate,\n Pkcs10CertificateRequest,\n X509Crl,\n} from '../../crypto';\nimport { l10n } from '../../utils';\nimport { Button } from '../button';\nimport { DownloadIcon } from '../icons';\nimport { RowTitle } from './row';\n\ntype CertificateType = X509Certificate\n| X509AttributeCertificate\n| Pkcs10CertificateRequest\n| X509Crl;\n\ninterface IMiscellaneousProps {\n certificate: CertificateType;\n}\n\nexport const Miscellaneous: FunctionalComponent<IMiscellaneousProps> = (props) => {\n const { certificate } = props;\n\n return [\n <RowTitle\n value={l10n.getString('miscellaneous')}\n />,\n <tr>\n <td>\n <Button\n onClick={() => certificate.downloadAsPEM()}\n startIcon={<DownloadIcon />}\n >\n {l10n.getString('download.pem')}\n </Button>\n </td>\n </tr>,\n <tr>\n <td>\n <Button\n onClick={() => certificate.downloadAsDER()}\n startIcon={<DownloadIcon />}\n >\n {l10n.getString('download.der')}\n </Button>\n </td>\n </tr>,\n ];\n};\n"],"mappings":";;;;;;;;;;wBAUgBA,GAAeC,GAC7B,IAAMC,EAAMC,EAAKF,GAEjB,GAAIC,EAAK,CACP,MAAO,GAAAE,OAAGF,EAAG,MAAAE,OAAKH,EAAK,I,CAGzB,OAAOA,CACT;;;;;;;wBCVgBI,GAAiBJ,GAC/B,IAAMK,EAASL,EAAMM,QAAQ,WAAY,OAEzC,OAAOD,EAAOE,OAAO,GAAGC,cAAgBH,EAAOI,MAAM,EACvD;;;;;;;mBCJaC,GAAUC,EAAA,KAAG,SAACC,GAAgB,2CAAAT,OAAqCS,EAArC,I,IAE9BC,GAAcF,EAAA,KAAG,SAACG,GAAoB,sEAAAX,OAAgEW,EAAhE,I,IAEtCC,GAAgBJ,EAAA,KAAG,SAACK,GAAsB,+DAAAb,OAAyDa,EAAzD;;;;;;;wBCJ/BC,GAAOjB,GAC7B,OAAOA,EAAMkB,QAAQ,UAAY,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A2B9C,EAAUC,IAAIC,QAEvD,OAAO,I,KAIf;;;;;;;mBCjYayT,GAAatY,EAAA,KAA6C,SAACc,GAC9D,IAAAyX,EAAgBzX,EAAKyX,YAE7B,MAAO,CACL5X,EAACE,GAAQ,CACPxB,MAAOkD,EAAKC,UAAU,mBAExB7B,EAAA,UACEA,EAAA,UACEA,EAAC6X,GAAM,CACLC,QAAS,WAAM,OAAAF,EAAYG,eAAZ,EACfC,UAAWhY,EAACiY,GAAY,OAEvBrW,EAAKC,UAAU,mBAItB7B,EAAA,UACEA,EAAA,UACEA,EAAC6X,GAAM,CACLC,QAAS,WAAM,OAAAF,EAAYM,eAAZ,EACfF,UAAWhY,EAACiY,GAAY,OAEvBrW,EAAKC,UAAU,mBAK1B,G"}
@@ -0,0 +1,20 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ System.register(["./p-821bdcdc.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.h}],execute:function(){
5
+ /**
6
+ * @license
7
+ * Copyright (c) Peculiar Ventures, LLC.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var e=t("A",(function(t){var e=t.color,n=e===void 0?"gray-10":e;return r("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",fill:"none"},r("path",{stroke:"var(--pv-color-".concat(n,")"),"stroke-linecap":"round","stroke-width":"1.5",d:"m19.222 12.778-3.851 4.279a.2.2 0 0 1-.297 0l-3.852-4.28"}))}));
13
+ /**
14
+ * @license
15
+ * Copyright (c) Peculiar Ventures, LLC.
16
+ *
17
+ * This source code is licensed under the MIT license found in the
18
+ * LICENSE file in the root directory of this source tree.
19
+ */var n=t("a",(function(t){var e=t.color,n=e===void 0?"gray-10":e;return r("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",fill:"none"},r("path",{stroke:"var(--pv-color-".concat(n,")"),"stroke-linecap":"round","stroke-width":"1.5",d:"m11.222 17.722 3.852-4.28a.2.2 0 0 1 .297 0l3.851 4.28"}))}))}}}));
20
+ //# sourceMappingURL=p-c241e4ba.system.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["ArrowBottomIcon","exports","props","_a","color","h","xmlns","width","height","fill","stroke","concat","d","ArrowTopIcon"],"sources":["src/components/icons/arrow_bottom.tsx","src/components/icons/arrow_top.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { ColorType } from '../../interface';\n\nexport const ArrowBottomIcon: FunctionalComponent<{ color?: ColorType }> = (props) => {\n const { color = 'gray-10' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"30\"\n fill=\"none\"\n >\n <path\n stroke={`var(--pv-color-${color})`}\n // eslint-disable-next-line react/no-unknown-property\n stroke-linecap=\"round\"\n stroke-width=\"1.5\"\n d=\"m19.222 12.778-3.851 4.279a.2.2 0 0 1-.297 0l-3.852-4.28\"\n />\n </svg>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { ColorType } from '../../interface';\n\nexport const ArrowTopIcon: FunctionalComponent<{ color?: ColorType }> = (props) => {\n const { color = 'gray-10' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"30\"\n fill=\"none\"\n >\n <path\n stroke={`var(--pv-color-${color})`}\n // eslint-disable-next-line react/no-unknown-property\n stroke-linecap=\"round\"\n stroke-width=\"1.5\"\n d=\"m11.222 17.722 3.852-4.28a.2.2 0 0 1 .297 0l3.851 4.28\"\n />\n </svg>\n );\n};\n"],"mappings":";;;;;;;;;;;IAWaA,EAAeC,EAAA,KAA+C,SAACC,GAClE,IAAAC,EAAsBD,EAAKE,MAA3BA,EAAKD,SAAA,EAAG,UAASA,EAEzB,OACEE,EAAA,OACEC,MAAM,6BACNC,MAAM,KACNC,OAAO,KACPC,KAAK,QAELJ,EAAA,QACEK,OAAQ,kBAAAC,OAAkBP,EAAK,KAAG,iBAEnB,QAAO,eACT,MACbQ,EAAE,6DAIV;;;;;;;aCnBaC,EAAYZ,EAAA,KAA+C,SAACC,GAC/D,IAAAC,EAAsBD,EAAKE,MAA3BA,EAAKD,SAAA,EAAG,UAASA,EAEzB,OACEE,EAAA,OACEC,MAAM,6BACNC,MAAM,KACNC,OAAO,KACPC,KAAK,QAELJ,EAAA,QACEK,OAAQ,kBAAAC,OAAkBP,EAAK,KAAG,iBAEnB,QAAO,eACT,MACbQ,EAAE,2DAIV,G"}
1
+ {"version":3,"names":["ArrowBottomIcon","exports","props","_a","color","h","xmlns","width","height","fill","stroke","concat","d","ArrowTopIcon"],"sources":["src/components/icons/arrow_bottom.tsx","src/components/icons/arrow_top.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { ColorType } from '../../interface';\n\nexport const ArrowBottomIcon: FunctionalComponent<{ color?: ColorType }> = (props) => {\n const { color = 'gray-10' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"30\"\n fill=\"none\"\n >\n <path\n stroke={`var(--pv-color-${color})`}\n // eslint-disable-next-line react/no-unknown-property\n stroke-linecap=\"round\"\n stroke-width=\"1.5\"\n d=\"m19.222 12.778-3.851 4.279a.2.2 0 0 1-.297 0l-3.852-4.28\"\n />\n </svg>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { ColorType } from '../../interface';\n\nexport const ArrowTopIcon: FunctionalComponent<{ color?: ColorType }> = (props) => {\n const { color = 'gray-10' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"30\"\n fill=\"none\"\n >\n <path\n stroke={`var(--pv-color-${color})`}\n // eslint-disable-next-line react/no-unknown-property\n stroke-linecap=\"round\"\n stroke-width=\"1.5\"\n d=\"m11.222 17.722 3.852-4.28a.2.2 0 0 1 .297 0l3.851 4.28\"\n />\n </svg>\n );\n};\n"],"mappings":";;;;;;;;;;;IAWaA,EAAeC,EAAA,KAA+C,SAACC,GAClE,IAAAC,EAAsBD,EAAKE,MAA3BA,EAAKD,SAAA,EAAG,UAASA,EAEzB,OACEE,EAAA,OACEC,MAAM,6BACNC,MAAM,KACNC,OAAO,KACPC,KAAK,QAELJ,EAAA,QACEK,OAAQ,kBAAAC,OAAkBP,EAAK,KAAG,iBAEnB,QAAO,eACT,MACbQ,EAAE,6DAIV;;;;;;;mBCnBaC,EAAYZ,EAAA,KAA+C,SAACC,GAC/D,IAAAC,EAAsBD,EAAKE,MAA3BA,EAAKD,SAAA,EAAG,UAASA,EAEzB,OACEE,EAAA,OACEC,MAAM,6BACNC,MAAM,KACNC,OAAO,KACPC,KAAK,QAELJ,EAAA,QACEK,OAAQ,kBAAAC,OAAkBP,EAAK,KAAG,iBAEnB,QAAO,eACT,MACbQ,EAAE,2DAIV,G"}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ System.register([],(function(t){"use strict";return{execute:function(){var n=t("g",(function(){}))}}}));
5
+ //# sourceMappingURL=p-c2995a63.system.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["globalScripts","exports"],"sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\n"],"mappings":";;;uEAAY,IAACA,EAAaC,EAAA,KAAG,WAAM,G"}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ import{r as t,c as e,h as a,H as r}from"./p-3cb79cd9.js";import{K as o,L as c,M as s,O as i,P as n}from"./p-6acca6ea.js";import{a as v}from"./p-25a532a3.js";import{X as p}from"./p-31d5da39.js";import{X as l,a as h}from"./p-82e4faf0.js";import{P as d}from"./p-78a6b479.js";import{T as b,B as g}from"./p-4bc5ddbe.js";const f="*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%}.textarea{min-height:300px;width:100%;border-radius:4px;border:1px solid var(--pv-color-gray-5);padding:14px;font-family:monospace;resize:vertical}.viewer{margin-top:var(--pv-size-base-12)}.controls{margin-top:var(--pv-size-base-2);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--pv-size-base-2)}.control_row{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--pv-size-base)}";const y=f;const x=class{constructor(a){t(this,a);this.successParse=e(this,"successParse",7);this.clearCertificate=e(this,"clearCertificate",7);this.handleClickDecode=()=>{const{value:t}=this.inputPaste;if(t){this.decode(t)}};this.handleClickClear=()=>{this.clearValue()};this.handleChangeInputFile=async t=>{const e=t.target;if(e.files){const t=await v(e.files[0]);if(typeof t.value==="string"){this.decode(t.value)}e.value=""}};this.handleChangeExample=t=>{if(t.target.value){this.decode(t.target.value)}else{this.clearValue()}};this.handleDropFile=async t=>{t.stopPropagation();t.preventDefault();const e=t.dataTransfer;if(e.files){const t=await v(e.files[0]);if(typeof t.value==="string"){this.decode(t.value)}}};this.certificateExamples=undefined;this.defaultCertificate=undefined;this.certificateDecoded=undefined}componentDidLoad(){if(this.defaultCertificate){setTimeout((()=>this.decode(this.defaultCertificate)),100)}}clearValue(){this.inputPaste.value="";this.certificateDecoded=null;this.clearCertificate.emit()}setValue(t){this.certificateDecoded=t;this.inputPaste.value=t.toString("pem");this.successParse.emit(t.toString("base64"))}decode(t){const e=o(t);const a=c(t);const r=s(t);const v=i(t);const b=n(t);let g;let f;if(e&&!(a||v||r||b)){this.clearValue();alert("Unsupported file type. Please try to use Certificate/AttributeCertificate/CertificateRequest/CRL.");return}try{if(a){g=new p(t)}if(v){g=new l(t)}if(r){g=new d(t)}if(b){g=new h(t)}}catch(t){f=t}if(!g){try{g=new p(t)}catch(t){f=t}}if(!g){try{g=new l(t)}catch(t){f=t}}if(!g){try{g=new d(t)}catch(t){f=t}}if(!g){try{g=new h(t)}catch(t){f=t}}if(!g){this.clearValue();console.log(f);alert("Error decoding file. Please try to use Certificate/AttributeCertificate/CertificateRequest/CRL.")}else{this.setValue(g)}}render(){var t;return a(r,{key:"7e7738b6552c8bcecc62850e7cffd915b94dc144"},a("textarea",{key:"fce9e435a476f015ac9fcafba23cb6cd338734b9",placeholder:"Certificate DER or PEM",class:"textarea t-b2 c-black",ref:t=>{this.inputPaste=t},onDrop:this.handleDropFile}),a("div",{key:"5fbb94920b5226a81ca57c9ebf489f081684f282",class:"controls"},a("div",{key:"828ff9a65a035dafa43b8bca8f7746682b86afac",class:"control_row"},a(b,{key:"80b75774669e2f54dda2fbdbd87cb5a6932f43fc",variant:"b3",color:"secondary-tint-2"},"Drag or load file:"),a("input",{key:"fb281f25973807c84fda36dd52c99c1fe6c62398",type:"file",accept:"application/pkix-cert,application/x-x509-ca-cert,application/x-x509-user-cert,application/pkcs10,application/pkix-crl,.csr,.req,.crl",onChange:this.handleChangeInputFile,value:""})),((t=this.certificateExamples)===null||t===void 0?void 0:t.length)&&a("div",{class:"control_row"},a(b,{variant:"b3",color:"secondary-tint-2"},"Load examples:"),a("select",{onChange:this.handleChangeExample},a("option",{value:""},"None"),this.certificateExamples.map((t=>a("option",{value:t.value},t.title))))),a("div",{key:"a975c8f848d0c2dd2dd1e74d558051a3a28c99e7",class:"control_row"},a(g,{key:"4979abadf98b879c32751d5454d00bb4323a306b",onClick:this.handleClickDecode},"Decode"),a(g,{key:"2f1118d241db412e56a00bf449acbc24853efff9",onClick:this.handleClickClear},"Clear"))),this.certificateDecoded instanceof p&&a("peculiar-certificate-viewer",{certificate:this.certificateDecoded,class:"viewer",download:true}),this.certificateDecoded instanceof l&&a("peculiar-attribute-certificate-viewer",{certificate:this.certificateDecoded,class:"viewer",download:true}),this.certificateDecoded instanceof d&&a("peculiar-csr-viewer",{certificate:this.certificateDecoded,class:"viewer",download:true}),this.certificateDecoded instanceof h&&a("peculiar-crl-viewer",{certificate:this.certificateDecoded,class:"viewer",download:true}))}};x.style=y;export{x as peculiar_certificate_decoder};
5
+ //# sourceMappingURL=p-c3fce3f5.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["certificateDecoderCss","PeculiarCertificateDecoderStyle0","CertificateDecoder","this","handleClickDecode","value","inputPaste","decode","handleClickClear","clearValue","handleChangeInputFile","async","event","element","target","files","file","readAsBinaryString","handleChangeExample","handleDropFile","stopPropagation","preventDefault","dataTransfer","componentDidLoad","defaultCertificate","setTimeout","certificateDecoded","clearCertificate","emit","setValue","toString","successParse","certificate","isPem","validator.isPem","isX509Pem","validator.isX509Pem","isPkcs10Pem","validator.isPkcs10Pem","isX509AttributePem","validator.isX509AttributePem","isX509CRLPem","validator.isX509CRLPem","decoded","decodeError","alert","X509Certificate","X509AttributeCertificate","Pkcs10CertificateRequest","X509Crl","error","console","log","render","h","Host","key","placeholder","class","ref","el","onDrop","Typography","variant","color","type","accept","onChange","_a","certificateExamples","length","map","example","title","Button","onClick","download"],"sources":["src/components/certificate-decoder/certificate-decoder.scss?tag=peculiar-certificate-decoder&encapsulation=shadow","src/components/certificate-decoder/certificate-decoder.tsx"],"sourcesContent":["@import '../../css/base.scss';\n\n:host {\n display: block;\n width: 100%;\n}\n\n.textarea {\n min-height: 300px;\n width: 100%;\n border-radius: 4px;\n border: 1px solid var(--pv-color-gray-5);;\n padding: 14px;\n font-family: monospace;\n resize: vertical;\n}\n\n.viewer {\n margin-top: var(--pv-size-base-12);\n}\n\n.controls {\n margin-top: var(--pv-size-base-2);\n display: flex;\n flex-direction: column;\n gap: var(--pv-size-base-2);\n}\n\n.control_row {\n display: flex;\n align-items: center;\n gap: var(--pv-size-base);\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Host,\n h,\n State,\n Prop,\n Event,\n EventEmitter,\n} from '@stencil/core';\n\nimport { validator, readAsBinaryString } from '../../utils';\nimport {\n X509Certificate,\n X509AttributeCertificate,\n Pkcs10CertificateRequest,\n X509Crl,\n} from '../../crypto';\nimport { Button } from '../button';\nimport { Typography } from '../typography';\n\n@Component({\n tag: 'peculiar-certificate-decoder',\n styleUrl: 'certificate-decoder.scss',\n shadow: true,\n})\nexport class CertificateDecoder {\n private inputPaste?: HTMLTextAreaElement;\n\n /**\n * The example certificate value for decode and show details. Use PEM or DER.\n */\n @Prop() certificateExamples?: {\n title: string;\n value: string;\n }[];\n\n /**\n * The default certificate value for decode and show details. Use PEM or DER.\n */\n @Prop() defaultCertificate?: string;\n\n @State() certificateDecoded: X509Certificate\n | X509AttributeCertificate\n | Pkcs10CertificateRequest\n | X509Crl;\n\n /**\n * Emitted when the certificate has been successfully parsed.\n */\n @Event() successParse!: EventEmitter<string>;\n\n /**\n * Emitted when the certificate has been removed.\n */\n @Event() clearCertificate!: EventEmitter<void>;\n\n componentDidLoad() {\n if (this.defaultCertificate) {\n /**\n * Prevent Stencil warning about re-render\n */\n setTimeout(() => this.decode(this.defaultCertificate), 100);\n }\n }\n\n private handleClickDecode = () => {\n const { value } = this.inputPaste;\n\n if (value) {\n this.decode(value);\n }\n };\n\n private handleClickClear = () => {\n this.clearValue();\n };\n\n private handleChangeInputFile = async (event: any) => {\n const element = event.target;\n\n if (element.files) {\n const file = await readAsBinaryString(element.files[0]);\n\n if (typeof file.value === 'string') {\n this.decode(file.value);\n }\n\n element.value = '';\n }\n };\n\n private handleChangeExample = (event: any) => {\n if (event.target.value) {\n this.decode(event.target.value);\n } else {\n this.clearValue();\n }\n };\n\n private handleDropFile = async (event: any) => {\n event.stopPropagation();\n event.preventDefault();\n\n const element = event.dataTransfer;\n\n if (element.files) {\n const file = await readAsBinaryString(element.files[0]);\n\n if (typeof file.value === 'string') {\n this.decode(file.value);\n }\n }\n };\n\n clearValue() {\n this.inputPaste.value = '';\n this.certificateDecoded = null;\n this.clearCertificate.emit();\n }\n\n setValue(value: X509Certificate | X509AttributeCertificate | Pkcs10CertificateRequest | X509Crl) {\n this.certificateDecoded = value;\n this.inputPaste.value = value.toString('pem');\n this.successParse.emit(value.toString('base64'));\n }\n\n decode(certificate: string) {\n const isPem = validator.isPem(certificate);\n const isX509Pem = validator.isX509Pem(certificate);\n const isPkcs10Pem = validator.isPkcs10Pem(certificate);\n const isX509AttributePem = validator.isX509AttributePem(certificate);\n const isX509CRLPem = validator.isX509CRLPem(certificate);\n let decoded: X509Certificate | X509AttributeCertificate | Pkcs10CertificateRequest | X509Crl;\n let decodeError: Error;\n\n if (isPem && !(isX509Pem || isX509AttributePem || isPkcs10Pem || isX509CRLPem)) {\n this.clearValue();\n\n alert('Unsupported file type. Please try to use Certificate/AttributeCertificate/CertificateRequest/CRL.');\n\n return;\n }\n\n try {\n if (isX509Pem) {\n decoded = new X509Certificate(certificate);\n }\n\n if (isX509AttributePem) {\n decoded = new X509AttributeCertificate(certificate);\n }\n\n if (isPkcs10Pem) {\n decoded = new Pkcs10CertificateRequest(certificate);\n }\n\n if (isX509CRLPem) {\n decoded = new X509Crl(certificate);\n }\n } catch (error) {\n decodeError = error;\n }\n\n if (!decoded) {\n try {\n decoded = new X509Certificate(certificate);\n } catch (error) {\n decodeError = error;\n }\n }\n\n if (!decoded) {\n try {\n decoded = new X509AttributeCertificate(certificate);\n } catch (error) {\n decodeError = error;\n }\n }\n\n if (!decoded) {\n try {\n decoded = new Pkcs10CertificateRequest(certificate);\n } catch (error) {\n decodeError = error;\n }\n }\n\n if (!decoded) {\n try {\n decoded = new X509Crl(certificate);\n } catch (error) {\n decodeError = error;\n }\n }\n\n if (!decoded) {\n this.clearValue();\n\n console.log(decodeError);\n alert('Error decoding file. Please try to use Certificate/AttributeCertificate/CertificateRequest/CRL.');\n } else {\n this.setValue(decoded);\n }\n }\n\n render() {\n return (\n <Host>\n <textarea\n placeholder=\"Certificate DER or PEM\"\n class=\"textarea t-b2 c-black\"\n ref={(el) => { this.inputPaste = el; }}\n onDrop={this.handleDropFile}\n />\n <div class=\"controls\">\n <div class=\"control_row\">\n <Typography\n variant=\"b3\"\n color=\"secondary-tint-2\"\n >\n Drag or load file:\n </Typography>\n <input\n type=\"file\"\n accept=\"application/pkix-cert,application/x-x509-ca-cert,application/x-x509-user-cert,application/pkcs10,application/pkix-crl,.csr,.req,.crl\"\n onChange={this.handleChangeInputFile}\n value=\"\"\n />\n </div>\n {this.certificateExamples?.length && (\n <div class=\"control_row\">\n <Typography\n variant=\"b3\"\n color=\"secondary-tint-2\"\n >\n Load examples:\n </Typography>\n <select onChange={this.handleChangeExample}>\n <option value=\"\">None</option>\n {this.certificateExamples.map((example) => (\n <option value={example.value}>\n {example.title}\n </option>\n ))}\n </select>\n </div>\n )}\n <div class=\"control_row\">\n <Button\n onClick={this.handleClickDecode}\n >\n Decode\n </Button>\n <Button\n onClick={this.handleClickClear}\n >\n Clear\n </Button>\n </div>\n </div>\n {this.certificateDecoded instanceof X509Certificate && (\n <peculiar-certificate-viewer\n certificate={this.certificateDecoded}\n class=\"viewer\"\n download\n />\n )}\n {this.certificateDecoded instanceof X509AttributeCertificate && (\n <peculiar-attribute-certificate-viewer\n certificate={this.certificateDecoded}\n class=\"viewer\"\n download\n />\n )}\n {this.certificateDecoded instanceof Pkcs10CertificateRequest && (\n <peculiar-csr-viewer\n certificate={this.certificateDecoded}\n class=\"viewer\"\n download\n />\n )}\n {this.certificateDecoded instanceof X509Crl && (\n <peculiar-crl-viewer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IAAA,2CACTO,QAAQ,KACRC,MAAM,oBAAkB,sBAI1BV,EAAA,SAAAE,IAAA,2CACES,KAAK,OACLC,OAAO,uIACPC,SAAUhE,KAAKO,sBACfL,MAAM,QAGT+D,EAAAjE,KAAKkE,uBAAmB,MAAAD,SAAA,SAAAA,EAAEE,SACzBhB,EAAA,OAAKI,MAAM,eACTJ,EAACQ,EAAU,CACTC,QAAQ,KACRC,MAAM,oBAAkB,kBAI1BV,EAAA,UAAQa,SAAUhE,KAAKe,qBACrBoC,EAAA,UAAQjD,MAAM,IAAE,QACfF,KAAKkE,oBAAoBE,KAAKC,GAC7BlB,EAAA,UAAQjD,MAAOmE,EAAQnE,OACpBmE,EAAQC,WAMnBnB,EAAA,OAAAE,IAAA,2CAAKE,MAAM,eACTJ,EAACoB,EAAM,CAAAlB,IAAA,2CACLmB,QAASxE,KAAKC,mBAAiB,UAIjCkD,EAACoB,EAAM,CAAAlB,IAAA,2CACLmB,QAASxE,KAAKK,kBAAgB,WAMnCL,KAAKuB,8BAA8BoB,GAClCQ,EAAA,+BACEtB,YAAa7B,KAAKuB,mBAClBgC,MAAM,SACNkB,SAAQ,OAGXzE,KAAKuB,8BAA8BqB,GAClCO,EAAA,yCACEtB,YAAa7B,KAAKuB,mBAClBgC,MAAM,SACNkB,SAAQ,OAGXzE,KAAKuB,8BAA8BsB,GAClCM,EAAA,uBACEtB,YAAa7B,KAAKuB,mBAClBgC,MAAM,SACNkB,SAAQ,OAGXzE,KAAKuB,8BAA8BuB,GAClCK,EAAA,uBACEtB,YAAa7B,KAAKuB,mBAClBgC,MAAM,SACNkB,SAAQ,O"}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ const o=()=>{};export{o as g};
5
+ //# sourceMappingURL=p-dac867e8.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["globalScripts"],"sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\n"],"mappings":";;;AAAY,MAACA,EAAgB,c"}