@peculiar/certificates-viewer 4.6.0 → 4.7.0

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 (363) hide show
  1. package/components/attribute-certificate-viewer.js +4 -4
  2. package/components/attribute-certificate-viewer.js.map +1 -1
  3. package/components/attribute.js +2 -1
  4. package/components/attribute.js.map +1 -1
  5. package/components/button-menu.js +1 -1
  6. package/components/button.js +3 -1
  7. package/components/button.js.map +1 -1
  8. package/components/certificate-chain-viewer.js +2 -2
  9. package/components/certificate-chain-viewer.js.map +1 -1
  10. package/components/certificate-viewer.js +4 -4
  11. package/components/certificate-viewer.js.map +1 -1
  12. package/components/circular-progress.js +1 -1
  13. package/components/crl-viewer.js +4 -4
  14. package/components/crl-viewer.js.map +1 -1
  15. package/components/csr-viewer.js +4 -4
  16. package/components/csr-viewer.js.map +1 -1
  17. package/components/download.js +3305 -3178
  18. package/components/download.js.map +1 -1
  19. package/components/highlight-words.js +1 -1
  20. package/components/index.js +1 -1
  21. package/components/index2.js +50 -2
  22. package/components/index2.js.map +1 -1
  23. package/components/miscellaneous.js +100 -2
  24. package/components/miscellaneous.js.map +1 -1
  25. package/components/peculiar-certificate-decoder.js +3 -3
  26. package/components/peculiar-certificate-decoder.js.map +1 -1
  27. package/components/peculiar-certificates-viewer.js +2 -2
  28. package/components/peculiar-text-hider.js +1 -1
  29. package/components/pkcs10_certificate_request.js +1 -6
  30. package/components/pkcs10_certificate_request.js.map +1 -1
  31. package/dist/cjs/{actions-Dl4HXXlI.js → actions-ByC9jQU-.js} +3 -3
  32. package/dist/cjs/{actions-Dl4HXXlI.js.map → actions-ByC9jQU-.js.map} +1 -1
  33. package/dist/cjs/{arrow_top-DBMPHVlB.js → arrow_top-Cw9KN115.js} +3 -3
  34. package/dist/cjs/{arrow_top-DBMPHVlB.js.map → arrow_top-Cw9KN115.js.map} +1 -1
  35. package/dist/cjs/{button-B0CduHSE.js → button-C8EWG_-r.js} +6 -4
  36. package/dist/cjs/button-C8EWG_-r.js.map +1 -0
  37. package/dist/cjs/{certification_request-DaJSDP3R.js → certification_request-DISQwgjn.js} +3358 -3191
  38. package/dist/cjs/certification_request-DISQwgjn.js.map +1 -0
  39. package/dist/cjs/{cross-pi7K0cHC.js → cross-3DqhA0G_.js} +3 -3
  40. package/dist/cjs/{cross-pi7K0cHC.js.map → cross-3DqhA0G_.js.map} +1 -1
  41. package/dist/cjs/{download-D9skkVoT.js → download-DQP0KR4o.js} +3 -3
  42. package/dist/cjs/{download-D9skkVoT.js.map → download-DQP0KR4o.js.map} +1 -1
  43. package/dist/cjs/extension-CGZpfI3W.js +110 -0
  44. package/dist/cjs/extension-CGZpfI3W.js.map +1 -0
  45. package/dist/cjs/{index-BO3rFndV.js → index-uHmGhObe.js} +430 -157
  46. package/dist/cjs/index-uHmGhObe.js.map +1 -0
  47. package/dist/cjs/index.cjs.js +9 -9
  48. package/dist/cjs/{link-kgbgxxVh.js → link-Cgh8wnbs.js} +4 -4
  49. package/dist/cjs/{link-kgbgxxVh.js.map → link-Cgh8wnbs.js.map} +1 -1
  50. package/dist/cjs/loader.cjs.js +3 -4
  51. package/dist/cjs/loader.cjs.js.map +1 -1
  52. package/dist/cjs/{miscellaneous-Ce9aGjKB.js → miscellaneous-D_RAtkZz.js} +82 -81
  53. package/dist/cjs/miscellaneous-D_RAtkZz.js.map +1 -0
  54. package/dist/cjs/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.cjs.js.map +1 -1
  55. package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js +62 -13
  56. package/dist/cjs/peculiar-attribute-certificate-viewer_4.cjs.entry.js.map +1 -1
  57. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +3 -3
  58. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +7 -6
  59. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -1
  60. package/dist/cjs/peculiar-certificate-decoder.entry.cjs.js.map +1 -1
  61. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +9 -8
  62. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
  63. package/dist/cjs/peculiar-certificate-viewer.entry.cjs.js.map +1 -1
  64. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +8 -7
  65. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
  66. package/dist/cjs/peculiar-certificates-viewer.entry.cjs.js.map +1 -1
  67. package/dist/cjs/peculiar-text-hider.cjs.entry.js +3 -3
  68. package/dist/cjs/peculiar.cjs.js +4 -5
  69. package/dist/cjs/peculiar.cjs.js.map +1 -1
  70. package/dist/cjs/{pkcs10_certificate_request-D13Ssi7Z.js → pkcs10_certificate_request-BQkkkT42.js} +4 -8
  71. package/dist/cjs/pkcs10_certificate_request-BQkkkT42.js.map +1 -0
  72. package/dist/cjs/{x509_certificate-h5GZArG6.js → x509_certificate-DGRpZGA2.js} +5 -4
  73. package/dist/cjs/{x509_certificate-h5GZArG6.js.map → x509_certificate-DGRpZGA2.js.map} +1 -1
  74. package/dist/cjs/{x509_crl-CDPt6P1z.js → x509_crl-DMvJk_81.js} +8 -7
  75. package/dist/cjs/{x509_crl-CDPt6P1z.js.map → x509_crl-DMvJk_81.js.map} +1 -1
  76. package/dist/collection/collection-manifest.json +1 -1
  77. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +7 -7
  78. package/dist/collection/components/button-menu/button-menu.js +1 -0
  79. package/dist/collection/components/button-menu/button-menu.js.map +1 -1
  80. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.css +3 -0
  81. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js +2 -1
  82. package/dist/collection/components/certificate-chain-viewer/certificate-chain-viewer.js.map +1 -1
  83. package/dist/collection/components/certificate-decoder/certificate-decoder.js +2 -1
  84. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
  85. package/dist/collection/components/certificate-details-parts/attributes/extension_request_attribute.js +25 -0
  86. package/dist/collection/components/certificate-details-parts/attributes/extension_request_attribute.js.map +1 -0
  87. package/dist/collection/components/certificate-details-parts/attributes/index.js +10 -1
  88. package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -1
  89. package/dist/collection/components/certificate-details-parts/attributes/private_key_possession_statement_attribute.js +27 -0
  90. package/dist/collection/components/certificate-details-parts/attributes/private_key_possession_statement_attribute.js.map +1 -0
  91. package/dist/collection/components/certificate-viewer/certificate-viewer.css +3 -0
  92. package/dist/collection/components/certificate-viewer/certificate-viewer.js +8 -8
  93. package/dist/collection/components/certificates-viewer/certificates-viewer.js +4 -3
  94. package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
  95. package/dist/collection/components/circular-progress/circular-progress.js +2 -2
  96. package/dist/collection/components/crl-viewer/crl-viewer.js +6 -6
  97. package/dist/collection/components/csr-viewer/csr-viewer.js +7 -7
  98. package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -1
  99. package/dist/collection/components/highlight-words/highlight-words.js +1 -1
  100. package/dist/collection/components/typography/typography.js +1 -1
  101. package/dist/collection/components/typography/typography.js.map +1 -1
  102. package/dist/collection/constants/oids.js +2 -0
  103. package/dist/collection/constants/oids.js.map +1 -1
  104. package/dist/collection/crypto/attribute.js +2 -0
  105. package/dist/collection/crypto/attribute.js.map +1 -1
  106. package/dist/collection/crypto/pkcs10_certificate_request.js +0 -7
  107. package/dist/collection/crypto/pkcs10_certificate_request.js.map +1 -1
  108. package/dist/esm/{actions-DzoPRObK.js → actions-BOY2Tl0T.js} +3 -3
  109. package/dist/esm/{actions-DzoPRObK.js.map → actions-BOY2Tl0T.js.map} +1 -1
  110. package/dist/esm/{arrow_top-CF9pv-tQ.js → arrow_top-DL0RWe4n.js} +3 -3
  111. package/dist/{esm-es5/arrow_top-CF9pv-tQ.js.map → esm/arrow_top-DL0RWe4n.js.map} +1 -1
  112. package/dist/esm/{button-Do0R_8PZ.js → button-Bbh7MwG6.js} +6 -4
  113. package/dist/esm/button-Bbh7MwG6.js.map +1 -0
  114. package/dist/esm/{certification_request-DazysL_f.js → certification_request-CSS3OhZq.js} +3307 -3180
  115. package/dist/esm/certification_request-CSS3OhZq.js.map +1 -0
  116. package/dist/esm/{cross-DdCuR1F2.js → cross-G84H_-QL.js} +3 -3
  117. package/dist/{esm-es5/cross-DdCuR1F2.js.map → esm/cross-G84H_-QL.js.map} +1 -1
  118. package/dist/esm/{download-Cqfc-Sxf.js → download-ykcxSgxU.js} +3 -3
  119. package/dist/esm/{download-Cqfc-Sxf.js.map → download-ykcxSgxU.js.map} +1 -1
  120. package/dist/esm/extension-CUOKUt7o.js +107 -0
  121. package/dist/esm/extension-CUOKUt7o.js.map +1 -0
  122. package/dist/esm/{index-DDDrq3In.js → index-CwgZaF40.js} +430 -158
  123. package/dist/esm/index-CwgZaF40.js.map +1 -0
  124. package/dist/esm/index.js +9 -9
  125. package/dist/esm/{link-qg3yKAoS.js → link-CGURvKy1.js} +4 -4
  126. package/dist/esm/{link-qg3yKAoS.js.map → link-CGURvKy1.js.map} +1 -1
  127. package/dist/esm/loader.js +3 -4
  128. package/dist/esm/loader.js.map +1 -1
  129. package/dist/esm/{miscellaneous-BJPX0Hs_.js → miscellaneous-DVlekgVM.js} +8 -7
  130. package/dist/esm/miscellaneous-DVlekgVM.js.map +1 -0
  131. package/dist/esm/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -1
  132. package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js +62 -13
  133. package/dist/esm/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -1
  134. package/dist/esm/peculiar-button-menu_3.entry.js +3 -3
  135. package/dist/esm/peculiar-certificate-decoder.entry.js +7 -6
  136. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
  137. package/dist/esm/peculiar-certificate-viewer.entry.js +9 -8
  138. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
  139. package/dist/esm/peculiar-certificates-viewer.entry.js +8 -7
  140. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
  141. package/dist/esm/peculiar-text-hider.entry.js +3 -3
  142. package/dist/esm/peculiar.js +4 -5
  143. package/dist/esm/peculiar.js.map +1 -1
  144. package/dist/esm/{pkcs10_certificate_request-SQcYKma2.js → pkcs10_certificate_request-B9Q42jiE.js} +4 -8
  145. package/dist/esm/pkcs10_certificate_request-B9Q42jiE.js.map +1 -0
  146. package/dist/esm/{x509_certificate-Dmgw53TR.js → x509_certificate-fWXLCtc8.js} +4 -3
  147. package/dist/{esm-es5/x509_certificate-Dmgw53TR.js.map → esm/x509_certificate-fWXLCtc8.js.map} +1 -1
  148. package/dist/esm/{x509_crl-B5TRu79b.js → x509_crl-Dq33Vv-q.js} +5 -4
  149. package/dist/{esm-es5/x509_crl-B5TRu79b.js.map → esm/x509_crl-Dq33Vv-q.js.map} +1 -1
  150. package/dist/esm-es5/{actions-DzoPRObK.js → actions-BOY2Tl0T.js} +2 -2
  151. package/dist/esm-es5/{actions-DzoPRObK.js.map → actions-BOY2Tl0T.js.map} +1 -1
  152. package/dist/esm-es5/{arrow_top-CF9pv-tQ.js → arrow_top-DL0RWe4n.js} +2 -2
  153. package/dist/{esm/arrow_top-CF9pv-tQ.js.map → esm-es5/arrow_top-DL0RWe4n.js.map} +1 -1
  154. package/dist/esm-es5/button-Bbh7MwG6.js +19 -0
  155. package/dist/esm-es5/button-Bbh7MwG6.js.map +1 -0
  156. package/dist/esm-es5/certification_request-CSS3OhZq.js +135 -0
  157. package/dist/esm-es5/certification_request-CSS3OhZq.js.map +1 -0
  158. package/dist/esm-es5/{cross-DdCuR1F2.js → cross-G84H_-QL.js} +2 -2
  159. package/dist/{esm/cross-DdCuR1F2.js.map → esm-es5/cross-G84H_-QL.js.map} +1 -1
  160. package/dist/esm-es5/{download-Cqfc-Sxf.js → download-ykcxSgxU.js} +2 -2
  161. package/dist/esm-es5/{download-Cqfc-Sxf.js.map → download-ykcxSgxU.js.map} +1 -1
  162. package/dist/esm-es5/extension-CUOKUt7o.js +12 -0
  163. package/dist/esm-es5/extension-CUOKUt7o.js.map +1 -0
  164. package/dist/esm-es5/index-CwgZaF40.js +6 -0
  165. package/dist/esm-es5/index-CwgZaF40.js.map +1 -0
  166. package/dist/esm-es5/index.js +1 -1
  167. package/dist/esm-es5/{link-qg3yKAoS.js → link-CGURvKy1.js} +3 -3
  168. package/dist/esm-es5/{link-qg3yKAoS.js.map → link-CGURvKy1.js.map} +1 -1
  169. package/dist/esm-es5/loader.js +2 -2
  170. package/dist/esm-es5/loader.js.map +1 -1
  171. package/dist/esm-es5/{miscellaneous-BJPX0Hs_.js → miscellaneous-DVlekgVM.js} +2 -2
  172. package/dist/esm-es5/miscellaneous-DVlekgVM.js.map +1 -0
  173. package/dist/esm-es5/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.js.map +1 -1
  174. package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js +17 -3
  175. package/dist/esm-es5/peculiar-attribute-certificate-viewer_4.entry.js.map +1 -1
  176. package/dist/esm-es5/peculiar-button-menu_3.entry.js +1 -1
  177. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +1 -1
  178. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
  179. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +1 -1
  180. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
  181. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +1 -1
  182. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
  183. package/dist/esm-es5/peculiar-text-hider.entry.js +1 -1
  184. package/dist/esm-es5/peculiar.js +2 -2
  185. package/dist/esm-es5/peculiar.js.map +1 -1
  186. package/dist/esm-es5/pkcs10_certificate_request-B9Q42jiE.js +19 -0
  187. package/dist/esm-es5/pkcs10_certificate_request-B9Q42jiE.js.map +1 -0
  188. package/dist/esm-es5/{x509_certificate-Dmgw53TR.js → x509_certificate-fWXLCtc8.js} +4 -4
  189. package/dist/{esm/x509_certificate-Dmgw53TR.js.map → esm-es5/x509_certificate-fWXLCtc8.js.map} +1 -1
  190. package/dist/esm-es5/{x509_crl-B5TRu79b.js → x509_crl-Dq33Vv-q.js} +4 -4
  191. package/dist/{esm/x509_crl-B5TRu79b.js.map → esm-es5/x509_crl-Dq33Vv-q.js.map} +1 -1
  192. package/dist/peculiar/index.esm.js +1 -1
  193. package/dist/peculiar/loader.esm.js.map +1 -1
  194. package/dist/peculiar/p-17ebc78c.system.entry.js +5 -0
  195. package/dist/peculiar/p-17ebc78c.system.entry.js.map +1 -0
  196. package/dist/peculiar/{p-7b0e7f43.entry.js → p-27ae6a3a.entry.js} +2 -2
  197. package/dist/peculiar/{p-5b843427.entry.js → p-4cc72a56.entry.js} +2 -2
  198. package/dist/peculiar/{p-a3c0f753.system.entry.js → p-607d08e8.system.entry.js} +2 -2
  199. package/dist/peculiar/p-7fTYvx_V.system.js +19 -0
  200. package/dist/peculiar/p-7fTYvx_V.system.js.map +1 -0
  201. package/dist/peculiar/{p-15c2b820.entry.js → p-9d9f24bd.entry.js} +2 -2
  202. package/dist/peculiar/{p-Cm-ylIxb.system.js → p-B4PdAFCr.system.js} +4 -4
  203. package/dist/peculiar/p-B4PdAFCr.system.js.map +1 -0
  204. package/dist/peculiar/p-BGASC3UX.system.js +5 -0
  205. package/dist/peculiar/p-BGASC3UX.system.js.map +1 -0
  206. package/dist/peculiar/{p-0HZUc9Ix.js → p-BG_D4qzJ.js} +3 -3
  207. package/dist/peculiar/{p-0HZUc9Ix.js.map → p-BG_D4qzJ.js.map} +1 -1
  208. package/dist/peculiar/{p-YHrZ3f_s.system.js → p-BTn-wukS.system.js} +2 -2
  209. package/dist/peculiar/p-BTn-wukS.system.js.map +1 -0
  210. package/dist/peculiar/{p-B2YrZuK2.system.js → p-Bi5mjeeg.system.js} +2 -2
  211. package/dist/peculiar/{p-B2YrZuK2.system.js.map → p-Bi5mjeeg.system.js.map} +1 -1
  212. package/dist/peculiar/{p-wYK0iVYg.system.js → p-Bknpl7EO.system.js} +3 -3
  213. package/dist/peculiar/{p-wYK0iVYg.system.js.map → p-Bknpl7EO.system.js.map} +1 -1
  214. package/dist/peculiar/{p-BcFnjn1R.system.js.map → p-Bsy7Sqzl.system.js.map} +1 -1
  215. package/dist/peculiar/{p-BKKflyKt.system.js → p-CEzxVCEh.system.js} +4 -4
  216. package/dist/peculiar/{p-BKKflyKt.system.js.map → p-CEzxVCEh.system.js.map} +1 -1
  217. package/dist/peculiar/{p-DhdG07f8.js → p-CHnDlTqM.js} +2 -2
  218. package/dist/peculiar/{p-DhdG07f8.js.map → p-CHnDlTqM.js.map} +1 -1
  219. package/dist/peculiar/p-CSS3OhZq.js +135 -0
  220. package/dist/peculiar/p-CSS3OhZq.js.map +1 -0
  221. package/dist/peculiar/p-CZuaTO2G.js +12 -0
  222. package/dist/peculiar/p-CZuaTO2G.js.map +1 -0
  223. package/dist/peculiar/{p-BA8os2l6.system.js.map → p-CbJQZ9Hh.system.js.map} +1 -1
  224. package/dist/peculiar/{p-BBgwMHRZ.system.js → p-CdS84qJs.system.js} +5 -5
  225. package/dist/peculiar/{p-BBgwMHRZ.system.js.map → p-CdS84qJs.system.js.map} +1 -1
  226. package/dist/peculiar/p-CgCUixvk.system.js +12 -0
  227. package/dist/peculiar/p-CgCUixvk.system.js.map +1 -0
  228. package/dist/peculiar/p-CoPYW15U.js +19 -0
  229. package/dist/peculiar/p-CoPYW15U.js.map +1 -0
  230. package/dist/peculiar/{p-CkwiD_ia.js → p-CutTi-2B.js} +4 -4
  231. package/dist/peculiar/p-CutTi-2B.js.map +1 -0
  232. package/dist/peculiar/p-CwgZaF40.js +6 -0
  233. package/dist/peculiar/p-CwgZaF40.js.map +1 -0
  234. package/dist/peculiar/p-D8TC0Na9.system.js.map +1 -0
  235. package/dist/peculiar/{p-BP2bmYR2.system.js → p-D8xU284r.system.js} +3 -3
  236. package/dist/peculiar/{p-BP2bmYR2.system.js.map → p-D8xU284r.system.js.map} +1 -1
  237. package/dist/peculiar/p-DKl0YViA.system.js +6 -0
  238. package/dist/peculiar/p-DKl0YViA.system.js.map +1 -0
  239. package/dist/peculiar/p-DKooqn40.js +369 -0
  240. package/dist/peculiar/p-DKooqn40.js.map +1 -0
  241. package/dist/peculiar/p-DLsQGkmT.system.js.map +1 -0
  242. package/dist/peculiar/{p-CEHpBNWe.js → p-DMZr5ztF.js} +3 -3
  243. package/dist/peculiar/{p-CEHpBNWe.js.map → p-DMZr5ztF.js.map} +1 -1
  244. package/dist/peculiar/{p-DRoyzOgk.system.js → p-DTz3NA_M.system.js} +3 -3
  245. package/dist/peculiar/{p-DRoyzOgk.system.js.map → p-DTz3NA_M.system.js.map} +1 -1
  246. package/dist/peculiar/p-D_WeukQa.system.js +135 -0
  247. package/dist/peculiar/p-D_WeukQa.system.js.map +1 -0
  248. package/dist/peculiar/{p-DkAhB3Vy.js → p-DanjeXNk.js} +2 -2
  249. package/dist/peculiar/{p-DkAhB3Vy.js.map → p-DanjeXNk.js.map} +1 -1
  250. package/dist/peculiar/{p-BmIps4bV.system.js → p-DcTXA-2R.system.js} +43 -43
  251. package/dist/peculiar/p-DcTXA-2R.system.js.map +1 -0
  252. package/dist/peculiar/{p-BHBizfwo.js → p-JyD6URnB.js} +3 -3
  253. package/dist/peculiar/{p-BHBizfwo.js.map → p-JyD6URnB.js.map} +1 -1
  254. package/dist/peculiar/{p-D13P_msn.system.js.map → p-N3w4Sc5c.system.js.map} +1 -1
  255. package/dist/peculiar/{p-BOSH9vjy.system.js → p-NnCM1ETy.system.js} +3 -3
  256. package/dist/peculiar/{p-BOSH9vjy.system.js.map → p-NnCM1ETy.system.js.map} +1 -1
  257. package/dist/peculiar/{p-CeKqQ13Z.js → p-ZT6tVIen.js} +4 -4
  258. package/dist/peculiar/{p-CeKqQ13Z.js.map → p-ZT6tVIen.js.map} +1 -1
  259. package/dist/peculiar/{p-44648a8e.system.entry.js → p-a193f8fd.system.entry.js} +2 -2
  260. package/dist/peculiar/p-a4e74904.entry.js +124 -0
  261. package/dist/peculiar/p-a4e74904.entry.js.map +1 -0
  262. package/dist/peculiar/p-ce006f1c.system.entry.js +5 -0
  263. package/dist/peculiar/p-ce006f1c.system.entry.js.map +1 -0
  264. package/dist/peculiar/{p-d16ddef8.system.entry.js → p-de857304.system.entry.js} +2 -2
  265. package/dist/peculiar/p-e3967e76.entry.js +5 -0
  266. package/dist/peculiar/p-e3967e76.entry.js.map +1 -0
  267. package/dist/peculiar/p-e7c60082.system.entry.js +125 -0
  268. package/dist/peculiar/p-e7c60082.system.entry.js.map +1 -0
  269. package/dist/peculiar/{p--Pej0I-A.system.js.map → p-eziSY5IJ.system.js.map} +1 -1
  270. package/dist/peculiar/p-f465afe6.entry.js +5 -0
  271. package/dist/peculiar/p-f465afe6.entry.js.map +1 -0
  272. package/dist/peculiar/p-tBL0ekYY.system.js.map +1 -0
  273. package/dist/peculiar/{p-3zhoLQno.js → p-tl0v45Y7.js} +4 -4
  274. package/dist/peculiar/{p-3zhoLQno.js.map → p-tl0v45Y7.js.map} +1 -1
  275. package/dist/peculiar/peculiar-attribute-certificate-viewer.peculiar-certificate-chain-viewer.peculiar-crl-viewer.peculiar-csr-viewer.entry.esm.js.map +1 -1
  276. package/dist/peculiar/peculiar-certificate-decoder.entry.esm.js.map +1 -1
  277. package/dist/peculiar/peculiar-certificate-viewer.entry.esm.js.map +1 -1
  278. package/dist/peculiar/peculiar-certificates-viewer.entry.esm.js.map +1 -1
  279. package/dist/peculiar/peculiar.esm.js +1 -1
  280. package/dist/peculiar/peculiar.esm.js.map +1 -1
  281. package/dist/peculiar/peculiar.js +1 -1
  282. package/dist/types/components/certificate-details-parts/attributes/extension_request_attribute.d.ts +15 -0
  283. package/dist/types/components/certificate-details-parts/attributes/private_key_possession_statement_attribute.d.ts +15 -0
  284. package/dist/types/components/typography/typography.d.ts +2 -1
  285. package/dist/types/components.d.ts +26 -0
  286. package/dist/types/constants/oids.d.ts +2 -0
  287. package/dist/types/crypto/attribute.d.ts +2 -0
  288. package/dist/types/crypto/pkcs10_certificate_request.d.ts +0 -2
  289. package/dist/types/stencil-public-runtime.d.ts +34 -6
  290. package/hydrate/index.d.ts +38 -24
  291. package/hydrate/index.js +4331 -3299
  292. package/hydrate/index.mjs +4330 -3300
  293. package/package.json +33 -33
  294. package/dist/cjs/app-globals-BOZYdIuK.js +0 -11
  295. package/dist/cjs/app-globals-BOZYdIuK.js.map +0 -1
  296. package/dist/cjs/button-B0CduHSE.js.map +0 -1
  297. package/dist/cjs/certification_request-DaJSDP3R.js.map +0 -1
  298. package/dist/cjs/index-BO3rFndV.js.map +0 -1
  299. package/dist/cjs/miscellaneous-Ce9aGjKB.js.map +0 -1
  300. package/dist/cjs/pkcs10_certificate_request-D13Ssi7Z.js.map +0 -1
  301. package/dist/esm/app-globals-zVR349KA.js +0 -9
  302. package/dist/esm/app-globals-zVR349KA.js.map +0 -1
  303. package/dist/esm/button-Do0R_8PZ.js.map +0 -1
  304. package/dist/esm/certification_request-DazysL_f.js.map +0 -1
  305. package/dist/esm/index-DDDrq3In.js.map +0 -1
  306. package/dist/esm/miscellaneous-BJPX0Hs_.js.map +0 -1
  307. package/dist/esm/pkcs10_certificate_request-SQcYKma2.js.map +0 -1
  308. package/dist/esm-es5/app-globals-zVR349KA.js +0 -5
  309. package/dist/esm-es5/app-globals-zVR349KA.js.map +0 -1
  310. package/dist/esm-es5/button-Do0R_8PZ.js +0 -19
  311. package/dist/esm-es5/button-Do0R_8PZ.js.map +0 -1
  312. package/dist/esm-es5/certification_request-DazysL_f.js +0 -142
  313. package/dist/esm-es5/certification_request-DazysL_f.js.map +0 -1
  314. package/dist/esm-es5/index-DDDrq3In.js +0 -6
  315. package/dist/esm-es5/index-DDDrq3In.js.map +0 -1
  316. package/dist/esm-es5/miscellaneous-BJPX0Hs_.js.map +0 -1
  317. package/dist/esm-es5/pkcs10_certificate_request-SQcYKma2.js +0 -19
  318. package/dist/esm-es5/pkcs10_certificate_request-SQcYKma2.js.map +0 -1
  319. package/dist/peculiar/p-16aa5600.system.entry.js +0 -5
  320. package/dist/peculiar/p-16aa5600.system.entry.js.map +0 -1
  321. package/dist/peculiar/p-1cbb0d6b.entry.js +0 -110
  322. package/dist/peculiar/p-1cbb0d6b.entry.js.map +0 -1
  323. package/dist/peculiar/p-218364f2.entry.js +0 -5
  324. package/dist/peculiar/p-218364f2.entry.js.map +0 -1
  325. package/dist/peculiar/p-52444a44.system.entry.js +0 -5
  326. package/dist/peculiar/p-52444a44.system.entry.js.map +0 -1
  327. package/dist/peculiar/p-BAB4EyrL.system.js.map +0 -1
  328. package/dist/peculiar/p-BBZwtkNN.system.js +0 -19
  329. package/dist/peculiar/p-BBZwtkNN.system.js.map +0 -1
  330. package/dist/peculiar/p-BFenL1ap.system.js +0 -6
  331. package/dist/peculiar/p-BFenL1ap.system.js.map +0 -1
  332. package/dist/peculiar/p-BmIps4bV.system.js.map +0 -1
  333. package/dist/peculiar/p-CDh6shXP.system.js +0 -142
  334. package/dist/peculiar/p-CDh6shXP.system.js.map +0 -1
  335. package/dist/peculiar/p-CJro0Exb.js +0 -369
  336. package/dist/peculiar/p-CJro0Exb.js.map +0 -1
  337. package/dist/peculiar/p-CWs-Ocvt.system.js.map +0 -1
  338. package/dist/peculiar/p-CkwiD_ia.js.map +0 -1
  339. package/dist/peculiar/p-Cm-ylIxb.system.js.map +0 -1
  340. package/dist/peculiar/p-CwlxH4oM.system.js +0 -5
  341. package/dist/peculiar/p-CwlxH4oM.system.js.map +0 -1
  342. package/dist/peculiar/p-D5BWI7FK.system.js +0 -5
  343. package/dist/peculiar/p-D5BWI7FK.system.js.map +0 -1
  344. package/dist/peculiar/p-DDDrq3In.js +0 -6
  345. package/dist/peculiar/p-DDDrq3In.js.map +0 -1
  346. package/dist/peculiar/p-DJRm54BZ.system.js.map +0 -1
  347. package/dist/peculiar/p-DazysL_f.js +0 -142
  348. package/dist/peculiar/p-DazysL_f.js.map +0 -1
  349. package/dist/peculiar/p-DzItK48Y.js +0 -19
  350. package/dist/peculiar/p-DzItK48Y.js.map +0 -1
  351. package/dist/peculiar/p-YHrZ3f_s.system.js.map +0 -1
  352. package/dist/peculiar/p-ab6a8a44.entry.js +0 -5
  353. package/dist/peculiar/p-ab6a8a44.entry.js.map +0 -1
  354. package/dist/peculiar/p-d9013293.system.entry.js +0 -111
  355. package/dist/peculiar/p-d9013293.system.entry.js.map +0 -1
  356. package/dist/peculiar/p-zVR349KA.js +0 -5
  357. package/dist/peculiar/p-zVR349KA.js.map +0 -1
  358. /package/dist/peculiar/{p-7b0e7f43.entry.js.map → p-27ae6a3a.entry.js.map} +0 -0
  359. /package/dist/peculiar/{p-5b843427.entry.js.map → p-4cc72a56.entry.js.map} +0 -0
  360. /package/dist/peculiar/{p-a3c0f753.system.entry.js.map → p-607d08e8.system.entry.js.map} +0 -0
  361. /package/dist/peculiar/{p-15c2b820.entry.js.map → p-9d9f24bd.entry.js.map} +0 -0
  362. /package/dist/peculiar/{p-44648a8e.system.entry.js.map → p-a193f8fd.system.entry.js.map} +0 -0
  363. /package/dist/peculiar/{p-d16ddef8.system.entry.js.map → p-de857304.system.entry.js.map} +0 -0
@@ -37,7 +37,7 @@ const HighlightWords = /*@__PURE__*/ proxyCustomElement(class HighlightWords ext
37
37
  }
38
38
  get host() { return this; }
39
39
  static get style() { return highlightWordsCss; }
40
- }, [1, "peculiar-highlight-words", {
40
+ }, [257, "peculiar-highlight-words", {
41
41
  "search": [1]
42
42
  }]);
43
43
  function defineCustomElement() {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
- export { getAssetPath, setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
4
+ export { getAssetPath, render, setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
5
5
  export { D as Download, a as DownloadIcon, L as Link, d as downloadFromBuffer } from './download.js';
6
6
  export { r as readAsArrayBuffer, a as readAsBinaryString, b as readAsDataUrl, c as readAsText } from './read_file.js';
7
7
  export { P as Pkcs10CertificateRequest } from './pkcs10_certificate_request.js';
@@ -2,8 +2,8 @@
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
4
  import { h } from '@stencil/core/internal/client';
5
- import { _ as OIDs, l as l10n, aa as Name$1, p as ActivityDescription, W as WebGDPR, I as InsuranceValue, T as TypeRelationship, V as ValuationRanking, U as UnstructuredName, o as ChallengePassword } from './download.js';
6
- import { a as RowValue, e as getStringByOID, f as camelCaseToWords, d as TableRowTable, G as GeneralNamePart, R as RowTitle } from './miscellaneous.js';
5
+ import { $ as OIDs, l as l10n, b as AsnConvert, f as buildExports, ab as Name$1, m as ExtensionRequest, o as ActivityDescription, W as WebGDPR, I as InsuranceValue, T as TypeRelationship, V as ValuationRanking, U as UnstructuredName, n as ChallengePassword, k as PrivateKeyPossessionStatement } from './download.js';
6
+ import { a as RowValue, e as getStringByOID, h as camelCaseToWords, d as TableRowTable, G as GeneralNamePart, E as Extension, f as Extensions, R as RowTitle } from './miscellaneous.js';
7
7
 
8
8
  /**
9
9
  * @license
@@ -187,6 +187,48 @@ const ChallengePasswordAttribute = (props) => {
187
187
  h(RowValue, { name: "Value", value: attribute.value.toString() })));
188
188
  };
189
189
 
190
+ /**
191
+ * @license
192
+ * Copyright (c) Peculiar Ventures, LLC.
193
+ *
194
+ * This source code is licensed under the MIT license found in the
195
+ * LICENSE file in the root directory of this source tree.
196
+ */
197
+ const ExtensionRequestAttribute = (props) => {
198
+ const { attribute } = props;
199
+ let extensions;
200
+ if (attribute.value) {
201
+ extensions = attribute.value.map((e) => new Extension(AsnConvert.serialize(e)));
202
+ }
203
+ return (h(BasicAttribute, { attribute: attribute },
204
+ h(TableRowTable, null,
205
+ h(Extensions, { extensions: extensions, getDNSNameLink: () => '', getIPAddressLink: () => '', getLEILink: () => '' }))));
206
+ };
207
+
208
+ /**
209
+ * @license
210
+ * Copyright (c) Peculiar Ventures, LLC.
211
+ *
212
+ * This source code is licensed under the MIT license found in the
213
+ * LICENSE file in the root directory of this source tree.
214
+ */
215
+ const PrivateKeyPossessionStatementAttribute = (props) => {
216
+ const { attribute } = props;
217
+ const certificateRaw = attribute.value.cert
218
+ ? AsnConvert.serialize(attribute.value.cert)
219
+ : null;
220
+ return (h(BasicAttribute, { attribute: attribute },
221
+ h(RowValue, { name: "Serial Number", value: buildExports.Convert.ToHex(attribute.value.signer.serialNumber), monospace: true }),
222
+ h(RowValue, { name: "Issuer", value: "" }),
223
+ h(TableRowTable, null,
224
+ h(NamePart, { name: attribute.value.signer.issuer })),
225
+ certificateRaw && [
226
+ h(RowValue, { name: "Certificate", value: "" }),
227
+ h(TableRowTable, null,
228
+ h("peculiar-certificate-viewer", { certificate: buildExports.Convert.ToBase64(certificateRaw) })),
229
+ ]));
230
+ };
231
+
190
232
  /**
191
233
  * @license
192
234
  * Copyright (c) Peculiar Ventures, LLC.
@@ -206,6 +248,9 @@ const Attributes = (props) => {
206
248
  if (attribute.value instanceof Name$1) {
207
249
  return (h(NameAttribute, { attribute: attribute }));
208
250
  }
251
+ if (attribute.value instanceof ExtensionRequest) {
252
+ return (h(ExtensionRequestAttribute, { attribute: attribute }));
253
+ }
209
254
  if (attribute.value instanceof ActivityDescription) {
210
255
  return (h(ActivityDescriptionAttribute, { attribute: attribute }));
211
256
  }
@@ -227,6 +272,9 @@ const Attributes = (props) => {
227
272
  if (attribute.value instanceof ChallengePassword) {
228
273
  return (h(ChallengePasswordAttribute, { attribute: attribute }));
229
274
  }
275
+ if (attribute.value instanceof PrivateKeyPossessionStatement) {
276
+ return (h(PrivateKeyPossessionStatementAttribute, { attribute: attribute }));
277
+ }
230
278
  if (typeof attribute.value === 'string') {
231
279
  return (h(AsStringAttribute, { attribute: attribute }));
232
280
  }
@@ -1 +1 @@
1
- {"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BAAgB,EAAA,EACf,SAAS,EAAE,SAA0C,EACrD,CAAA;;AAIN,gBAAA,IAAI,SAAS,CAAC,KAAK,YAAY,cAAc,EAAE;oBAC7C,QACE,EAAC,uBAAuB,EAAA,EACtB,SAAS,EAAE,SAAiD,EAC5D,CAAA;;AAIN,gBAAA,IAAI,SAAS,CAAC,KAAK,YAAY,gBAAgB,EAAE;oBAC/C,QACE,EAAC,yBAAyB,EAAA,EACxB,SAAS,EAAE,SAAmD,EAC9D,CAAA;;AAIN,gBAAA,IAAI,SAAS,CAAC,KAAK,YAAY,gBAAgB,EAAE;oBAC/C,QACE,EAAC,yBAAyB,EAAA,EACxB,SAAS,EAAE,SAAmD,EAC9D,CAAA;;AAIN,gBAAA,IAAI,SAAS,CAAC,KAAK,YAAY,gBAAgB,EAAE;oBAC/C,QACE,EAAC,yBAAyB,EAAA,EACxB,SAAS,EAAE,SAAmD,EAC9D,CAAA;;AAIN,gBAAA,IAAI,SAAS,CAAC,KAAK,YAAY,iBAAiB,EAAE;oBAChD,QACE,EAAC,0BAA0B,EAAA,EACzB,SAAS,EAAE,SAAoD,EAC/D,CAAA;;AAIN,gBAAA,IAAI,OAAO,SAAS,CAAC,KAAK,KAAK,QAAQ,EAAE;oBACvC,QACE,EAAC,iBAAiB,EAAA,EAChB,SAAS,EAAE,SAAyC,EACpD,CAAA;;gBAIN,QACE,EAAC,cAAc,EAAA,EACb,SAAS,EAAE,SAAS,EACpB,CAAA;;AAEJ,YAAA,OAAA,EAAA,EAAM;gBACN,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC;AAE5D,gBAAA,OAAO,IAAI;;AAEf,SAAC,CAAC;AACH,KAAA;AACH;;;;","names":["Name"],"sources":["src/components/certificate-details-parts/attributes/basic_attribute.tsx","src/components/certificate-details-parts/attributes/name_part.tsx","src/components/certificate-details-parts/attributes/name_attribute.tsx","src/components/certificate-details-parts/attributes/activity_description_attribute.tsx","src/components/certificate-details-parts/attributes/web_gdpr_attribute.tsx","src/components/certificate-details-parts/attributes/insurance_value_attribute.tsx","src/components/certificate-details-parts/attributes/type_relationship_attribute.tsx","src/components/certificate-details-parts/attributes/valuation_ranking_attribute.tsx","src/components/certificate-details-parts/attributes/as_string_attribute.tsx","src/components/certificate-details-parts/attributes/unstructured_name_attribute.tsx","src/components/certificate-details-parts/attributes/challenge_password_attribute.tsx","src/components/certificate-details-parts/attributes/index.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 { h, FunctionalComponent } from '@stencil/core';\nimport type { Attribute, TAttributeValue } from '../../../crypto/attribute';\nimport { getStringByOID } from '../../../utils';\nimport { RowValue } from '../row';\n\ninterface IBasicAttributeProps {\n attribute: Attribute<TAttributeValue>;\n}\n\nexport const BasicAttribute: FunctionalComponent<IBasicAttributeProps> = (props, children) => {\n const { attribute } = props;\n\n return ([\n <RowValue\n name=\"Name\"\n value={getStringByOID(attribute.asn.type)}\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 type { Name } from '@peculiar/asn1-x509';\nimport { OIDs } from '../../../constants/oids';\nimport { RowValue } from '../row';\n\ninterface INamePartProps {\n name: Name;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const NamePart: FunctionalComponent<INamePartProps> = (props): any[] => {\n const { name } = props;\n\n if (!name) {\n return null;\n }\n\n return name.map((relativeDistinguishedName) => (\n relativeDistinguishedName.map((attributeTypeAndValue) => (\n <RowValue\n name={OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type}\n value={attributeTypeAndValue.value.toString()}\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 type { Name } from '@peculiar/asn1-x509';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { BasicAttribute } from './basic_attribute';\nimport { NamePart } from './name_part';\n\ninterface INameAttributeProps {\n attribute: Attribute<Name>;\n}\n\nexport const NameAttribute:\nFunctionalComponent<INameAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <NamePart\n name={attribute.value}\n />\n </BasicAttribute>\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 type { ActivityDescription } from '@peculiar/asn1-ntqwac';\nimport { Attribute } from '../../../crypto/attribute';\nimport { camelCaseToWords } from '../../../utils';\nimport { GeneralNamePart } from '../extensions/general_name_part';\nimport { RowValue, TableRowTable } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IActivityDescriptionAttributeProps {\n attribute: Attribute<ActivityDescription>;\n}\n\nexport const ActivityDescriptionAttribute:\nFunctionalComponent<IActivityDescriptionAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name={camelCaseToWords('codeAuthority')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.codeAuthority}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('codeId')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.codeId}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('shortName')}\n value={attribute.value.shortName}\n />\n <RowValue\n name={camelCaseToWords('shortDescription')}\n value={attribute.value.shortDescription}\n />\n </BasicAttribute>\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 type { WebGDPR } from '@peculiar/asn1-ntqwac';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { camelCaseToWords } from '../../../utils';\nimport { GeneralNamePart } from '../extensions/general_name_part';\nimport { RowValue, TableRowTable } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IWebGdprAttributeProps {\n attribute: Attribute<WebGDPR>;\n}\n\nexport const WebGdprAttribute:\nFunctionalComponent<IWebGdprAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name={camelCaseToWords('assessmentAuthority')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentAuthority}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('assessmentLocation')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentLocation}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('assessmentRef')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentRef}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('dataStorageTerritory')}\n value={attribute.value.dataStorageTerritory}\n />\n <RowValue\n name={camelCaseToWords('description')}\n value={attribute.value.description}\n />\n </BasicAttribute>\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 type { InsuranceValue } from '@peculiar/asn1-ntqwac';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IInsuranceValueAttributeProps {\n attribute: Attribute<InsuranceValue>;\n}\n\nexport const InsuranceValueAttribute:\nFunctionalComponent<IInsuranceValueAttributeProps> = (props) => {\n const { attribute } = props;\n const value = `${attribute.value.base} * 10^${attribute.value.degree} ${attribute.value.location}`;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={value}\n />\n </BasicAttribute>\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 type { TypeRelationship } from '@peculiar/asn1-ntqwac';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { l10n } from '../../../utils';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface ITypeRelationshipAttributeProps {\n attribute: Attribute<TypeRelationship>;\n}\n\nexport const TypeRelationshipAttribute:\nFunctionalComponent<ITypeRelationshipAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n {Object.keys(attribute.value).map((keyName) => (\n <RowValue\n name={keyName}\n value={attribute.value[keyName].toNumber() ? l10n.getString('yes') : l10n.getString('no')}\n />\n ))}\n </BasicAttribute>\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 type { ValuationRanking } from '@peculiar/asn1-ntqwac';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IValuationRankingAttributeProps {\n attribute: Attribute<ValuationRanking>;\n}\n\nconst getValueRank = (value: number): string => {\n let ratio = 1;\n\n if (value / 100 > 1) {\n ratio = 100;\n } else if (value / 10 > 1) {\n ratio = 10;\n }\n\n return `${value}/${5 * ratio}`;\n};\n\nexport const ValuationRankingAttribute:\nFunctionalComponent<IValuationRankingAttributeProps> = (props) => {\n const { attribute } = props;\n const values = Object.keys(attribute.value).map((keyName) => ([\n getValueRank(attribute.value[keyName]),\n <br />,\n ]));\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={values as unknown as string[]}\n />\n </BasicAttribute>\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 type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IAsStringAttributeProps {\n attribute: Attribute<string>;\n}\n\nexport const AsStringAttribute:\nFunctionalComponent<IAsStringAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value}\n monospace\n />\n </BasicAttribute>\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 type { UnstructuredName } from '@peculiar/asn1-pkcs9';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IUnstructuredNameAttributeProps {\n attribute: Attribute<UnstructuredName>;\n}\n\nexport const UnstructuredNameAttribute:\nFunctionalComponent<IUnstructuredNameAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value.utf8String}\n />\n </BasicAttribute>\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 type { ChallengePassword } from '@peculiar/asn1-pkcs9';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IChallengePasswordAttributeProps {\n attribute: Attribute<ChallengePassword>;\n}\n\nexport const ChallengePasswordAttribute:\nFunctionalComponent<IChallengePasswordAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value.toString()}\n />\n </BasicAttribute>\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 { Name } from '@peculiar/asn1-x509';\nimport {\n TypeRelationship,\n ActivityDescription,\n WebGDPR,\n InsuranceValue,\n ValuationRanking,\n} from '@peculiar/asn1-ntqwac';\nimport {\n UnstructuredName,\n ChallengePassword,\n} from '@peculiar/asn1-pkcs9';\nimport type { Attribute, TAttributeValue } from '../../../crypto/attribute';\nimport { RowTitle } from '../row';\nimport { NameAttribute } from './name_attribute';\nimport { ActivityDescriptionAttribute } from './activity_description_attribute';\nimport { WebGdprAttribute } from './web_gdpr_attribute';\nimport { InsuranceValueAttribute } from './insurance_value_attribute';\nimport { TypeRelationshipAttribute } from './type_relationship_attribute';\nimport { ValuationRankingAttribute } from './valuation_ranking_attribute';\nimport { BasicAttribute } from './basic_attribute';\nimport { AsStringAttribute } from './as_string_attribute';\nimport { UnstructuredNameAttribute } from './unstructured_name_attribute';\nimport { ChallengePasswordAttribute } from './challenge_password_attribute';\n\ninterface IAttributesPtops extends\n IGeneralNameOptions,\n ILeiOptions,\n IAuthorityKeyIdentifierOptions,\n ISubjectKeyIdentifierOptions {\n attributes: Attribute<TAttributeValue>[];\n}\n\nexport const Attributes: FunctionalComponent<IAttributesPtops> = (props) => {\n const { attributes } = props;\n\n if (!attributes || !attributes.length) {\n return null;\n }\n\n return ([\n <RowTitle\n value=\"Attributes\"\n />,\n attributes.map((attribute) => {\n try {\n if (attribute.value instanceof Name) {\n return (\n <NameAttribute\n attribute={attribute as unknown as Attribute<Name>}\n />\n );\n }\n\n if (attribute.value instanceof ActivityDescription) {\n return (\n <ActivityDescriptionAttribute\n attribute={attribute as unknown as Attribute<ActivityDescription>}\n />\n );\n }\n\n if (attribute.value instanceof WebGDPR) {\n return (\n <WebGdprAttribute\n attribute={attribute as unknown as Attribute<WebGDPR>}\n />\n );\n }\n\n if (attribute.value instanceof InsuranceValue) {\n return (\n <InsuranceValueAttribute\n attribute={attribute as unknown as Attribute<InsuranceValue>}\n />\n );\n }\n\n if (attribute.value instanceof TypeRelationship) {\n return (\n <TypeRelationshipAttribute\n attribute={attribute as unknown as Attribute<TypeRelationship>}\n />\n );\n }\n\n if (attribute.value instanceof ValuationRanking) {\n return (\n <ValuationRankingAttribute\n attribute={attribute as unknown as Attribute<ValuationRanking>}\n />\n );\n }\n\n if (attribute.value instanceof UnstructuredName) {\n return (\n <UnstructuredNameAttribute\n attribute={attribute as unknown as Attribute<UnstructuredName>}\n />\n );\n }\n\n if (attribute.value instanceof ChallengePassword) {\n return (\n <ChallengePasswordAttribute\n attribute={attribute as unknown as Attribute<ChallengePassword>}\n />\n );\n }\n\n if (typeof attribute.value === 'string') {\n return (\n <AsStringAttribute\n attribute={attribute as unknown as Attribute<string>}\n />\n );\n }\n\n return (\n <BasicAttribute\n attribute={attribute}\n />\n );\n } catch {\n console.error('Error render attribute:', attribute.asn.type);\n\n return null;\n }\n }),\n ]);\n};\n"],"version":3}
1
+ {"file":"index2.js","mappings":";;;;;;;AAAA;;;;;;AAMG;AAWI,MAAM,cAAc,GAA8C,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QACE,EAAC,sCAAsC,EAAA,EACrC,SAAS,EAAE,SAAgE,EAC3E,CAAA;;AAIN,gBAAA,IAAI,OAAO,SAAS,CAAC,KAAK,KAAK,QAAQ,EAAE;oBACvC,QACE,EAAC,iBAAiB,EAAA,EAChB,SAAS,EAAE,SAAyC,EACpD,CAAA;;gBAIN,QACE,EAAC,cAAc,EAAA,EACb,SAAS,EAAE,SAAS,EACpB,CAAA;;AAEJ,YAAA,OAAA,EAAA,EAAM;gBACN,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC;AAE5D,gBAAA,OAAO,IAAI;;AAEf,SAAC,CAAC;AACH,KAAA;AACH;;;;","names":["Convert","Name"],"sources":["src/components/certificate-details-parts/attributes/basic_attribute.tsx","src/components/certificate-details-parts/attributes/name_part.tsx","src/components/certificate-details-parts/attributes/name_attribute.tsx","src/components/certificate-details-parts/attributes/activity_description_attribute.tsx","src/components/certificate-details-parts/attributes/web_gdpr_attribute.tsx","src/components/certificate-details-parts/attributes/insurance_value_attribute.tsx","src/components/certificate-details-parts/attributes/type_relationship_attribute.tsx","src/components/certificate-details-parts/attributes/valuation_ranking_attribute.tsx","src/components/certificate-details-parts/attributes/as_string_attribute.tsx","src/components/certificate-details-parts/attributes/unstructured_name_attribute.tsx","src/components/certificate-details-parts/attributes/challenge_password_attribute.tsx","src/components/certificate-details-parts/attributes/extension_request_attribute.tsx","src/components/certificate-details-parts/attributes/private_key_possession_statement_attribute.tsx","src/components/certificate-details-parts/attributes/index.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 { h, FunctionalComponent } from '@stencil/core';\nimport type { Attribute, TAttributeValue } from '../../../crypto/attribute';\nimport { getStringByOID } from '../../../utils';\nimport { RowValue } from '../row';\n\ninterface IBasicAttributeProps {\n attribute: Attribute<TAttributeValue>;\n}\n\nexport const BasicAttribute: FunctionalComponent<IBasicAttributeProps> = (props, children) => {\n const { attribute } = props;\n\n return ([\n <RowValue\n name=\"Name\"\n value={getStringByOID(attribute.asn.type)}\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 type { Name } from '@peculiar/asn1-x509';\nimport { OIDs } from '../../../constants/oids';\nimport { RowValue } from '../row';\n\ninterface INamePartProps {\n name: Name;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const NamePart: FunctionalComponent<INamePartProps> = (props): any[] => {\n const { name } = props;\n\n if (!name) {\n return null;\n }\n\n return name.map((relativeDistinguishedName) => (\n relativeDistinguishedName.map((attributeTypeAndValue) => (\n <RowValue\n name={OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type}\n value={attributeTypeAndValue.value.toString()}\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 type { Name } from '@peculiar/asn1-x509';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { BasicAttribute } from './basic_attribute';\nimport { NamePart } from './name_part';\n\ninterface INameAttributeProps {\n attribute: Attribute<Name>;\n}\n\nexport const NameAttribute:\nFunctionalComponent<INameAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <NamePart\n name={attribute.value}\n />\n </BasicAttribute>\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 type { ActivityDescription } from '@peculiar/asn1-ntqwac';\nimport { Attribute } from '../../../crypto/attribute';\nimport { camelCaseToWords } from '../../../utils';\nimport { GeneralNamePart } from '../extensions/general_name_part';\nimport { RowValue, TableRowTable } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IActivityDescriptionAttributeProps {\n attribute: Attribute<ActivityDescription>;\n}\n\nexport const ActivityDescriptionAttribute:\nFunctionalComponent<IActivityDescriptionAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name={camelCaseToWords('codeAuthority')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.codeAuthority}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('codeId')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.codeId}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('shortName')}\n value={attribute.value.shortName}\n />\n <RowValue\n name={camelCaseToWords('shortDescription')}\n value={attribute.value.shortDescription}\n />\n </BasicAttribute>\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 type { WebGDPR } from '@peculiar/asn1-ntqwac';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { camelCaseToWords } from '../../../utils';\nimport { GeneralNamePart } from '../extensions/general_name_part';\nimport { RowValue, TableRowTable } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IWebGdprAttributeProps {\n attribute: Attribute<WebGDPR>;\n}\n\nexport const WebGdprAttribute:\nFunctionalComponent<IWebGdprAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name={camelCaseToWords('assessmentAuthority')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentAuthority}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('assessmentLocation')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentLocation}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('assessmentRef')}\n value=\"\"\n />\n <TableRowTable>\n <GeneralNamePart\n generalName={attribute.value.assessmentRef}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n />\n </TableRowTable>\n\n <RowValue\n name={camelCaseToWords('dataStorageTerritory')}\n value={attribute.value.dataStorageTerritory}\n />\n <RowValue\n name={camelCaseToWords('description')}\n value={attribute.value.description}\n />\n </BasicAttribute>\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 type { InsuranceValue } from '@peculiar/asn1-ntqwac';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IInsuranceValueAttributeProps {\n attribute: Attribute<InsuranceValue>;\n}\n\nexport const InsuranceValueAttribute:\nFunctionalComponent<IInsuranceValueAttributeProps> = (props) => {\n const { attribute } = props;\n const value = `${attribute.value.base} * 10^${attribute.value.degree} ${attribute.value.location}`;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={value}\n />\n </BasicAttribute>\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 type { TypeRelationship } from '@peculiar/asn1-ntqwac';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { l10n } from '../../../utils';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface ITypeRelationshipAttributeProps {\n attribute: Attribute<TypeRelationship>;\n}\n\nexport const TypeRelationshipAttribute:\nFunctionalComponent<ITypeRelationshipAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n {Object.keys(attribute.value).map((keyName) => (\n <RowValue\n name={keyName}\n value={attribute.value[keyName].toNumber() ? l10n.getString('yes') : l10n.getString('no')}\n />\n ))}\n </BasicAttribute>\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 type { ValuationRanking } from '@peculiar/asn1-ntqwac';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IValuationRankingAttributeProps {\n attribute: Attribute<ValuationRanking>;\n}\n\nconst getValueRank = (value: number): string => {\n let ratio = 1;\n\n if (value / 100 > 1) {\n ratio = 100;\n } else if (value / 10 > 1) {\n ratio = 10;\n }\n\n return `${value}/${5 * ratio}`;\n};\n\nexport const ValuationRankingAttribute:\nFunctionalComponent<IValuationRankingAttributeProps> = (props) => {\n const { attribute } = props;\n const values = Object.keys(attribute.value).map((keyName) => ([\n getValueRank(attribute.value[keyName]),\n <br />,\n ]));\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={values as unknown as string[]}\n />\n </BasicAttribute>\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 type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IAsStringAttributeProps {\n attribute: Attribute<string>;\n}\n\nexport const AsStringAttribute:\nFunctionalComponent<IAsStringAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value}\n monospace\n />\n </BasicAttribute>\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 type { UnstructuredName } from '@peculiar/asn1-pkcs9';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IUnstructuredNameAttributeProps {\n attribute: Attribute<UnstructuredName>;\n}\n\nexport const UnstructuredNameAttribute:\nFunctionalComponent<IUnstructuredNameAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value.utf8String}\n />\n </BasicAttribute>\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 type { ChallengePassword } from '@peculiar/asn1-pkcs9';\nimport type { Attribute } from '../../../crypto/attribute';\nimport { RowValue } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IChallengePasswordAttributeProps {\n attribute: Attribute<ChallengePassword>;\n}\n\nexport const ChallengePasswordAttribute:\nFunctionalComponent<IChallengePasswordAttributeProps> = (props) => {\n const { attribute } = props;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Value\"\n value={attribute.value.toString()}\n />\n </BasicAttribute>\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 { ExtensionRequest } from '@peculiar/asn1-pkcs9';\nimport { AsnConvert } from '@peculiar/asn1-schema';\nimport { Extension, TExtensionValue } from '../../../crypto/extension';\nimport { Attribute } from '../../../crypto/attribute';\nimport { Extensions } from '../../certificate-details-parts';\nimport { TableRowTable } from '../row';\nimport { BasicAttribute } from './basic_attribute';\n\ninterface IExtensionRequestAttributeProps {\n attribute: Attribute<ExtensionRequest>;\n}\n\nexport const ExtensionRequestAttribute:\nFunctionalComponent<IExtensionRequestAttributeProps> = (props) => {\n const { attribute } = props;\n let extensions: Extension<TExtensionValue>[];\n\n if (attribute.value) {\n extensions = attribute.value.map((e) => new Extension(AsnConvert.serialize(e)));\n }\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <TableRowTable>\n <Extensions\n extensions={extensions}\n getDNSNameLink={() => ''}\n getIPAddressLink={() => ''}\n getLEILink={() => ''}\n />\n </TableRowTable>\n </BasicAttribute>\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 { AsnConvert } from '@peculiar/asn1-schema';\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { PrivateKeyPossessionStatement } from '@peculiar/asn1-private-key-stmt';\nimport { Convert } from 'pvtsutils';\nimport { Attribute } from '../../../crypto/attribute';\nimport { RowValue, TableRowTable } from '../row';\nimport { BasicAttribute } from './basic_attribute';\nimport { NamePart } from './name_part';\n\ninterface IPrivateKeyPossessionStatementAttributeProps {\n attribute: Attribute<PrivateKeyPossessionStatement>;\n}\n\nexport const PrivateKeyPossessionStatementAttribute:\nFunctionalComponent<IPrivateKeyPossessionStatementAttributeProps> = (props) => {\n const { attribute } = props;\n const certificateRaw = attribute.value.cert\n ? AsnConvert.serialize(attribute.value.cert)\n : null;\n\n return (\n <BasicAttribute\n attribute={attribute}\n >\n <RowValue\n name=\"Serial Number\"\n value={Convert.ToHex(attribute.value.signer.serialNumber)}\n monospace\n />\n <RowValue\n name=\"Issuer\"\n value=\"\"\n />\n <TableRowTable>\n <NamePart\n name={attribute.value.signer.issuer}\n />\n </TableRowTable>\n {certificateRaw && [\n <RowValue\n name=\"Certificate\"\n value=\"\"\n />,\n <TableRowTable>\n <peculiar-certificate-viewer\n certificate={Convert.ToBase64(certificateRaw)}\n />\n </TableRowTable>,\n ]}\n </BasicAttribute>\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 { Name } from '@peculiar/asn1-x509';\nimport {\n TypeRelationship,\n ActivityDescription,\n WebGDPR,\n InsuranceValue,\n ValuationRanking,\n} from '@peculiar/asn1-ntqwac';\nimport {\n UnstructuredName,\n ChallengePassword,\n ExtensionRequest,\n} from '@peculiar/asn1-pkcs9';\nimport { PrivateKeyPossessionStatement } from '@peculiar/asn1-private-key-stmt';\nimport type { Attribute, TAttributeValue } from '../../../crypto/attribute';\nimport { RowTitle } from '../row';\nimport { NameAttribute } from './name_attribute';\nimport { ActivityDescriptionAttribute } from './activity_description_attribute';\nimport { WebGdprAttribute } from './web_gdpr_attribute';\nimport { InsuranceValueAttribute } from './insurance_value_attribute';\nimport { TypeRelationshipAttribute } from './type_relationship_attribute';\nimport { ValuationRankingAttribute } from './valuation_ranking_attribute';\nimport { BasicAttribute } from './basic_attribute';\nimport { AsStringAttribute } from './as_string_attribute';\nimport { UnstructuredNameAttribute } from './unstructured_name_attribute';\nimport { ChallengePasswordAttribute } from './challenge_password_attribute';\nimport { ExtensionRequestAttribute } from './extension_request_attribute';\nimport { PrivateKeyPossessionStatementAttribute } from './private_key_possession_statement_attribute';\n\ninterface IAttributesPtops extends\n IGeneralNameOptions,\n ILeiOptions,\n IAuthorityKeyIdentifierOptions,\n ISubjectKeyIdentifierOptions {\n attributes: Attribute<TAttributeValue>[];\n}\n\nexport const Attributes: FunctionalComponent<IAttributesPtops> = (props) => {\n const { attributes } = props;\n\n if (!attributes || !attributes.length) {\n return null;\n }\n\n return ([\n <RowTitle\n value=\"Attributes\"\n />,\n attributes.map((attribute) => {\n try {\n if (attribute.value instanceof Name) {\n return (\n <NameAttribute\n attribute={attribute as unknown as Attribute<Name>}\n />\n );\n }\n\n if (attribute.value instanceof ExtensionRequest) {\n return (\n <ExtensionRequestAttribute\n attribute={attribute as unknown as Attribute<ExtensionRequest>}\n />\n );\n }\n\n if (attribute.value instanceof ActivityDescription) {\n return (\n <ActivityDescriptionAttribute\n attribute={attribute as unknown as Attribute<ActivityDescription>}\n />\n );\n }\n\n if (attribute.value instanceof WebGDPR) {\n return (\n <WebGdprAttribute\n attribute={attribute as unknown as Attribute<WebGDPR>}\n />\n );\n }\n\n if (attribute.value instanceof InsuranceValue) {\n return (\n <InsuranceValueAttribute\n attribute={attribute as unknown as Attribute<InsuranceValue>}\n />\n );\n }\n\n if (attribute.value instanceof TypeRelationship) {\n return (\n <TypeRelationshipAttribute\n attribute={attribute as unknown as Attribute<TypeRelationship>}\n />\n );\n }\n\n if (attribute.value instanceof ValuationRanking) {\n return (\n <ValuationRankingAttribute\n attribute={attribute as unknown as Attribute<ValuationRanking>}\n />\n );\n }\n\n if (attribute.value instanceof UnstructuredName) {\n return (\n <UnstructuredNameAttribute\n attribute={attribute as unknown as Attribute<UnstructuredName>}\n />\n );\n }\n\n if (attribute.value instanceof ChallengePassword) {\n return (\n <ChallengePasswordAttribute\n attribute={attribute as unknown as Attribute<ChallengePassword>}\n />\n );\n }\n\n if (attribute.value instanceof PrivateKeyPossessionStatement) {\n return (\n <PrivateKeyPossessionStatementAttribute\n attribute={attribute as unknown as Attribute<PrivateKeyPossessionStatement>}\n />\n );\n }\n\n if (typeof attribute.value === 'string') {\n return (\n <AsStringAttribute\n attribute={attribute as unknown as Attribute<string>}\n />\n );\n }\n\n return (\n <BasicAttribute\n attribute={attribute}\n />\n );\n } catch {\n console.error('Error render attribute:', attribute.asn.type);\n\n return null;\n }\n }),\n ]);\n};\n"],"version":3}
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
3
  */
4
+ import { $ as OIDs, a6 as OctetString, ac as ByteStream, ad as SignedCertificateTimestamp, A as AsnData, ae as Extension$1, j as AsnParser, af as CabforganizationIdentifier, ag as NonStandardKeyDescription, ah as BaseCRLNumber, ai as CRLNumber, aj as SubjectInfoAccessSyntax, ak as TNAuthorizationList, al as LogotypeExtn, am as BiometricSyntax, an as EntrustVersionInfo, ao as PrivateKeyUsagePeriod, ap as ArchiveRevInfo, aq as Timestamp, ar as LeiRole, as as LeiChoice, at as CaVersion, au as NetscapeCertType, av as NetscapeComment, aw as EnrollCertTypeChoice, ax as CertificateTemplate, ay as QCStatements, az as SubjectKeyIdentifier, aA as SubjectDirectoryAttributes, aB as SubjectAlternativeName, aC as PolicyMappings, aD as PolicyConstraints, aE as NameConstraints, aF as KeyUsage, aG as IssueAlternativeName, a2 as InvalidityDate, aH as InhibitAnyPolicy, aI as ExtendedKeyUsage, a1 as CRLReason, aJ as IssuingDistributionPoint, aK as CRLDistributionPoints, aL as CertificatePolicies, a3 as CertificateIssuer, aM as BasicConstraints, aN as AuthorityKeyIdentifier, aO as AuthorityInfoAccessSyntax, f as buildExports, aP as id_cabforganizationIdentifier, aQ as id_ce_keyDescription, aR as id_ce_deltaCRLIndicator, aS as id_ce_cRLNumber, aT as id_pe_subjectInfoAccess, aU as id_pe_TNAuthList, aV as id_pe_biometricInfo, aW as id_entrust_entrustVersInfo, aX as id_ce_privateKeyUsagePeriod, aY as id_adbe_archiveRevInfo, aZ as id_adbe_timestamp, a_ as id_role, a$ as id_lei, b0 as id_caVersion, b1 as id_netscapeCertType, b2 as id_netscapeComment, b3 as id_enrollCertType, b4 as id_certificateTemplate, b5 as id_pe_qcStatements, b6 as id_ce_subjectKeyIdentifier, b7 as id_ce_subjectDirectoryAttributes, b8 as id_ce_subjectAltName, b9 as id_ce_policyMappings, ba as id_ce_policyConstraints, bb as id_ce_nameConstraints, bc as id_ce_keyUsage, bd as id_ce_issuerAltName, be as id_ce_invalidityDate, bf as id_ce_inhibitAnyPolicy, bg as id_ce_extKeyUsage, bh as id_ce_cRLReasons, bi as id_ce_issuingDistributionPoint, bj as id_ce_cRLDistributionPoints, bk as id_ce_certificatePolicies, bl as id_ce_certificateIssuer, bm as id_ce_basicConstraints, bn as id_ce_authorityKeyIdentifier, bo as id_pe_authorityInfoAccess, L as Link, l as l10n, _ as dateShort, ab as Name$1, bp as OtherName, bq as DisplayText, br as UserNotice, bs as EDIPartyName, bt as __decorate, bu as AsnProp, bv as AsnPropTypes, bw as AsnType, bx as AsnTypeTypes, by as AsnArray, bz as id_qcs_pkixQCSyntax_v2, bA as SemanticsInformation, bB as AsnIntegerArrayBufferConverter, bC as AttestationApplicationId, bD as RootOfTrust, bE as IntegerSet, a as DownloadIcon } from './download.js';
4
5
  import { h } from '@stencil/core/internal/client';
5
- import { _ as OIDs, L as Link, l as l10n, Z as dateShort, f as buildExports, aa as Name$1, ab as OtherName, m as AsnParser, ac as DisplayText, ad as UserNotice, ae as EDIPartyName, af as __decorate, ag as AsnProp, ah as AsnPropTypes, ai as AsnType, aj as AsnTypeTypes, ak as AsnArray, al as id_qcs_pkixQCSyntax_v2, am as SemanticsInformation, an as AsnIntegerArrayBufferConverter, ao as AttestationApplicationId, ap as RootOfTrust, aq as IntegerSet, ar as KeyUsage, as as BasicConstraints, at as ExtendedKeyUsage, au as SubjectKeyIdentifier, av as AuthorityKeyIdentifier, aw as CRLDistributionPoints, ax as AuthorityInfoAccessSyntax, ay as SubjectInfoAccessSyntax, az as SubjectAlternativeName, aA as CertificatePolicies, aB as CertificateTransparency, aC as NameConstraints, aD as CertificateTemplate, aE as EnrollCertTypeChoice, aF as CaVersion, aG as QCStatements, aH as NetscapeComment, aI as NetscapeCertType, aJ as LeiRole, aK as LeiChoice, aL as Timestamp, aM as ArchiveRevInfo, a0 as CRLReason, aN as SubjectDirectoryAttributes, aO as PrivateKeyUsagePeriod, aP as EntrustVersionInfo, aQ as BiometricSyntax, aR as LogotypeExtn, aS as TNAuthorizationList, aT as PolicyConstraints, aU as PolicyMappings, aV as CRLNumber, aW as IssuingDistributionPoint, aX as NonStandardKeyDescription, aY as CabforganizationIdentifier, a as DownloadIcon } from './download.js';
6
6
  import { T as Typography, B as Button } from './button.js';
7
7
 
8
8
  /**
@@ -32,6 +32,104 @@ function camelCaseToWords(value) {
32
32
  return result.charAt(0).toUpperCase() + result.slice(1);
33
33
  }
34
34
 
35
+ const id_certificateTransparency = "1.3.6.1.4.1.11129.2.4.2";
36
+ class CertificateTransparency extends OctetString {
37
+ constructor() {
38
+ super(...arguments);
39
+ this.items = [];
40
+ }
41
+ fromASN(asn) {
42
+ super.fromASN(asn);
43
+ const stream = new ByteStream(this.buffer);
44
+ const len = stream.readNumber(2);
45
+ this.items = [];
46
+ while (stream.position < len) {
47
+ this.items.push(new SignedCertificateTimestamp(stream));
48
+ }
49
+ return this;
50
+ }
51
+ toJSON() {
52
+ return this.items.map((o) => o.toJSON());
53
+ }
54
+ }
55
+
56
+ const id_pe_logotype = "1.3.6.1.5.5.7.1.12";
57
+
58
+ /**
59
+ * @license
60
+ * Copyright (c) Peculiar Ventures, LLC.
61
+ *
62
+ * This source code is licensed under the MIT license found in the
63
+ * LICENSE file in the root directory of this source tree.
64
+ */
65
+ const extensionParsers = {
66
+ [id_pe_authorityInfoAccess]: AuthorityInfoAccessSyntax,
67
+ [id_ce_authorityKeyIdentifier]: AuthorityKeyIdentifier,
68
+ [id_ce_basicConstraints]: BasicConstraints,
69
+ [id_ce_certificateIssuer]: CertificateIssuer,
70
+ [id_ce_certificatePolicies]: CertificatePolicies,
71
+ [id_ce_cRLDistributionPoints]: CRLDistributionPoints,
72
+ '2.5.29.46': CRLDistributionPoints,
73
+ [id_ce_issuingDistributionPoint]: IssuingDistributionPoint,
74
+ [id_ce_cRLReasons]: CRLReason,
75
+ [id_ce_extKeyUsage]: ExtendedKeyUsage,
76
+ [id_ce_inhibitAnyPolicy]: InhibitAnyPolicy,
77
+ [id_ce_invalidityDate]: InvalidityDate,
78
+ [id_ce_issuerAltName]: IssueAlternativeName,
79
+ [id_ce_keyUsage]: KeyUsage,
80
+ [id_ce_nameConstraints]: NameConstraints,
81
+ [id_ce_policyConstraints]: PolicyConstraints,
82
+ [id_ce_policyMappings]: PolicyMappings,
83
+ [id_ce_subjectAltName]: SubjectAlternativeName,
84
+ [id_ce_subjectDirectoryAttributes]: SubjectDirectoryAttributes,
85
+ [id_ce_subjectKeyIdentifier]: SubjectKeyIdentifier,
86
+ [id_pe_qcStatements]: QCStatements,
87
+ [id_certificateTemplate]: CertificateTemplate,
88
+ [id_enrollCertType]: EnrollCertTypeChoice,
89
+ [id_netscapeComment]: NetscapeComment,
90
+ [id_netscapeCertType]: NetscapeCertType,
91
+ [id_caVersion]: CaVersion,
92
+ [id_certificateTransparency]: CertificateTransparency,
93
+ [id_lei]: LeiChoice,
94
+ [id_role]: LeiRole,
95
+ [id_adbe_timestamp]: Timestamp,
96
+ [id_adbe_archiveRevInfo]: ArchiveRevInfo,
97
+ [id_ce_privateKeyUsagePeriod]: PrivateKeyUsagePeriod,
98
+ [id_entrust_entrustVersInfo]: EntrustVersionInfo,
99
+ '2.16.724.1.2.2.4.1': BiometricSyntax,
100
+ [id_pe_biometricInfo]: BiometricSyntax,
101
+ [id_pe_logotype]: LogotypeExtn,
102
+ [id_pe_TNAuthList]: TNAuthorizationList,
103
+ [id_pe_subjectInfoAccess]: SubjectInfoAccessSyntax,
104
+ [id_ce_cRLNumber]: CRLNumber,
105
+ [id_ce_deltaCRLIndicator]: BaseCRLNumber,
106
+ [id_ce_keyDescription]: NonStandardKeyDescription,
107
+ [id_cabforganizationIdentifier]: CabforganizationIdentifier,
108
+ };
109
+ class Extension extends AsnData {
110
+ getAsnExtnValue() {
111
+ return this.asn.extnValue.buffer;
112
+ }
113
+ constructor(raw) {
114
+ super(raw, Extension$1);
115
+ const asnExtnValue = this.getAsnExtnValue();
116
+ try {
117
+ const target = extensionParsers[this.asn.extnID];
118
+ if (target) {
119
+ this.value = AsnParser.parse(asnExtnValue, target);
120
+ }
121
+ else {
122
+ console.warn(`Didn't detect parser for "${this.asn.extnID}" extension.`);
123
+ this.value = buildExports.Convert.ToHex(asnExtnValue);
124
+ }
125
+ }
126
+ catch (error) {
127
+ console.error(`Error parse "${this.asn.extnID}" extension:`, error.message);
128
+ this.value = buildExports.Convert.ToHex(asnExtnValue);
129
+ }
130
+ }
131
+ }
132
+
35
133
  /**
36
134
  * @license
37
135
  * Copyright (c) Peculiar Ventures, LLC.
@@ -1315,7 +1413,7 @@ const Miscellaneous = (props) => {
1315
1413
  ];
1316
1414
  };
1317
1415
 
1318
- export { BasicInformation as B, Extensions as E, GeneralNamePart as G, Miscellaneous as M, RowTitle as R, Signature as S, Thumbprints as T, RowValue as a, getDNSNameLink as b, getLEILink as c, TableRowTable as d, getStringByOID as e, camelCaseToWords as f, getIPAddressLink as g };
1416
+ export { BasicInformation as B, Extension as E, GeneralNamePart as G, Miscellaneous as M, RowTitle as R, Signature as S, Thumbprints as T, RowValue as a, getDNSNameLink as b, getLEILink as c, TableRowTable as d, getStringByOID as e, Extensions as f, getIPAddressLink as g, camelCaseToWords as h };
1319
1417
  //# sourceMappingURL=miscellaneous.js.map
1320
1418
 
1321
1419
  //# sourceMappingURL=miscellaneous.js.map