@peculiar/certificates-viewer 4.1.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/actions.js +3 -3
- package/components/actions.js.map +1 -1
- package/components/arrow_top.js +6 -6
- package/components/arrow_top.js.map +1 -1
- package/components/attribute-certificate-viewer.js +222 -220
- package/components/attribute-certificate-viewer.js.map +1 -1
- package/components/button-menu.js +36 -35
- package/components/button-menu.js.map +1 -1
- package/components/button.js +42 -42
- package/components/button.js.map +1 -1
- package/components/certificate-viewer.js +250 -249
- package/components/certificate-viewer.js.map +1 -1
- package/components/circular-progress.js +34 -33
- package/components/circular-progress.js.map +1 -1
- package/components/crl-viewer.js +214 -213
- package/components/crl-viewer.js.map +1 -1
- package/components/cross.js +9 -9
- package/components/cross.js.map +1 -1
- package/components/csr-viewer.js +200 -202
- package/components/csr-viewer.js.map +1 -1
- package/components/download.js +56 -56
- package/components/download.js.map +1 -1
- package/components/highlight-words.js +45 -44
- package/components/highlight-words.js.map +1 -1
- package/components/index2.js +146 -156
- package/components/index2.js.map +1 -1
- package/components/issuer_name.js +6 -6
- package/components/issuer_name.js.map +1 -1
- package/components/miscellaneous.js +4049 -4037
- package/components/miscellaneous.js.map +1 -1
- package/components/peculiar-attribute-certificate-viewer.d.ts +2 -2
- package/components/peculiar-button-menu.d.ts +2 -2
- package/components/peculiar-certificate-decoder.d.ts +2 -2
- package/components/peculiar-certificate-decoder.js +183 -182
- package/components/peculiar-certificate-decoder.js.map +1 -1
- package/components/peculiar-certificate-viewer.d.ts +2 -2
- package/components/peculiar-certificates-viewer.d.ts +2 -2
- package/components/peculiar-certificates-viewer.js +297 -296
- package/components/peculiar-certificates-viewer.js.map +1 -1
- package/components/peculiar-circular-progress.d.ts +2 -2
- package/components/peculiar-crl-viewer.d.ts +2 -2
- package/components/peculiar-csr-viewer.d.ts +2 -2
- package/components/peculiar-highlight-words.d.ts +2 -2
- package/components/peculiar-text-hider.d.ts +2 -2
- package/components/peculiar-text-hider.js +23 -22
- package/components/peculiar-text-hider.js.map +1 -1
- package/components/subject_name.js +35 -35
- package/components/subject_name.js.map +1 -1
- package/dist/cjs/actions-789906f5.js +23 -0
- package/dist/cjs/{actions-19013d4a.js.map → actions-789906f5.js.map} +1 -1
- package/dist/cjs/app-globals-c20ffa41.js +10 -0
- package/dist/cjs/app-globals-c20ffa41.js.map +1 -0
- package/dist/cjs/arrow_top-76e4261e.js +37 -0
- package/dist/cjs/{arrow_top-834fb7ec.js.map → arrow_top-76e4261e.js.map} +1 -1
- package/dist/cjs/button-87086210.js +77 -0
- package/dist/cjs/{button-14e2b73f.js.map → button-87086210.js.map} +1 -1
- package/dist/cjs/{certification_request-bf416170.js → certification_request-b0d72620.js} +3326 -3331
- package/dist/cjs/certification_request-b0d72620.js.map +1 -0
- package/dist/cjs/crl-812dd7a1.js +312 -0
- package/dist/cjs/crl-812dd7a1.js.map +1 -0
- package/dist/cjs/cross-bd099933.js +51 -0
- package/dist/cjs/{cross-9872c473.js.map → cross-bd099933.js.map} +1 -1
- package/dist/cjs/{download-0fa5b33c.js → download-6f550549.js} +50 -50
- package/dist/cjs/download-6f550549.js.map +1 -0
- package/dist/cjs/download-820d66ba.js +23 -0
- package/dist/cjs/{download-254ddc57.js.map → download-820d66ba.js.map} +1 -1
- package/dist/cjs/{index-efd561e9.js → index-e2ae280a.js} +398 -145
- package/dist/cjs/index-e2ae280a.js.map +1 -0
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/link-a3d3799d.js +25 -0
- package/dist/cjs/{link-6aea0be4.js.map → link-a3d3799d.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +4 -2
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/miscellaneous-dcb93a5b.js +1419 -0
- package/dist/cjs/miscellaneous-dcb93a5b.js.map +1 -0
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +481 -480
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +72 -69
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +151 -150
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +107 -106
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +258 -257
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar-text-hider.cjs.entry.js +12 -11
- package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -1
- package/dist/cjs/peculiar.cjs.js +5 -3
- package/dist/cjs/peculiar.cjs.js.map +1 -1
- package/dist/cjs/x509_certificate-ebf4cbd4.js +160 -0
- package/dist/cjs/x509_certificate-ebf4cbd4.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +259 -259
- package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -1
- package/dist/collection/components/button/button.js +9 -9
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button-menu/button-menu.js +60 -60
- package/dist/collection/components/button-menu/button-menu.js.map +1 -1
- package/dist/collection/components/certificate-decoder/certificate-decoder.js +211 -211
- package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js +4 -3
- package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js +2 -2
- package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js +6 -6
- package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js +2 -2
- package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/index.js +42 -42
- package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js +3 -3
- package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js +2 -2
- package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/name_part.js +5 -5
- package/dist/collection/components/certificate-details-parts/attributes/name_part.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js +2 -2
- package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js +2 -2
- package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js +14 -14
- package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js +4 -3
- package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/basic_information.js +12 -12
- package/dist/collection/components/certificate-details-parts/basic_information.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js +8 -8
- package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js +7 -7
- package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js +3 -3
- package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js +19 -0
- package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js +23 -23
- package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js +8 -8
- package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js +52 -52
- package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/index.js +123 -118
- package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js +4 -4
- package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js +58 -58
- package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js +42 -42
- package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js +6 -7
- package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js +29 -29
- package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js +8 -8
- package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js +2 -2
- package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js +6 -8
- package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/holder.js +19 -21
- package/dist/collection/components/certificate-details-parts/holder.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/issuer.js +8 -8
- package/dist/collection/components/certificate-details-parts/issuer.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/issuer_name.js +6 -6
- package/dist/collection/components/certificate-details-parts/issuer_name.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/miscellaneous.js +6 -6
- package/dist/collection/components/certificate-details-parts/miscellaneous.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/public_key.js +29 -29
- package/dist/collection/components/certificate-details-parts/public_key.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/revoked_certificates.js +30 -30
- package/dist/collection/components/certificate-details-parts/revoked_certificates.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/row.js +26 -26
- package/dist/collection/components/certificate-details-parts/row.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/signature.js +13 -13
- package/dist/collection/components/certificate-details-parts/signature.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/subject_name.js +5 -5
- package/dist/collection/components/certificate-details-parts/subject_name.js.map +1 -1
- package/dist/collection/components/certificate-details-parts/thumbprints.js +12 -12
- package/dist/collection/components/certificate-details-parts/thumbprints.js.map +1 -1
- package/dist/collection/components/certificate-summary/certificate-summary.js +3 -3
- package/dist/collection/components/certificate-summary/certificate-summary.js.map +1 -1
- package/dist/collection/components/certificate-viewer/certificate-viewer.js +278 -278
- package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -1
- package/dist/collection/components/certificates-viewer/certificates-viewer.js +374 -374
- package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
- package/dist/collection/components/circular-progress/circular-progress.js +67 -67
- package/dist/collection/components/circular-progress/circular-progress.js.map +1 -1
- package/dist/collection/components/crl-viewer/crl-viewer.js +229 -229
- package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -1
- package/dist/collection/components/csr-viewer/csr-viewer.js +211 -219
- package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -1
- package/dist/collection/components/highlight-words/highlight-words.js +60 -60
- package/dist/collection/components/highlight-words/highlight-words.js.map +1 -1
- package/dist/collection/components/icons/actions.js +2 -2
- package/dist/collection/components/icons/actions.js.map +1 -1
- package/dist/collection/components/icons/arrow_bottom.js +2 -2
- package/dist/collection/components/icons/arrow_bottom.js.map +1 -1
- package/dist/collection/components/icons/arrow_top.js +2 -2
- package/dist/collection/components/icons/arrow_top.js.map +1 -1
- package/dist/collection/components/icons/cross.js +2 -2
- package/dist/collection/components/icons/cross.js.map +1 -1
- package/dist/collection/components/icons/details.js +2 -2
- package/dist/collection/components/icons/details.js.map +1 -1
- package/dist/collection/components/icons/download.js +2 -2
- package/dist/collection/components/icons/download.js.map +1 -1
- package/dist/collection/components/icons/link.js +2 -2
- package/dist/collection/components/icons/link.js.map +1 -1
- package/dist/collection/components/link/link.js +4 -4
- package/dist/collection/components/link/link.js.map +1 -1
- package/dist/collection/components/text-hider/text-hider.js +23 -23
- package/dist/collection/components/text-hider/text-hider.js.map +1 -1
- package/dist/collection/components/typography/typography.js +32 -32
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/constants/logs.js +77 -76
- package/dist/collection/constants/logs.js.map +1 -1
- package/dist/collection/constants/oids.js +2334 -2314
- package/dist/collection/constants/oids.js.map +1 -1
- package/dist/collection/crypto/asn_data.js +31 -31
- package/dist/collection/crypto/asn_data.js.map +1 -1
- package/dist/collection/crypto/attribute.js +35 -51
- package/dist/collection/crypto/attribute.js.map +1 -1
- package/dist/collection/crypto/crl.js +66 -66
- package/dist/collection/crypto/crl.js.map +1 -1
- package/dist/collection/crypto/csr.js +76 -69
- package/dist/collection/crypto/csr.js.map +1 -1
- package/dist/collection/crypto/extension.js +64 -135
- package/dist/collection/crypto/extension.js.map +1 -1
- package/dist/collection/crypto/extensions/cabforganization_identifier.js +54 -0
- package/dist/collection/crypto/extensions/cabforganization_identifier.js.map +1 -0
- package/dist/collection/crypto/extensions/index.js +5 -0
- package/dist/collection/crypto/extensions/index.js.map +1 -0
- package/dist/collection/crypto/name.js +31 -31
- package/dist/collection/crypto/name.js.map +1 -1
- package/dist/collection/crypto/provider.js +26 -26
- package/dist/collection/crypto/provider.js.map +1 -1
- package/dist/collection/crypto/utils.js +23 -23
- package/dist/collection/crypto/utils.js.map +1 -1
- package/dist/collection/crypto/x509_attribute_certificate.js +66 -66
- package/dist/collection/crypto/x509_attribute_certificate.js.map +1 -1
- package/dist/collection/crypto/x509_certificate.js +139 -139
- package/dist/collection/crypto/x509_certificate.js.map +1 -1
- package/dist/collection/utils/camel_case_to_words.js +2 -2
- package/dist/collection/utils/camel_case_to_words.js.map +1 -1
- package/dist/collection/utils/date_formatter.js +6 -6
- package/dist/collection/utils/date_formatter.js.map +1 -1
- package/dist/collection/utils/download.js +24 -24
- package/dist/collection/utils/download.js.map +1 -1
- package/dist/collection/utils/download_from_buffer.js +25 -25
- package/dist/collection/utils/download_from_buffer.js.map +1 -1
- package/dist/collection/utils/get_string_by_oid.js +5 -5
- package/dist/collection/utils/get_string_by_oid.js.map +1 -1
- package/dist/collection/utils/is_link.js +1 -1
- package/dist/collection/utils/is_link.js.map +1 -1
- package/dist/collection/utils/l10n.js +25 -25
- package/dist/collection/utils/l10n.js.map +1 -1
- package/dist/collection/utils/read_file.js +40 -40
- package/dist/collection/utils/read_file.js.map +1 -1
- package/dist/collection/utils/validator.js +13 -13
- package/dist/collection/utils/validator.js.map +1 -1
- package/dist/esm/actions-aebcbc9d.js +21 -0
- package/dist/esm/{actions-8d745b2a.js.map → actions-aebcbc9d.js.map} +1 -1
- package/dist/esm/app-globals-5e9b67e0.js +8 -0
- package/dist/esm/app-globals-5e9b67e0.js.map +1 -0
- package/dist/esm/arrow_top-aee1ee02.js +34 -0
- package/dist/esm/{arrow_top-fc298828.js.map → arrow_top-aee1ee02.js.map} +1 -1
- package/dist/esm/button-a2fabf9a.js +74 -0
- package/dist/esm/{button-35146bdd.js.map → button-a2fabf9a.js.map} +1 -1
- package/dist/esm/{certification_request-c9dc8e9c.js → certification_request-2c054ece.js} +3325 -3331
- package/dist/esm/certification_request-2c054ece.js.map +1 -0
- package/dist/esm/crl-a7318483.js +308 -0
- package/dist/esm/crl-a7318483.js.map +1 -0
- package/dist/esm/cross-1377606f.js +47 -0
- package/dist/esm/{cross-9ec9a759.js.map → cross-1377606f.js.map} +1 -1
- package/dist/esm/download-14dc1047.js +21 -0
- package/dist/esm/{download-0cc3077a.js.map → download-14dc1047.js.map} +1 -1
- package/dist/esm/{download-aacb6eff.js → download-8c128e2e.js} +50 -50
- package/dist/esm/download-8c128e2e.js.map +1 -0
- package/dist/esm/{index-4079bbb5.js → index-ae188432.js} +398 -145
- package/dist/esm/index-ae188432.js.map +1 -0
- package/dist/esm/index.js +8 -8
- package/dist/esm/link-7e4e9060.js +23 -0
- package/dist/esm/{link-ad24c3be.js.map → link-7e4e9060.js.map} +1 -1
- package/dist/esm/loader.js +5 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/miscellaneous-0e98b5bc.js +1401 -0
- package/dist/esm/miscellaneous-0e98b5bc.js.map +1 -0
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +481 -480
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
- package/dist/esm/peculiar-button-menu_3.entry.js +72 -69
- package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-decoder.entry.js +151 -150
- package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
- package/dist/esm/peculiar-certificate-viewer.entry.js +107 -106
- package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-certificates-viewer.entry.js +258 -257
- package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
- package/dist/esm/peculiar-text-hider.entry.js +12 -11
- package/dist/esm/peculiar-text-hider.entry.js.map +1 -1
- package/dist/esm/peculiar.js +6 -4
- package/dist/esm/peculiar.js.map +1 -1
- package/dist/esm/x509_certificate-ad568d3a.js +158 -0
- package/dist/esm/x509_certificate-ad568d3a.js.map +1 -0
- package/dist/esm-es5/{actions-8d745b2a.js → actions-aebcbc9d.js} +2 -2
- package/dist/esm-es5/app-globals-5e9b67e0.js +5 -0
- package/dist/esm-es5/app-globals-5e9b67e0.js.map +1 -0
- package/dist/esm-es5/{arrow_top-fc298828.js → arrow_top-aee1ee02.js} +2 -2
- package/dist/esm-es5/button-a2fabf9a.js +19 -0
- package/dist/esm-es5/certification_request-2c054ece.js +97 -0
- package/dist/esm-es5/certification_request-2c054ece.js.map +1 -0
- package/dist/esm-es5/crl-a7318483.js +33 -0
- package/dist/esm-es5/crl-a7318483.js.map +1 -0
- package/dist/esm-es5/{cross-9ec9a759.js → cross-1377606f.js} +2 -2
- package/dist/esm-es5/{download-0cc3077a.js → download-14dc1047.js} +2 -2
- package/dist/esm-es5/{download-aacb6eff.js → download-8c128e2e.js} +3 -3
- package/dist/esm-es5/{download-aacb6eff.js.map → download-8c128e2e.js.map} +1 -1
- package/dist/esm-es5/index-ae188432.js +6 -0
- package/dist/esm-es5/index-ae188432.js.map +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{link-ad24c3be.js → link-7e4e9060.js} +3 -3
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/miscellaneous-0e98b5bc.js +369 -0
- package/dist/esm-es5/miscellaneous-0e98b5bc.js.map +1 -0
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +17 -17
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-button-menu_3.entry.js +1 -1
- package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js +3 -3
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js +2 -2
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js +3 -3
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
- package/dist/esm-es5/peculiar-text-hider.entry.js +1 -1
- package/dist/esm-es5/peculiar-text-hider.entry.js.map +1 -1
- package/dist/esm-es5/peculiar.js +2 -2
- package/dist/esm-es5/peculiar.js.map +1 -1
- package/dist/esm-es5/x509_certificate-ad568d3a.js +12 -0
- package/dist/esm-es5/{x509_certificate-8cf268d1.js.map → x509_certificate-ad568d3a.js.map} +1 -1
- package/dist/peculiar/index.esm.js +1 -1
- package/dist/peculiar/{p-5e49b881.system.entry.js → p-00302a20.system.entry.js} +3 -3
- package/dist/peculiar/p-00302a20.system.entry.js.map +1 -0
- package/dist/peculiar/p-0dbc8238.system.js +13 -0
- package/dist/peculiar/{p-cfca7dae.system.js.map → p-0dbc8238.system.js.map} +1 -1
- package/dist/peculiar/{p-1ef997ee.js → p-1302bd67.js} +11 -11
- package/dist/peculiar/p-1302bd67.js.map +1 -0
- package/dist/peculiar/{p-59e5ac12.js → p-1f766dd5.js} +1 -1
- package/dist/peculiar/p-243244af.system.js +13 -0
- package/dist/peculiar/{p-0fc2e2b4.js → p-27ca6743.js} +2 -2
- package/dist/peculiar/p-3cb79cd9.js +6 -0
- package/dist/peculiar/p-3cb79cd9.js.map +1 -0
- package/dist/peculiar/{p-72f53d81.js → p-3d44cbd2.js} +3 -3
- package/dist/peculiar/p-3f9af5f5.system.js +97 -0
- package/dist/peculiar/p-3f9af5f5.system.js.map +1 -0
- package/dist/peculiar/{p-0bd7c6bc.system.entry.js → p-496449cf.system.entry.js} +10 -10
- package/dist/peculiar/p-496449cf.system.entry.js.map +1 -0
- package/dist/peculiar/p-4bc5ddbe.js +19 -0
- package/dist/peculiar/{p-025b3cfb.entry.js → p-54b37ef9.entry.js} +2 -2
- package/dist/peculiar/p-54b37ef9.entry.js.map +1 -0
- package/dist/peculiar/p-5a662d6f.system.js +13 -0
- package/dist/peculiar/{p-e5b18cd1.entry.js → p-5c6f9a14.entry.js} +3 -3
- package/dist/peculiar/p-5c6f9a14.entry.js.map +1 -0
- package/dist/peculiar/p-5cf4562f.system.entry.js +111 -0
- package/dist/peculiar/p-5cf4562f.system.entry.js.map +1 -0
- package/dist/peculiar/{p-2f48fe70.entry.js → p-5f3b0fc7.entry.js} +3 -3
- package/dist/peculiar/p-5f3b0fc7.entry.js.map +1 -0
- package/dist/peculiar/{p-24050d82.system.entry.js → p-6680f277.system.entry.js} +10 -10
- package/dist/peculiar/p-6680f277.system.entry.js.map +1 -0
- package/dist/peculiar/p-713563fb.entry.js +5 -0
- package/dist/peculiar/p-713563fb.entry.js.map +1 -0
- package/dist/peculiar/{p-ca02a823.js → p-75166532.js} +60 -53
- package/dist/peculiar/p-75166532.js.map +1 -0
- package/dist/peculiar/p-821bdcdc.system.js +6 -0
- package/dist/peculiar/p-821bdcdc.system.js.map +1 -0
- package/dist/peculiar/p-8393399a.system.js +5 -0
- package/dist/peculiar/p-8393399a.system.js.map +1 -0
- package/dist/peculiar/p-8bbee8f4.system.js +13 -0
- package/dist/peculiar/p-924790f5.js +33 -0
- package/dist/peculiar/p-924790f5.js.map +1 -0
- package/dist/peculiar/p-9712b827.system.js +20 -0
- package/dist/peculiar/{p-2fcad8cb.system.js.map → p-9712b827.system.js.map} +1 -1
- package/dist/peculiar/{p-370cee20.js → p-99efefea.js} +2 -2
- package/dist/peculiar/{p-1ceb0fe3.js → p-a9487007.js} +2 -2
- package/dist/peculiar/{p-17e3c47b.js → p-ae91d778.js} +2 -2
- package/dist/peculiar/p-afbd1c8e.entry.js +5 -0
- package/dist/peculiar/p-afbd1c8e.entry.js.map +1 -0
- package/dist/peculiar/p-b2890eb8.system.js +5 -0
- package/dist/peculiar/p-b5389885.system.entry.js +5 -0
- package/dist/peculiar/p-b5389885.system.entry.js.map +1 -0
- package/dist/peculiar/p-c156b495.system.js +33 -0
- package/dist/peculiar/p-c156b495.system.js.map +1 -0
- package/dist/peculiar/p-c23fd001.entry.js +110 -0
- package/dist/peculiar/p-c23fd001.entry.js.map +1 -0
- package/dist/peculiar/p-c241e4ba.system.js +20 -0
- package/dist/peculiar/{p-c99507d4.system.js.map → p-c241e4ba.system.js.map} +1 -1
- package/dist/peculiar/p-c2995a63.system.js +5 -0
- package/dist/peculiar/p-c2995a63.system.js.map +1 -0
- package/dist/peculiar/p-dac867e8.js +5 -0
- package/dist/peculiar/p-dac867e8.js.map +1 -0
- package/dist/peculiar/p-dde511c8.system.js +43 -0
- package/dist/{cjs/download-0fa5b33c.js.map → peculiar/p-dde511c8.system.js.map} +1 -1
- package/dist/peculiar/p-e4ad4f13.system.entry.js +5 -0
- package/dist/peculiar/p-e4ad4f13.system.entry.js.map +1 -0
- package/dist/peculiar/p-e6a6e602.js +12 -0
- package/dist/peculiar/p-eea904d7.system.js +27 -0
- package/dist/peculiar/{p-ddae2f8e.system.js.map → p-eea904d7.system.js.map} +1 -1
- package/dist/peculiar/p-ff3ced3c.system.js +369 -0
- package/dist/peculiar/p-ff3ced3c.system.js.map +1 -0
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/dist/peculiar/peculiar.esm.js.map +1 -1
- package/dist/peculiar/peculiar.js +15 -15
- package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +68 -68
- package/dist/types/components/button/button.d.ts +4 -4
- package/dist/types/components/button-menu/button-menu.d.ts +7 -7
- package/dist/types/components/certificate-decoder/certificate-decoder.d.ts +31 -31
- package/dist/types/components/certificate-details-parts/attributes/activity_description_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/as_string_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/basic_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/challenge_password_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/index.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/insurance_value_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/name_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/name_part.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/type_relationship_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/unstructured_name_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/valuation_ranking_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/attributes/web_gdpr_attribute.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/basic_information.d.ts +8 -8
- package/dist/types/components/certificate-details-parts/extensions/archive_rev_info_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/as_string_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/authority_key_identifier_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/basic_constraints_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/basic_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/biometric_syntax_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/ca_version_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/cabforganization_identifier_extension.d.ts +15 -0
- package/dist/types/components/certificate-details-parts/extensions/certificate_policies_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/certificate_template_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/certificate_transparency_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/crl_distribution_points_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/crl_number_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/crl_reason_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/enroll_cert_type_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/entrust_version_info_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/extended_key_usage_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/general_name_part.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/index.d.ts +2 -2
- package/dist/types/components/certificate-details-parts/extensions/info_access_syntax_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/issuing_distribution_point_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/key_description_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/key_usage_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/lei_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/lei_role_extennsion.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/logotype_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/name_constraints_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/netscape_cert_type_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/netscape_comment_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/policy_constraints_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/policy_mappings_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/private_key_usage_period_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/qc_statements_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/subject_alternative_name_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/subject_directory_attributes_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/subject_key_identifier_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/timestamp_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/extensions/tn_auth_list_extension.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/holder.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/issuer.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/issuer_name.d.ts +2 -2
- package/dist/types/components/certificate-details-parts/miscellaneous.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/public_key.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/revoked_certificates.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/row.d.ts +7 -7
- package/dist/types/components/certificate-details-parts/signature.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/subject_name.d.ts +1 -1
- package/dist/types/components/certificate-details-parts/thumbprints.d.ts +1 -1
- package/dist/types/components/certificate-summary/certificate-summary.d.ts +2 -2
- package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +74 -74
- package/dist/types/components/certificates-viewer/certificates-viewer.d.ts +75 -75
- package/dist/types/components/circular-progress/circular-progress.d.ts +10 -10
- package/dist/types/components/crl-viewer/crl-viewer.d.ts +56 -56
- package/dist/types/components/csr-viewer/csr-viewer.d.ts +52 -53
- package/dist/types/components/highlight-words/highlight-words.d.ts +8 -8
- package/dist/types/components/icons/actions.d.ts +1 -1
- package/dist/types/components/icons/arrow_bottom.d.ts +1 -1
- package/dist/types/components/icons/arrow_top.d.ts +1 -1
- package/dist/types/components/icons/cross.d.ts +1 -1
- package/dist/types/components/icons/details.d.ts +1 -1
- package/dist/types/components/icons/download.d.ts +1 -1
- package/dist/types/components/icons/link.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +2 -2
- package/dist/types/components/text-hider/text-hider.d.ts +2 -2
- package/dist/types/components/typography/typography.d.ts +4 -4
- package/dist/types/components.d.ts +24 -0
- package/dist/types/constants/logs.d.ts +77 -76
- package/dist/types/constants/oids.d.ts +2326 -2307
- package/dist/types/crypto/asn_data.d.ts +6 -6
- package/dist/types/crypto/attribute.d.ts +21 -6
- package/dist/types/crypto/crl.d.ts +23 -23
- package/dist/types/crypto/csr.d.ts +23 -21
- package/dist/types/crypto/extension.d.ts +52 -5
- package/dist/types/crypto/extensions/cabforganization_identifier.d.ts +23 -0
- package/dist/types/crypto/extensions/index.d.ts +1 -0
- package/dist/types/crypto/name.d.ts +7 -7
- package/dist/types/crypto/provider.d.ts +15 -15
- package/dist/types/crypto/x509_attribute_certificate.d.ts +24 -24
- package/dist/types/crypto/x509_certificate.d.ts +33 -33
- package/dist/types/stencil-public-runtime.d.ts +29 -0
- package/dist/types/utils/download.d.ts +16 -16
- package/dist/types/utils/l10n.d.ts +56 -56
- package/dist/types/utils/read_file.d.ts +7 -7
- package/hydrate/index.d.ts +2 -2
- package/hydrate/index.js +12072 -10170
- package/package.json +21 -13
- package/dist/cjs/actions-19013d4a.js +0 -23
- package/dist/cjs/arrow_top-834fb7ec.js +0 -37
- package/dist/cjs/button-14e2b73f.js +0 -77
- package/dist/cjs/certification_request-bf416170.js.map +0 -1
- package/dist/cjs/crl-d9591b95.js +0 -322
- package/dist/cjs/crl-d9591b95.js.map +0 -1
- package/dist/cjs/cross-9872c473.js +0 -51
- package/dist/cjs/download-254ddc57.js +0 -23
- package/dist/cjs/index-efd561e9.js.map +0 -1
- package/dist/cjs/link-6aea0be4.js +0 -25
- package/dist/cjs/miscellaneous-6e800553.js +0 -1400
- package/dist/cjs/miscellaneous-6e800553.js.map +0 -1
- package/dist/cjs/x509_certificate-53feebd3.js +0 -160
- package/dist/cjs/x509_certificate-53feebd3.js.map +0 -1
- package/dist/esm/actions-8d745b2a.js +0 -21
- package/dist/esm/arrow_top-fc298828.js +0 -34
- package/dist/esm/button-35146bdd.js +0 -74
- package/dist/esm/certification_request-c9dc8e9c.js.map +0 -1
- package/dist/esm/crl-70e85374.js +0 -318
- package/dist/esm/crl-70e85374.js.map +0 -1
- package/dist/esm/cross-9ec9a759.js +0 -47
- package/dist/esm/download-0cc3077a.js +0 -21
- package/dist/esm/download-aacb6eff.js.map +0 -1
- package/dist/esm/index-4079bbb5.js.map +0 -1
- package/dist/esm/link-ad24c3be.js +0 -23
- package/dist/esm/miscellaneous-0763f98e.js +0 -1383
- package/dist/esm/miscellaneous-0763f98e.js.map +0 -1
- package/dist/esm/x509_certificate-8cf268d1.js +0 -158
- package/dist/esm/x509_certificate-8cf268d1.js.map +0 -1
- package/dist/esm-es5/button-35146bdd.js +0 -19
- package/dist/esm-es5/certification_request-c9dc8e9c.js +0 -97
- package/dist/esm-es5/certification_request-c9dc8e9c.js.map +0 -1
- package/dist/esm-es5/crl-70e85374.js +0 -33
- package/dist/esm-es5/crl-70e85374.js.map +0 -1
- package/dist/esm-es5/index-4079bbb5.js +0 -6
- package/dist/esm-es5/index-4079bbb5.js.map +0 -1
- package/dist/esm-es5/miscellaneous-0763f98e.js +0 -362
- package/dist/esm-es5/miscellaneous-0763f98e.js.map +0 -1
- package/dist/esm-es5/x509_certificate-8cf268d1.js +0 -12
- package/dist/peculiar/p-025b3cfb.entry.js.map +0 -1
- package/dist/peculiar/p-0b356bb5.js +0 -6
- package/dist/peculiar/p-0b356bb5.js.map +0 -1
- package/dist/peculiar/p-0bd7c6bc.system.entry.js.map +0 -1
- package/dist/peculiar/p-10d2d400.system.js +0 -34
- package/dist/peculiar/p-10d2d400.system.js.map +0 -1
- package/dist/peculiar/p-14f281b0.system.js +0 -43
- package/dist/peculiar/p-14f281b0.system.js.map +0 -1
- package/dist/peculiar/p-15cb92b5.system.js +0 -97
- package/dist/peculiar/p-15cb92b5.system.js.map +0 -1
- package/dist/peculiar/p-1ef997ee.js.map +0 -1
- package/dist/peculiar/p-24050d82.system.entry.js.map +0 -1
- package/dist/peculiar/p-2f48fe70.entry.js.map +0 -1
- package/dist/peculiar/p-2fcad8cb.system.js +0 -20
- package/dist/peculiar/p-31b60224.system.js +0 -362
- package/dist/peculiar/p-31b60224.system.js.map +0 -1
- package/dist/peculiar/p-33196289.entry.js +0 -5
- package/dist/peculiar/p-33196289.entry.js.map +0 -1
- package/dist/peculiar/p-4ab9673f.system.entry.js +0 -111
- package/dist/peculiar/p-4ab9673f.system.entry.js.map +0 -1
- package/dist/peculiar/p-5151cb6f.system.entry.js +0 -5
- package/dist/peculiar/p-5151cb6f.system.entry.js.map +0 -1
- package/dist/peculiar/p-53784f15.system.entry.js +0 -5
- package/dist/peculiar/p-53784f15.system.entry.js.map +0 -1
- package/dist/peculiar/p-542412ae.js +0 -33
- package/dist/peculiar/p-542412ae.js.map +0 -1
- package/dist/peculiar/p-5aabeba7.system.js +0 -6
- package/dist/peculiar/p-5aabeba7.system.js.map +0 -1
- package/dist/peculiar/p-5ab007e9.entry.js +0 -5
- package/dist/peculiar/p-5ab007e9.entry.js.map +0 -1
- package/dist/peculiar/p-5e49b881.system.entry.js.map +0 -1
- package/dist/peculiar/p-6cb88fd6.system.js +0 -13
- package/dist/peculiar/p-7f9beaa8.js +0 -19
- package/dist/peculiar/p-80832207.system.js +0 -5
- package/dist/peculiar/p-80832207.system.js.map +0 -1
- package/dist/peculiar/p-94a453d7.js +0 -12
- package/dist/peculiar/p-9c91dd68.entry.js +0 -110
- package/dist/peculiar/p-9c91dd68.entry.js.map +0 -1
- package/dist/peculiar/p-a3eeb94b.system.js +0 -5
- package/dist/peculiar/p-b313be9e.system.js +0 -13
- package/dist/peculiar/p-c99507d4.system.js +0 -20
- package/dist/peculiar/p-ca02a823.js.map +0 -1
- package/dist/peculiar/p-cfca7dae.system.js +0 -13
- package/dist/peculiar/p-ddae2f8e.system.js +0 -27
- package/dist/peculiar/p-e5b18cd1.entry.js.map +0 -1
- package/dist/peculiar/p-e6a3b4d4.system.js +0 -13
- /package/dist/esm-es5/{actions-8d745b2a.js.map → actions-aebcbc9d.js.map} +0 -0
- /package/dist/esm-es5/{arrow_top-fc298828.js.map → arrow_top-aee1ee02.js.map} +0 -0
- /package/dist/esm-es5/{button-35146bdd.js.map → button-a2fabf9a.js.map} +0 -0
- /package/dist/esm-es5/{cross-9ec9a759.js.map → cross-1377606f.js.map} +0 -0
- /package/dist/esm-es5/{download-0cc3077a.js.map → download-14dc1047.js.map} +0 -0
- /package/dist/esm-es5/{link-ad24c3be.js.map → link-7e4e9060.js.map} +0 -0
- /package/dist/peculiar/{p-59e5ac12.js.map → p-1f766dd5.js.map} +0 -0
- /package/dist/peculiar/{p-6cb88fd6.system.js.map → p-243244af.system.js.map} +0 -0
- /package/dist/peculiar/{p-0fc2e2b4.js.map → p-27ca6743.js.map} +0 -0
- /package/dist/peculiar/{p-72f53d81.js.map → p-3d44cbd2.js.map} +0 -0
- /package/dist/peculiar/{p-7f9beaa8.js.map → p-4bc5ddbe.js.map} +0 -0
- /package/dist/peculiar/{p-b313be9e.system.js.map → p-5a662d6f.system.js.map} +0 -0
- /package/dist/peculiar/{p-e6a3b4d4.system.js.map → p-8bbee8f4.system.js.map} +0 -0
- /package/dist/peculiar/{p-370cee20.js.map → p-99efefea.js.map} +0 -0
- /package/dist/peculiar/{p-1ceb0fe3.js.map → p-a9487007.js.map} +0 -0
- /package/dist/peculiar/{p-17e3c47b.js.map → p-ae91d778.js.map} +0 -0
- /package/dist/peculiar/{p-a3eeb94b.system.js.map → p-b2890eb8.system.js.map} +0 -0
- /package/dist/peculiar/{p-94a453d7.js.map → p-e6a6e602.js.map} +0 -0
|
@@ -0,0 +1,1401 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { h } from './index-ae188432.js';
|
|
5
|
+
import { a1 as OIDs, $ as l10n, a0 as dateShort, a2 as Name, a6 as OtherName, u as AsnParser, a7 as DisplayText, a8 as UserNotice, a9 as EDIPartyName, aa as __decorate, ab as AsnProp, ac as AsnPropTypes, ad as AsnType, ae as AsnTypeTypes, af as AsnArray, ag as id_qcs_pkixQCSyntax_v2, ah as SemanticsInformation, ai as AsnIntegerArrayBufferConverter, aj as AttestationApplicationId, ak as RootOfTrust, al as IntegerSet, am as KeyUsage, an as BasicConstraints, ao as ExtendedKeyUsage, ap as SubjectKeyIdentifier, aq as AuthorityKeyIdentifier, ar as CRLDistributionPoints, as as AuthorityInfoAccessSyntax, at as SubjectInfoAccessSyntax, au as SubjectAlternativeName, av as CertificatePolicies, aw as CertificateTransparency, ax as NameConstraints, ay as CertificateTemplate, az as EnrollCertTypeChoice, aA as CaVersion, aB as QCStatements, aC as NetscapeComment, aD as NetscapeCertType, aE as LeiRole, aF as LeiChoice, aG as Timestamp, aH as ArchiveRevInfo, a3 as CRLReason, aI as SubjectDirectoryAttributes, aJ as PrivateKeyUsagePeriod, aK as EntrustVersionInfo, aL as BiometricSyntax, aM as LogotypeExtn, aN as TNAuthorizationList, aO as PolicyConstraints, aP as PolicyMappings, aQ as CRLNumber, aR as IssuingDistributionPoint, aS as NonStandardKeyDescription, aT as CabforganizationIdentifier } from './certification_request-2c054ece.js';
|
|
6
|
+
import { C as Convert_1, B as BufferSourceConverter_1 } from './download-8c128e2e.js';
|
|
7
|
+
import { L as Link } from './link-7e4e9060.js';
|
|
8
|
+
import { T as Typography, B as Button } from './button-a2fabf9a.js';
|
|
9
|
+
import { D as DownloadIcon } from './download-14dc1047.js';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @license
|
|
13
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/
|
|
18
|
+
function getStringByOID(value) {
|
|
19
|
+
const oid = OIDs[value];
|
|
20
|
+
if (oid) {
|
|
21
|
+
return `${oid} (${value})`;
|
|
22
|
+
}
|
|
23
|
+
return value;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
29
|
+
*
|
|
30
|
+
* This source code is licensed under the MIT license found in the
|
|
31
|
+
* LICENSE file in the root directory of this source tree.
|
|
32
|
+
*/
|
|
33
|
+
function camelCaseToWords(value) {
|
|
34
|
+
const result = value.replace(/([A-Z])/g, ' $1');
|
|
35
|
+
return result.charAt(0).toUpperCase() + result.slice(1);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @license
|
|
40
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
41
|
+
*
|
|
42
|
+
* This source code is licensed under the MIT license found in the
|
|
43
|
+
* LICENSE file in the root directory of this source tree.
|
|
44
|
+
*/
|
|
45
|
+
const getLEILink = (lei) => `https://search.gleif.org/#/record/${lei}`;
|
|
46
|
+
const getDNSNameLink = (dnsName) => `https://search.censys.io/search?resource=hosts&q=dns.names%3A${dnsName}`;
|
|
47
|
+
const getIPAddressLink = (ipAddress) => `https://search.censys.io/search?resource=hosts&q=ip%3A${ipAddress}`;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @license
|
|
51
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
52
|
+
*
|
|
53
|
+
* This source code is licensed under the MIT license found in the
|
|
54
|
+
* LICENSE file in the root directory of this source tree.
|
|
55
|
+
*/
|
|
56
|
+
function isLink(value) {
|
|
57
|
+
return value.indexOf('http') === 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @license
|
|
62
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
63
|
+
*
|
|
64
|
+
* This source code is licensed under the MIT license found in the
|
|
65
|
+
* LICENSE file in the root directory of this source tree.
|
|
66
|
+
*/
|
|
67
|
+
const TableRowTable = (_, children) => (h("tr", null,
|
|
68
|
+
h("td", { colSpan: 2 },
|
|
69
|
+
h("table", null, children))));
|
|
70
|
+
const RowTitle = (props) => {
|
|
71
|
+
const { value } = props;
|
|
72
|
+
if (!value) {
|
|
73
|
+
return null;
|
|
74
|
+
}
|
|
75
|
+
return [
|
|
76
|
+
h("tr", { class: "title" },
|
|
77
|
+
h("td", { colSpan: 2 },
|
|
78
|
+
h(Typography, { variant: "s1", color: "black" }, value))),
|
|
79
|
+
h("tr", null,
|
|
80
|
+
h("td", { colSpan: 2, class: "divider" },
|
|
81
|
+
h("span", null))),
|
|
82
|
+
];
|
|
83
|
+
};
|
|
84
|
+
const RowValue = (props) => {
|
|
85
|
+
const { name, value, monospace, collapse, href, extraValue, } = props;
|
|
86
|
+
if (!name) {
|
|
87
|
+
return null;
|
|
88
|
+
}
|
|
89
|
+
if (value === undefined || value === null) {
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
let elementValue;
|
|
93
|
+
if (collapse) {
|
|
94
|
+
elementValue = (h("peculiar-text-hider", null, value));
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
elementValue = value;
|
|
98
|
+
}
|
|
99
|
+
const hasValue = !!value.toString();
|
|
100
|
+
return (h("tr", null,
|
|
101
|
+
h("td", { colSpan: hasValue ? 1 : 2 },
|
|
102
|
+
h(Typography, { variant: "b2", color: "gray-9" }, name)),
|
|
103
|
+
hasValue && (h("td", { class: {
|
|
104
|
+
monospace,
|
|
105
|
+
} }, (isLink(value.toString()) || href) ? (h(Link, { variant: "b2", href: href || value.toString() }, value)) : (h(Typography, { variant: "b2", color: "black" },
|
|
106
|
+
elementValue,
|
|
107
|
+
extraValue))))));
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @license
|
|
112
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
113
|
+
*
|
|
114
|
+
* This source code is licensed under the MIT license found in the
|
|
115
|
+
* LICENSE file in the root directory of this source tree.
|
|
116
|
+
*/
|
|
117
|
+
const BasicInformation = (props) => {
|
|
118
|
+
const { serialNumber, version, validity, notBefore, notAfter, lastUpdate, nextUpdate, type, } = props;
|
|
119
|
+
return [
|
|
120
|
+
h(RowTitle, { value: l10n.getString('basicInformation') }),
|
|
121
|
+
h(RowValue, { name: l10n.getString('type'), value: type }),
|
|
122
|
+
h(RowValue, { name: l10n.getString('serialNumber'), value: serialNumber, monospace: true }),
|
|
123
|
+
h(RowValue, { name: l10n.getString('version'), value: version }),
|
|
124
|
+
h(RowValue, { name: l10n.getString('validity'), value: validity }),
|
|
125
|
+
h(RowValue, { name: l10n.getString('issued'), value: notBefore ? dateShort(notBefore) : undefined }),
|
|
126
|
+
h(RowValue, { name: l10n.getString('expired'), value: notAfter ? dateShort(notAfter) : undefined }),
|
|
127
|
+
h(RowValue, { name: l10n.getString('lastUpdate'), value: lastUpdate ? dateShort(lastUpdate) : undefined }),
|
|
128
|
+
h(RowValue, { name: l10n.getString('nextUpdate'), value: nextUpdate ? dateShort(nextUpdate) : undefined }),
|
|
129
|
+
];
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @license
|
|
134
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
135
|
+
*
|
|
136
|
+
* This source code is licensed under the MIT license found in the
|
|
137
|
+
* LICENSE file in the root directory of this source tree.
|
|
138
|
+
*/
|
|
139
|
+
function getPublicKeyModulus(publicKey) {
|
|
140
|
+
if (publicKey.params && 'modulus' in publicKey.params) {
|
|
141
|
+
let length = publicKey.params.modulus.byteLength;
|
|
142
|
+
if (length % 2) {
|
|
143
|
+
length -= 1;
|
|
144
|
+
}
|
|
145
|
+
return length * 8;
|
|
146
|
+
}
|
|
147
|
+
return null;
|
|
148
|
+
}
|
|
149
|
+
function getPublicKeyExponent(publicKey) {
|
|
150
|
+
if (publicKey.params && 'publicExponent' in publicKey.params) {
|
|
151
|
+
return publicKey.params.publicExponent.byteLength === 3
|
|
152
|
+
? 65537
|
|
153
|
+
: 3;
|
|
154
|
+
}
|
|
155
|
+
return null;
|
|
156
|
+
}
|
|
157
|
+
const PublicKey = (props) => {
|
|
158
|
+
const { publicKey } = props;
|
|
159
|
+
if (!publicKey) {
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
function renderKeyDetails(key) {
|
|
163
|
+
return [
|
|
164
|
+
h(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(key.algorithm) }),
|
|
165
|
+
h(RowValue, { name: l10n.getString('namedCurve'), value: getStringByOID((key.params && 'namedCurve' in key.params) ? key.params.namedCurve : undefined) }),
|
|
166
|
+
h(RowValue, { name: l10n.getString('exponent'), value: getPublicKeyExponent(key) }),
|
|
167
|
+
h(RowValue, { name: l10n.getString('modulus'), value: getPublicKeyModulus(key) }),
|
|
168
|
+
h(RowValue, { name: l10n.getString('value'), value: Convert_1.ToHex(key.value), monospace: true, collapse: true }),
|
|
169
|
+
];
|
|
170
|
+
}
|
|
171
|
+
return [
|
|
172
|
+
h(RowTitle, { value: l10n.getString('publicKeyInfo') }),
|
|
173
|
+
renderKeyDetails(publicKey),
|
|
174
|
+
(Array.isArray(publicKey.params) && publicKey.params.length && publicKey.params.map((param) => (h(TableRowTable, null, renderKeyDetails(param))))),
|
|
175
|
+
];
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @license
|
|
180
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
181
|
+
*
|
|
182
|
+
* This source code is licensed under the MIT license found in the
|
|
183
|
+
* LICENSE file in the root directory of this source tree.
|
|
184
|
+
*/
|
|
185
|
+
const SubjectName = (props) => {
|
|
186
|
+
const { name } = props;
|
|
187
|
+
return [
|
|
188
|
+
h(RowTitle, { value: l10n.getString('subjectName') }),
|
|
189
|
+
name.map((n) => (h(RowValue, { name: n.name || n.type, value: n.value }))),
|
|
190
|
+
];
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @license
|
|
195
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
196
|
+
*
|
|
197
|
+
* This source code is licensed under the MIT license found in the
|
|
198
|
+
* LICENSE file in the root directory of this source tree.
|
|
199
|
+
*/
|
|
200
|
+
const IssuerName = (props) => {
|
|
201
|
+
const { name, issuerDnLink } = props;
|
|
202
|
+
const title = l10n.getString('issuerName');
|
|
203
|
+
return [
|
|
204
|
+
h(RowTitle, { value: issuerDnLink ? (h(Link, { href: issuerDnLink }, title)) : title }),
|
|
205
|
+
name.map((n) => (h(RowValue, { name: n.name || n.type, value: n.value }))),
|
|
206
|
+
];
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @license
|
|
211
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
212
|
+
*
|
|
213
|
+
* This source code is licensed under the MIT license found in the
|
|
214
|
+
* LICENSE file in the root directory of this source tree.
|
|
215
|
+
*/
|
|
216
|
+
const Signature = (props) => {
|
|
217
|
+
const { signature } = props;
|
|
218
|
+
if (!signature) {
|
|
219
|
+
return null;
|
|
220
|
+
}
|
|
221
|
+
function renderSignatureDetails(data) {
|
|
222
|
+
return [
|
|
223
|
+
h(RowValue, { name: l10n.getString('algorithm'), value: getStringByOID(data.algorithm) }),
|
|
224
|
+
h(RowValue, { name: l10n.getString('value'), value: Convert_1.ToHex(data.value), monospace: true, collapse: true }),
|
|
225
|
+
];
|
|
226
|
+
}
|
|
227
|
+
return [
|
|
228
|
+
h(RowTitle, { value: l10n.getString('signature') }),
|
|
229
|
+
renderSignatureDetails(signature),
|
|
230
|
+
(signature.params && signature.params.length && signature.params.map((param) => (h(TableRowTable, null, renderSignatureDetails(param))))),
|
|
231
|
+
];
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @license
|
|
236
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
237
|
+
*
|
|
238
|
+
* This source code is licensed under the MIT license found in the
|
|
239
|
+
* LICENSE file in the root directory of this source tree.
|
|
240
|
+
*/
|
|
241
|
+
const Thumbprints = (props) => {
|
|
242
|
+
const { thumbprints } = props;
|
|
243
|
+
if (!thumbprints) {
|
|
244
|
+
return null;
|
|
245
|
+
}
|
|
246
|
+
const keys = Object.keys(thumbprints);
|
|
247
|
+
if (!keys.length) {
|
|
248
|
+
return null;
|
|
249
|
+
}
|
|
250
|
+
return [
|
|
251
|
+
h(RowTitle, { value: l10n.getString('fingerprints') }),
|
|
252
|
+
keys.map((name) => (h(RowValue, { name: name, value: thumbprints[name], monospace: true }))),
|
|
253
|
+
];
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @license
|
|
258
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
259
|
+
*
|
|
260
|
+
* This source code is licensed under the MIT license found in the
|
|
261
|
+
* LICENSE file in the root directory of this source tree.
|
|
262
|
+
*/
|
|
263
|
+
const BasicExtension = (props, children) => {
|
|
264
|
+
const { extension } = props;
|
|
265
|
+
return ([
|
|
266
|
+
h(RowValue, { name: "Name", value: getStringByOID(extension.asn.extnID) }),
|
|
267
|
+
h(RowValue, { name: "Critical", value: extension.asn.critical ? l10n.getString('yes') : l10n.getString('no') }),
|
|
268
|
+
children,
|
|
269
|
+
h("tr", null,
|
|
270
|
+
h("td", { colSpan: 2, class: "divider" },
|
|
271
|
+
h("span", null))),
|
|
272
|
+
]);
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @license
|
|
277
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
278
|
+
*
|
|
279
|
+
* This source code is licensed under the MIT license found in the
|
|
280
|
+
* LICENSE file in the root directory of this source tree.
|
|
281
|
+
*/
|
|
282
|
+
const KeyUsageExtension = (props) => {
|
|
283
|
+
const { extension } = props;
|
|
284
|
+
return (h(BasicExtension, { extension: extension },
|
|
285
|
+
h(RowValue, { name: "Usage", value: extension.value.toJSON().join(', ') })));
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* @license
|
|
290
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
291
|
+
*
|
|
292
|
+
* This source code is licensed under the MIT license found in the
|
|
293
|
+
* LICENSE file in the root directory of this source tree.
|
|
294
|
+
*/
|
|
295
|
+
const BasicConstraintsExtension = (props) => {
|
|
296
|
+
const { extension } = props;
|
|
297
|
+
return (h(BasicExtension, { extension: extension },
|
|
298
|
+
h(RowValue, { name: "Certificate Authority", value: extension.value.cA ? l10n.getString('yes') : l10n.getString('no') }),
|
|
299
|
+
h(RowValue, { name: "Path Length Constraint", value: extension.value.pathLenConstraint })));
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* @license
|
|
304
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
305
|
+
*
|
|
306
|
+
* This source code is licensed under the MIT license found in the
|
|
307
|
+
* LICENSE file in the root directory of this source tree.
|
|
308
|
+
*/
|
|
309
|
+
const ExtendedKeyUsageExtension = (props) => {
|
|
310
|
+
const { extension } = props;
|
|
311
|
+
return (h(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
312
|
+
h(RowValue, { name: "Purposes", value: "" }),
|
|
313
|
+
extension.value.map((usage) => (h(TableRowTable, null,
|
|
314
|
+
h(RowValue, { name: "Purpose", value: getStringByOID(usage) })))),
|
|
315
|
+
])));
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* @license
|
|
320
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
321
|
+
*
|
|
322
|
+
* This source code is licensed under the MIT license found in the
|
|
323
|
+
* LICENSE file in the root directory of this source tree.
|
|
324
|
+
*/
|
|
325
|
+
const SubjectKeyIdentifierExtension = (props) => {
|
|
326
|
+
const { extension, getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink } = props;
|
|
327
|
+
const keyId = Convert_1.ToHex(extension.value.buffer);
|
|
328
|
+
const childrenLink = getSubjectKeyIdChildrenLink(keyId);
|
|
329
|
+
const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);
|
|
330
|
+
return (h(BasicExtension, { extension: extension },
|
|
331
|
+
h(RowValue, { name: "Key ID", value: keyId, monospace: true, extraValue: [
|
|
332
|
+
childrenLink && (h("span", null,
|
|
333
|
+
"\u00A0[",
|
|
334
|
+
h(Link, { href: childrenLink }, "children"),
|
|
335
|
+
"]")),
|
|
336
|
+
siblingsLink && (h("span", null,
|
|
337
|
+
"\u00A0[",
|
|
338
|
+
h(Link, { href: siblingsLink }, "siblings"),
|
|
339
|
+
"]")),
|
|
340
|
+
] })));
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* @license
|
|
345
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
346
|
+
*
|
|
347
|
+
* This source code is licensed under the MIT license found in the
|
|
348
|
+
* LICENSE file in the root directory of this source tree.
|
|
349
|
+
*/
|
|
350
|
+
const AuthorityKeyIdentifierExtension = (props) => {
|
|
351
|
+
const { extension, getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink } = props;
|
|
352
|
+
const keyId = Convert_1.ToHex(extension.value.keyIdentifier.buffer);
|
|
353
|
+
const parentLink = getAuthKeyIdParentLink(keyId);
|
|
354
|
+
const siblingsLink = getAuthKeyIdSiblingsLink(keyId);
|
|
355
|
+
return (h(BasicExtension, { extension: extension },
|
|
356
|
+
h(RowValue, { name: "Key ID", value: keyId, monospace: true, extraValue: [
|
|
357
|
+
parentLink && (h("span", null,
|
|
358
|
+
"\u00A0[",
|
|
359
|
+
h(Link, { href: parentLink }, "parents"),
|
|
360
|
+
"]")),
|
|
361
|
+
siblingsLink && (h("span", null,
|
|
362
|
+
"\u00A0[",
|
|
363
|
+
h(Link, { href: siblingsLink }, "siblings"),
|
|
364
|
+
"]")),
|
|
365
|
+
] })));
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @license
|
|
370
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
371
|
+
*
|
|
372
|
+
* This source code is licensed under the MIT license found in the
|
|
373
|
+
* LICENSE file in the root directory of this source tree.
|
|
374
|
+
*/
|
|
375
|
+
const names = {
|
|
376
|
+
otherName: 'Other Name',
|
|
377
|
+
rfc822Name: 'RFC 822 Name',
|
|
378
|
+
dNSName: 'DNS Name',
|
|
379
|
+
x400Address: 'X400 Address',
|
|
380
|
+
directoryName: 'Directory Name',
|
|
381
|
+
ediPartyName: 'Edi Party Name ',
|
|
382
|
+
uniformResourceIdentifier: 'URI',
|
|
383
|
+
iPAddress: 'IP Address',
|
|
384
|
+
registeredID: 'Registered ID',
|
|
385
|
+
};
|
|
386
|
+
const GeneralNamePart = (props) => {
|
|
387
|
+
const { generalName, getDNSNameLink, getIPAddressLink } = props;
|
|
388
|
+
if (!generalName) {
|
|
389
|
+
return null;
|
|
390
|
+
}
|
|
391
|
+
return Object.keys(generalName).map((name) => {
|
|
392
|
+
const value = generalName[name];
|
|
393
|
+
if (value instanceof Name) {
|
|
394
|
+
return [
|
|
395
|
+
h(RowValue, { name: names[name] || name, value: "" }),
|
|
396
|
+
h(TableRowTable, null, value.map((relativeDistinguishedName) => (relativeDistinguishedName.map((attributeTypeAndValue) => (h(RowValue, { name: OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type, value: attributeTypeAndValue.value.toString() })))))),
|
|
397
|
+
];
|
|
398
|
+
}
|
|
399
|
+
if (value instanceof OtherName) {
|
|
400
|
+
try {
|
|
401
|
+
const text = AsnParser.parse(value.value, DisplayText);
|
|
402
|
+
return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.toString() }));
|
|
403
|
+
}
|
|
404
|
+
catch (error) {
|
|
405
|
+
//
|
|
406
|
+
}
|
|
407
|
+
try {
|
|
408
|
+
const text = AsnParser.parse(value.value, UserNotice);
|
|
409
|
+
if (text.explicitText) {
|
|
410
|
+
return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: text.explicitText.toString() }));
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
catch (error) {
|
|
414
|
+
//
|
|
415
|
+
}
|
|
416
|
+
return (h(RowValue, { name: OIDs[value.typeId] || value.typeId, value: Convert_1.ToHex(value.value), monospace: true }));
|
|
417
|
+
}
|
|
418
|
+
if (BufferSourceConverter_1.isBufferSource(value)) {
|
|
419
|
+
return (h(RowValue, { name: names[name] || name, value: Convert_1.ToString(value) }));
|
|
420
|
+
}
|
|
421
|
+
if (value instanceof EDIPartyName) {
|
|
422
|
+
return (h(RowValue, { name: names[name] || name, value: value.partyName.toString() }));
|
|
423
|
+
}
|
|
424
|
+
if (name === 'dNSName') {
|
|
425
|
+
return (h(RowValue, { name: names[name] || name, value: value, href: getDNSNameLink(value) }));
|
|
426
|
+
}
|
|
427
|
+
if (name === 'iPAddress') {
|
|
428
|
+
return (h(RowValue, { name: names[name] || name, value: value, href: getIPAddressLink(value) }));
|
|
429
|
+
}
|
|
430
|
+
return (h(RowValue, { name: names[name] || name, value: value }));
|
|
431
|
+
});
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* @license
|
|
436
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
437
|
+
*
|
|
438
|
+
* This source code is licensed under the MIT license found in the
|
|
439
|
+
* LICENSE file in the root directory of this source tree.
|
|
440
|
+
*/
|
|
441
|
+
const CRLDistributionPointsExtension = (props) => {
|
|
442
|
+
const { extension } = props;
|
|
443
|
+
return (h(BasicExtension, { extension: extension }, extension.value.map((point) => {
|
|
444
|
+
var _a, _b;
|
|
445
|
+
return ([
|
|
446
|
+
(_a = point.distributionPoint) === null || _a === void 0 ? void 0 : _a.fullName.map((gn) => (h(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
|
|
447
|
+
(_b = point.cRLIssuer) === null || _b === void 0 ? void 0 : _b.map((gn) => (h(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
|
|
448
|
+
]);
|
|
449
|
+
})));
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* @license
|
|
454
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
455
|
+
*
|
|
456
|
+
* This source code is licensed under the MIT license found in the
|
|
457
|
+
* LICENSE file in the root directory of this source tree.
|
|
458
|
+
*/
|
|
459
|
+
const InfoAccessSyntaxExtension = (props) => {
|
|
460
|
+
const { extension } = props;
|
|
461
|
+
return (h(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
462
|
+
h(RowValue, { name: "Descriptions", value: "" }),
|
|
463
|
+
extension.value.map((description) => (h(TableRowTable, null,
|
|
464
|
+
h(RowValue, { name: "Method", value: getStringByOID(description.accessMethod) }),
|
|
465
|
+
h(GeneralNamePart, Object.assign({ generalName: description.accessLocation }, props))))),
|
|
466
|
+
])));
|
|
467
|
+
};
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* @license
|
|
471
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
472
|
+
*
|
|
473
|
+
* This source code is licensed under the MIT license found in the
|
|
474
|
+
* LICENSE file in the root directory of this source tree.
|
|
475
|
+
*/
|
|
476
|
+
const SubjectAlternativeNameExtension = (props) => {
|
|
477
|
+
const { extension } = props;
|
|
478
|
+
return (h(BasicExtension, { extension: extension }, extension.value.map((gn) => (h(GeneralNamePart, Object.assign({ generalName: gn }, props))))));
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* @license
|
|
483
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
484
|
+
*
|
|
485
|
+
* This source code is licensed under the MIT license found in the
|
|
486
|
+
* LICENSE file in the root directory of this source tree.
|
|
487
|
+
*/
|
|
488
|
+
const CertificatePoliciesExtension = (props) => {
|
|
489
|
+
const { extension } = props;
|
|
490
|
+
return (h(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
491
|
+
h(RowValue, { name: "Policies", value: "" }),
|
|
492
|
+
extension.value.map((policy) => (h(TableRowTable, null,
|
|
493
|
+
h(RowValue, { name: "Policy ID", value: getStringByOID(policy.policyIdentifier) }),
|
|
494
|
+
policy.policyQualifiers && Boolean(policy.policyQualifiers.length) && ([
|
|
495
|
+
h(RowValue, { name: "Qualifiers", value: "" }),
|
|
496
|
+
policy.policyQualifiers.map((qualifierInfo) => {
|
|
497
|
+
const data = [
|
|
498
|
+
h(RowValue, { name: "Qualifier ID", value: getStringByOID(qualifierInfo.policyQualifierId) }),
|
|
499
|
+
];
|
|
500
|
+
if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.1') {
|
|
501
|
+
const value = AsnParser.parse(qualifierInfo.qualifier, DisplayText);
|
|
502
|
+
data.push(h(RowValue, { name: "Value", value: value.toString() }));
|
|
503
|
+
}
|
|
504
|
+
if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.2') {
|
|
505
|
+
const value = AsnParser.parse(qualifierInfo.qualifier, UserNotice);
|
|
506
|
+
if (value.explicitText) {
|
|
507
|
+
data.push(h(RowValue, { name: "Value", value: value.explicitText.toString() }));
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
return (h(TableRowTable, null, data));
|
|
511
|
+
}),
|
|
512
|
+
])))),
|
|
513
|
+
])));
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* @license
|
|
518
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
519
|
+
*
|
|
520
|
+
* This source code is licensed under the MIT license found in the
|
|
521
|
+
* LICENSE file in the root directory of this source tree.
|
|
522
|
+
*/
|
|
523
|
+
const logs = {
|
|
524
|
+
'9606c02c690033aa1d145f59c6e2648d0549f0df96aab8db915a70d8ecf390a5': 'Akamai CT',
|
|
525
|
+
'39376f545f7b4607f59742d768cd5d2437bf3473b6534a4834bcf72e681c83c9': 'Alpha CT',
|
|
526
|
+
a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638: 'CNNIC CT',
|
|
527
|
+
cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900: 'Certly.IO',
|
|
528
|
+
'1fbc36e002ede97f40199e86b3573b8a4217d80187746ad0da03a06054d20df4': 'Cloudflare “Nimbus2017”',
|
|
529
|
+
db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64: 'Cloudflare “Nimbus2018”',
|
|
530
|
+
'747eda8331ad331091219cce254f4270c2bffd5e422008c6373579e6107bcc56': 'Cloudflare “Nimbus2019”',
|
|
531
|
+
'5ea773f9df56c0e7b536487dd049e0327a919a0c84a112128418759681714558': 'Cloudflare “Nimbus2020”',
|
|
532
|
+
'4494652eb0eeceafc44007d8a8fe28c0dae682bed8cb31b53fd33396b5b681a8': 'Cloudflare “Nimbus2021”',
|
|
533
|
+
'41c8cab1df22464a10c6a13a0942875e4e318b1b03ebeb4bc768f090629606f6': 'Cloudflare “Nimbus2022”',
|
|
534
|
+
'7a328c54d8b72db620ea38e0521ee98416703213854d3bd22bc13a57a352eb52': 'Cloudflare “Nimbus2023”',
|
|
535
|
+
'6ff141b5647e4222f7ef052cefae7c21fd608e27d2af5a6e9f4b8a37d6633ee5': 'DigiCert Nessie2018',
|
|
536
|
+
fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c: 'DigiCert Nessie2019',
|
|
537
|
+
c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565: 'DigiCert Nessie2020',
|
|
538
|
+
eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9: 'DigiCert Nessie2021',
|
|
539
|
+
'51a3b0f5fd01799c566db837788f0ca47acc1b27cbf79e88429a0dfed48b05e5': 'DigiCert Nessie2022',
|
|
540
|
+
b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a: 'DigiCert Nessie2023',
|
|
541
|
+
'5614069a2fd7c2ecd3f5e1bd44b23ec74676b9bc99115cc0ef949855d689d0dd': 'DigiCert Server',
|
|
542
|
+
'8775bfe7597cf88c43995fbdf36eff568d475636ff4ab560c1b4eaff5ea0830f': 'DigiCert Server 2',
|
|
543
|
+
c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360: 'DigiCert Yeti2018',
|
|
544
|
+
e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe: 'DigiCert Yeti2019',
|
|
545
|
+
f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273: 'DigiCert Yeti2020',
|
|
546
|
+
'5cdc4392fee6ab4544b15e9ad456e61037fbd5fa47dca17394b25ee6f6c70eca': 'DigiCert Yeti2021',
|
|
547
|
+
'2245450759552456963fa12ff1f76d86e0232663adc04b7f5dc6835c6ee20f02': 'DigiCert Yeti2022',
|
|
548
|
+
'35cf191bbfb16c57bf0fad4c6d42cbbbb627202651ea3fe12aefa803c33bd64c': 'DigiCert Yeti2023',
|
|
549
|
+
'717ea7420975be84a2723553f1777c26dd51af4e102144094d9019b462fb6668': 'GDCA 1',
|
|
550
|
+
'14308d90ccd030135005c01ca526d81e84e87624e39b6248e08f724aea3bb42a': 'GDCA 2',
|
|
551
|
+
c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa: 'GDCA CT #1',
|
|
552
|
+
'924a30f909336ff435d6993a10ac75a2c641728e7fc2d659ae6188ffad40ce01': 'GDCA CT #2',
|
|
553
|
+
fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28: 'Google “Argon2017”',
|
|
554
|
+
a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25: 'Google “Argon2018”',
|
|
555
|
+
'63f2dbcde83bcc2ccf0b728427576b33a48d61778fbd75a638b1c768544bd88d': 'Google “Argon2019”',
|
|
556
|
+
b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e: 'Google “Argon2020”',
|
|
557
|
+
f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3: 'Google “Argon2021”',
|
|
558
|
+
'2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784': 'Google “Argon2022”',
|
|
559
|
+
e83ed0da3ef5063532e75728bc896bc903d3cbd1116beceb69e1777d6d06bd6e: 'Google “Argon2023”',
|
|
560
|
+
'68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4': 'Google “Aviator”',
|
|
561
|
+
c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6: 'Google “Crucible”',
|
|
562
|
+
'1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb': 'Google “Daedalus”',
|
|
563
|
+
'293c519654c83965baaa50fc5807d4b76fbf587a2972dca4c30cf4e54547f478': 'Google “Icarus”',
|
|
564
|
+
a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10: 'Google “Pilot”',
|
|
565
|
+
ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb: 'Google “Rocketeer”',
|
|
566
|
+
bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185: 'Google “Skydiver”',
|
|
567
|
+
'52eb4b225ec896974850675f23e43bc1d021e3214ce52ecd5fa87c203cdfca03': 'Google “Solera2018”',
|
|
568
|
+
'0b760e9a8b9a682f88985b15e947501a56446bba8830785c3842994386450c00': 'Google “Solera2019”',
|
|
569
|
+
'1fc72ce5a1b799f400c359bff96ca3913548e8644220610952e9ba1774f7bac7': 'Google “Solera2020”',
|
|
570
|
+
a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7: 'Google “Solera2021”',
|
|
571
|
+
'697aafca1a6b536fae21205046debad7e0eaea13d2432e6e9d8fb379f2b9aaf3': 'Google “Solera2022”',
|
|
572
|
+
a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681: 'Google “Submariner”',
|
|
573
|
+
b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77: 'Google “Testtube”',
|
|
574
|
+
b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e: 'Google “Xenon2018”',
|
|
575
|
+
'084114980071532c16190460bcfc47fdc2653afa292c72b37ff863ae29ccc9f0': 'Google “Xenon2019”',
|
|
576
|
+
'07b75c1be57d68fff1b0c61d2315c7bae6577c5794b76aeebc613a1a69d3a21c': 'Google “Xenon2020”',
|
|
577
|
+
'7d3ef2f88fff88556824c2c0ca9e5289792bc50e78097f2e6a9768997e22f0d7': 'Google “Xenon2021”',
|
|
578
|
+
'46a555eb75fa912030b5a28969f4f37d112c4174befd49b885abf2fc70fe6d47': 'Google “Xenon2022”',
|
|
579
|
+
'7461b4a09cfb3d41d75159575b2e7649a445a8d27709b0cc564a6482b7eb41a3': 'Izenpe',
|
|
580
|
+
'8941449c70742e06b9fc9ce7b116ba0024aa36d59af44f0204404f00f7ea8566': 'Izenpe “Argi”',
|
|
581
|
+
'296afa2d568bca0d2ea844956ae9721fc35fa355ecda99693aafd458a71aefdd': 'Let“s Encrypt ”Clicky”',
|
|
582
|
+
'537b69a3564335a9c04904e39593b2c298eb8d7a6e83023635c627248cd6b440': 'Nordu “flimsy”',
|
|
583
|
+
aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd: 'Nordu “plausible”',
|
|
584
|
+
e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273: 'PuChuangSiDa CT',
|
|
585
|
+
cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6: 'SHECA CT 1',
|
|
586
|
+
'32dc59c2d4c41968d56e14bc61ac8f0e45db39faf3c155aa4252f5001fa0c623': 'SHECA CT 2',
|
|
587
|
+
db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98: 'Sectigo (Comodo) “Dodo” CT',
|
|
588
|
+
'6f5376ac31f03119d89900a45115ff77151c11d902c10029068db2089a37d913': 'Sectigo (Comodo) “Mammoth” CT',
|
|
589
|
+
'5581d4c2169036014aea0b9b573c53f0c0e43878702508172fa3aa1d0713d30c': 'Sectigo (Comodo) “Sabre” CT',
|
|
590
|
+
'34bb6ad6c3df9c03eea8a499ff7891486c9d5e5cac92d01f7bfd1bce19db48ef': 'StartCom',
|
|
591
|
+
ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc: 'Symantec',
|
|
592
|
+
a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2: 'Symantec Deneb',
|
|
593
|
+
'15970488d7b997a05beb52512adee8d2e8b4a3165264121a9fabfbd5f85ad93f': 'Symantec “Sirius”',
|
|
594
|
+
bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5: 'Symantec “Vega”',
|
|
595
|
+
b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b: 'Up In The Air “Behind the Sofa”',
|
|
596
|
+
ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d: 'Venafi',
|
|
597
|
+
'03019df3fd85a69a8ebd1facc6da9ba73e469774fe77f579fc5a08b8328c1d6b': 'Venafi Gen2 CT',
|
|
598
|
+
'41b2dc2e89e63ce4af1ba7bb29bf68c6dee6f9f1cc047e30dffae3b3ba259263': 'WoSign',
|
|
599
|
+
'63d0006026dde10bb0601f452446965ee2b6ea2cd4fbc95ac866a550af9075b7': 'WoSign 2',
|
|
600
|
+
'9e4ff73dc3ce220b69217c899e468076abf8d78636d5ccfc85a31a75628ba88b': 'WoSign CT #1',
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* @license
|
|
605
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
606
|
+
*
|
|
607
|
+
* This source code is licensed under the MIT license found in the
|
|
608
|
+
* LICENSE file in the root directory of this source tree.
|
|
609
|
+
*/
|
|
610
|
+
const CertificateTransparencyExtension = (props) => {
|
|
611
|
+
const { extension } = props;
|
|
612
|
+
return (h(BasicExtension, { extension: extension }, Boolean(extension.value.items.length) && ([
|
|
613
|
+
h(RowValue, { name: "Signed Certificate Timestamps", value: "" }),
|
|
614
|
+
extension.value.toJSON().map((signedCertificateTimestamp) => (h(TableRowTable, null,
|
|
615
|
+
h(RowValue, { name: "Version", value: signedCertificateTimestamp.version + 1 }),
|
|
616
|
+
h(RowValue, { name: "Log Operator", value: logs[signedCertificateTimestamp.logId] || signedCertificateTimestamp.logId }),
|
|
617
|
+
h(RowValue, { name: "Log Key ID", value: signedCertificateTimestamp.logId, monospace: true }),
|
|
618
|
+
h(RowValue, { name: "Timestamp", value: dateShort(signedCertificateTimestamp.timestamp) }),
|
|
619
|
+
h(RowValue, { name: "Signature Algorithm", value: `${signedCertificateTimestamp.hashAlgorithm} ${signedCertificateTimestamp.signatureAlgorithm}`.toUpperCase() }),
|
|
620
|
+
h(RowValue, { name: "Signature", value: signedCertificateTimestamp.signature, monospace: true })))),
|
|
621
|
+
])));
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* @license
|
|
626
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
627
|
+
*
|
|
628
|
+
* This source code is licensed under the MIT license found in the
|
|
629
|
+
* LICENSE file in the root directory of this source tree.
|
|
630
|
+
*/
|
|
631
|
+
const NameConstraintsExtension = (props) => {
|
|
632
|
+
var _a, _b;
|
|
633
|
+
const { extension } = props;
|
|
634
|
+
return (h(BasicExtension, { extension: extension }, (_a = extension.value.excludedSubtrees) === null || _a === void 0 ? void 0 :
|
|
635
|
+
_a.map((generalSubtree) => (h(GeneralNamePart, Object.assign({ generalName: generalSubtree.base }, props)))), (_b = extension.value.permittedSubtrees) === null || _b === void 0 ? void 0 :
|
|
636
|
+
_b.map((generalSubtree) => (h(GeneralNamePart, Object.assign({ generalName: generalSubtree.base }, props))))));
|
|
637
|
+
};
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* @license
|
|
641
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
642
|
+
*
|
|
643
|
+
* This source code is licensed under the MIT license found in the
|
|
644
|
+
* LICENSE file in the root directory of this source tree.
|
|
645
|
+
*/
|
|
646
|
+
const CertificateTemplateExtension = (props) => {
|
|
647
|
+
const { extension } = props;
|
|
648
|
+
return (h(BasicExtension, { extension: extension },
|
|
649
|
+
h(RowValue, { name: "Template ID", value: extension.value.templateID }),
|
|
650
|
+
h(RowValue, { name: "Template Major Version", value: extension.value.templateMajorVersion }),
|
|
651
|
+
h(RowValue, { name: "Template Minor Version", value: extension.value.templateMinorVersion })));
|
|
652
|
+
};
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* @license
|
|
656
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
657
|
+
*
|
|
658
|
+
* This source code is licensed under the MIT license found in the
|
|
659
|
+
* LICENSE file in the root directory of this source tree.
|
|
660
|
+
*/
|
|
661
|
+
const EnrollCertTypeChoiceExtension = (props) => {
|
|
662
|
+
const { extension } = props;
|
|
663
|
+
return (h(BasicExtension, { extension: extension },
|
|
664
|
+
h(RowValue, { name: "Name", value: extension.value.toString() })));
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* @license
|
|
669
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
670
|
+
*
|
|
671
|
+
* This source code is licensed under the MIT license found in the
|
|
672
|
+
* LICENSE file in the root directory of this source tree.
|
|
673
|
+
*/
|
|
674
|
+
const CaVersionExtension = (props) => {
|
|
675
|
+
const { extension } = props;
|
|
676
|
+
const version = extension.value.getVersion();
|
|
677
|
+
return (h(BasicExtension, { extension: extension },
|
|
678
|
+
h(RowValue, { name: "Certificate Index", value: version.certificateIndex }),
|
|
679
|
+
h(RowValue, { name: "Key Index", value: version.keyIndex })));
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
var PdsLocations_1, QcEuPDS_1, QcType_1, QcCClegislation_1;
|
|
683
|
+
let Iso4217CurrencyCode = class Iso4217CurrencyCode {
|
|
684
|
+
constructor(value) {
|
|
685
|
+
if (typeof value === "string") {
|
|
686
|
+
this.alphabetic = value;
|
|
687
|
+
}
|
|
688
|
+
else if (typeof value === "number") {
|
|
689
|
+
this.numeric = value;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
};
|
|
693
|
+
__decorate([
|
|
694
|
+
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
695
|
+
], Iso4217CurrencyCode.prototype, "alphabetic", void 0);
|
|
696
|
+
__decorate([
|
|
697
|
+
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
698
|
+
], Iso4217CurrencyCode.prototype, "numeric", void 0);
|
|
699
|
+
Iso4217CurrencyCode = __decorate([
|
|
700
|
+
AsnType({ type: AsnTypeTypes.Choice })
|
|
701
|
+
], Iso4217CurrencyCode);
|
|
702
|
+
class MonetaryValue {
|
|
703
|
+
constructor(params = {}) {
|
|
704
|
+
this.currency = new Iso4217CurrencyCode();
|
|
705
|
+
this.amount = 0;
|
|
706
|
+
this.exponent = 0;
|
|
707
|
+
Object.assign(this, params);
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
__decorate([
|
|
711
|
+
AsnProp({ type: Iso4217CurrencyCode })
|
|
712
|
+
], MonetaryValue.prototype, "currency", void 0);
|
|
713
|
+
__decorate([
|
|
714
|
+
AsnProp({ type: AsnPropTypes.Integer })
|
|
715
|
+
], MonetaryValue.prototype, "amount", void 0);
|
|
716
|
+
__decorate([
|
|
717
|
+
AsnProp({ type: AsnPropTypes.Integer })
|
|
718
|
+
], MonetaryValue.prototype, "exponent", void 0);
|
|
719
|
+
let QcEuLimitValue = class QcEuLimitValue extends MonetaryValue {
|
|
720
|
+
};
|
|
721
|
+
QcEuLimitValue = __decorate([
|
|
722
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
723
|
+
], QcEuLimitValue);
|
|
724
|
+
let QcEuRetentionPeriod = class QcEuRetentionPeriod {
|
|
725
|
+
constructor(value = 0) {
|
|
726
|
+
this.value = value;
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
__decorate([
|
|
730
|
+
AsnProp({ type: AsnPropTypes.Integer })
|
|
731
|
+
], QcEuRetentionPeriod.prototype, "value", void 0);
|
|
732
|
+
QcEuRetentionPeriod = __decorate([
|
|
733
|
+
AsnType({ type: AsnTypeTypes.Choice })
|
|
734
|
+
], QcEuRetentionPeriod);
|
|
735
|
+
let PdsLocation = class PdsLocation {
|
|
736
|
+
constructor(params = {}) {
|
|
737
|
+
this.url = "";
|
|
738
|
+
this.language = "";
|
|
739
|
+
Object.assign(this, params);
|
|
740
|
+
}
|
|
741
|
+
};
|
|
742
|
+
__decorate([
|
|
743
|
+
AsnProp({ type: AsnPropTypes.IA5String })
|
|
744
|
+
], PdsLocation.prototype, "url", void 0);
|
|
745
|
+
__decorate([
|
|
746
|
+
AsnProp({ type: AsnPropTypes.PrintableString })
|
|
747
|
+
], PdsLocation.prototype, "language", void 0);
|
|
748
|
+
PdsLocation = __decorate([
|
|
749
|
+
AsnType({ type: AsnTypeTypes.Sequence })
|
|
750
|
+
], PdsLocation);
|
|
751
|
+
let PdsLocations = PdsLocations_1 = class PdsLocations extends AsnArray {
|
|
752
|
+
constructor(items) {
|
|
753
|
+
super(items);
|
|
754
|
+
Object.setPrototypeOf(this, PdsLocations_1.prototype);
|
|
755
|
+
}
|
|
756
|
+
};
|
|
757
|
+
PdsLocations = PdsLocations_1 = __decorate([
|
|
758
|
+
AsnType({ type: AsnTypeTypes.Sequence, itemType: PdsLocation })
|
|
759
|
+
], PdsLocations);
|
|
760
|
+
let QcEuPDS = QcEuPDS_1 = class QcEuPDS extends PdsLocations {
|
|
761
|
+
constructor(items) {
|
|
762
|
+
super(items);
|
|
763
|
+
Object.setPrototypeOf(this, QcEuPDS_1.prototype);
|
|
764
|
+
}
|
|
765
|
+
};
|
|
766
|
+
QcEuPDS = QcEuPDS_1 = __decorate([
|
|
767
|
+
AsnType({ type: AsnTypeTypes.Sequence, itemType: PdsLocation })
|
|
768
|
+
], QcEuPDS);
|
|
769
|
+
let QcType = QcType_1 = class QcType extends AsnArray {
|
|
770
|
+
constructor(items) {
|
|
771
|
+
super(items);
|
|
772
|
+
Object.setPrototypeOf(this, QcType_1.prototype);
|
|
773
|
+
}
|
|
774
|
+
};
|
|
775
|
+
QcType = QcType_1 = __decorate([
|
|
776
|
+
AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.ObjectIdentifier })
|
|
777
|
+
], QcType);
|
|
778
|
+
let QcCClegislation = QcCClegislation_1 = class QcCClegislation extends AsnArray {
|
|
779
|
+
constructor(items) {
|
|
780
|
+
super(items);
|
|
781
|
+
Object.setPrototypeOf(this, QcCClegislation_1.prototype);
|
|
782
|
+
}
|
|
783
|
+
};
|
|
784
|
+
QcCClegislation = QcCClegislation_1 = __decorate([
|
|
785
|
+
AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.PrintableString })
|
|
786
|
+
], QcCClegislation);
|
|
787
|
+
const id_etsi_qcs = "0.4.0.1862.1";
|
|
788
|
+
const id_etsi_qcs_qcRetentionPeriod = `${id_etsi_qcs}.3`;
|
|
789
|
+
const id_etsi_qcs_qcPDS = `${id_etsi_qcs}.5`;
|
|
790
|
+
const id_etsi_qcs_qcType = `${id_etsi_qcs}.6`;
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* @license
|
|
794
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
795
|
+
*
|
|
796
|
+
* This source code is licensed under the MIT license found in the
|
|
797
|
+
* LICENSE file in the root directory of this source tree.
|
|
798
|
+
*/
|
|
799
|
+
const QCStatementsExtension = (props) => {
|
|
800
|
+
const { extension } = props;
|
|
801
|
+
function renderStatementInfo(statementId, statementInfo) {
|
|
802
|
+
if (!statementInfo.byteLength) {
|
|
803
|
+
return null;
|
|
804
|
+
}
|
|
805
|
+
if (statementId === id_qcs_pkixQCSyntax_v2) {
|
|
806
|
+
const semanticsInformation = AsnParser.parse(statementInfo, SemanticsInformation);
|
|
807
|
+
return (h(RowValue, { name: "Semantics Identifier", value: getStringByOID(semanticsInformation.semanticsIdentifier) }));
|
|
808
|
+
}
|
|
809
|
+
if (statementId === id_etsi_qcs_qcType) {
|
|
810
|
+
const qcTypes = AsnParser.parse(statementInfo, QcType);
|
|
811
|
+
return (h(RowValue, { name: "QC Types", value: qcTypes.map((type) => getStringByOID(type)).join(', ') }));
|
|
812
|
+
}
|
|
813
|
+
if (statementId === id_etsi_qcs_qcRetentionPeriod) {
|
|
814
|
+
const retentionPeriod = AsnParser.parse(statementInfo, QcEuRetentionPeriod);
|
|
815
|
+
return (h(RowValue, { name: "Retention Period", value: `${retentionPeriod.value} years` }));
|
|
816
|
+
}
|
|
817
|
+
if (statementId === id_etsi_qcs_qcPDS) {
|
|
818
|
+
const pdsLocations = AsnParser.parse(statementInfo, PdsLocations);
|
|
819
|
+
return ([
|
|
820
|
+
h(RowValue, { name: "PDS Locations", value: "" }),
|
|
821
|
+
pdsLocations.map((location) => (h(TableRowTable, null,
|
|
822
|
+
h(RowValue, { name: "URL", value: location.url }),
|
|
823
|
+
h(RowValue, { name: "Language", value: location.language })))),
|
|
824
|
+
]);
|
|
825
|
+
}
|
|
826
|
+
return (h(RowValue, { name: "Info", value: Convert_1.ToHex(statementInfo), monospace: true }));
|
|
827
|
+
}
|
|
828
|
+
return (h(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
829
|
+
h(RowValue, { name: "Statements", value: "" }),
|
|
830
|
+
extension.value.map((statement) => (h(TableRowTable, null,
|
|
831
|
+
h(RowValue, { name: "Statement ID", value: getStringByOID(statement.statementId) }),
|
|
832
|
+
renderStatementInfo(statement.statementId, statement.statementInfo)))),
|
|
833
|
+
])));
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* @license
|
|
838
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
839
|
+
*
|
|
840
|
+
* This source code is licensed under the MIT license found in the
|
|
841
|
+
* LICENSE file in the root directory of this source tree.
|
|
842
|
+
*/
|
|
843
|
+
const NetscapeCommentExtension = (props) => {
|
|
844
|
+
const { extension } = props;
|
|
845
|
+
return (h(BasicExtension, { extension: extension },
|
|
846
|
+
h(RowValue, { name: "Comment", value: extension.value.value })));
|
|
847
|
+
};
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* @license
|
|
851
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
852
|
+
*
|
|
853
|
+
* This source code is licensed under the MIT license found in the
|
|
854
|
+
* LICENSE file in the root directory of this source tree.
|
|
855
|
+
*/
|
|
856
|
+
const NetscapeCertTypeExtension = (props) => {
|
|
857
|
+
const { extension } = props;
|
|
858
|
+
return (h(BasicExtension, { extension: extension },
|
|
859
|
+
h(RowValue, { name: "Type", value: extension.value.toJSON().join(', ') })));
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* @license
|
|
864
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
865
|
+
*
|
|
866
|
+
* This source code is licensed under the MIT license found in the
|
|
867
|
+
* LICENSE file in the root directory of this source tree.
|
|
868
|
+
*/
|
|
869
|
+
const LeiRoleExtension = (props) => {
|
|
870
|
+
const { extension } = props;
|
|
871
|
+
return (h(BasicExtension, { extension: extension },
|
|
872
|
+
h(RowValue, { name: "Role", value: extension.value.text })));
|
|
873
|
+
};
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* @license
|
|
877
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
878
|
+
*
|
|
879
|
+
* This source code is licensed under the MIT license found in the
|
|
880
|
+
* LICENSE file in the root directory of this source tree.
|
|
881
|
+
*/
|
|
882
|
+
const LeiExtension = (props) => {
|
|
883
|
+
const { extension, getLEILink } = props;
|
|
884
|
+
return (h(BasicExtension, { extension: extension },
|
|
885
|
+
h(RowValue, { name: "Identifier", value: extension.value.text, href: getLEILink(extension.value.text) })));
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* @license
|
|
890
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
891
|
+
*
|
|
892
|
+
* This source code is licensed under the MIT license found in the
|
|
893
|
+
* LICENSE file in the root directory of this source tree.
|
|
894
|
+
*/
|
|
895
|
+
const TimestampExtension = (props) => {
|
|
896
|
+
const { extension } = props;
|
|
897
|
+
return (h(BasicExtension, { extension: extension },
|
|
898
|
+
h(RowValue, { name: "Version", value: extension.value.version }),
|
|
899
|
+
h(GeneralNamePart, Object.assign({ generalName: extension.value.location }, props)),
|
|
900
|
+
h(RowValue, { name: "Requires Auth", value: extension.value.requiresAuth ? l10n.getString('yes') : l10n.getString('no') })));
|
|
901
|
+
};
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* @license
|
|
905
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
906
|
+
*
|
|
907
|
+
* This source code is licensed under the MIT license found in the
|
|
908
|
+
* LICENSE file in the root directory of this source tree.
|
|
909
|
+
*/
|
|
910
|
+
const ArchiveRevInfoExtension = (props) => {
|
|
911
|
+
const { extension } = props;
|
|
912
|
+
return (h(BasicExtension, { extension: extension },
|
|
913
|
+
h(RowValue, { name: "Version", value: extension.value.version })));
|
|
914
|
+
};
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* @license
|
|
918
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
919
|
+
*
|
|
920
|
+
* This source code is licensed under the MIT license found in the
|
|
921
|
+
* LICENSE file in the root directory of this source tree.
|
|
922
|
+
*/
|
|
923
|
+
const CRLReasonExtension = (props) => {
|
|
924
|
+
const { extension } = props;
|
|
925
|
+
return (h(BasicExtension, { extension: extension },
|
|
926
|
+
h(RowValue, { name: "Reason", value: extension.value.toJSON() })));
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* @license
|
|
931
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
932
|
+
*
|
|
933
|
+
* This source code is licensed under the MIT license found in the
|
|
934
|
+
* LICENSE file in the root directory of this source tree.
|
|
935
|
+
*/
|
|
936
|
+
function getAttributeValue(attribute) {
|
|
937
|
+
return Convert_1.ToString(attribute.values[0]);
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* @license
|
|
942
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
943
|
+
*
|
|
944
|
+
* This source code is licensed under the MIT license found in the
|
|
945
|
+
* LICENSE file in the root directory of this source tree.
|
|
946
|
+
*/
|
|
947
|
+
const SubjectDirectoryAttributesExtension = (props) => {
|
|
948
|
+
const { extension } = props;
|
|
949
|
+
return (h(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
950
|
+
h(RowValue, { name: "Attributes", value: "" }),
|
|
951
|
+
extension.value.map((attribute) => (h(TableRowTable, null,
|
|
952
|
+
h(RowValue, { name: "Type", value: getStringByOID(attribute.type) }),
|
|
953
|
+
h(RowValue, { name: "Value", value: getAttributeValue(attribute) })))),
|
|
954
|
+
])));
|
|
955
|
+
};
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* @license
|
|
959
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
960
|
+
*
|
|
961
|
+
* This source code is licensed under the MIT license found in the
|
|
962
|
+
* LICENSE file in the root directory of this source tree.
|
|
963
|
+
*/
|
|
964
|
+
const AsStringExtension = (props) => {
|
|
965
|
+
const { extension } = props;
|
|
966
|
+
return (h(BasicExtension, { extension: extension },
|
|
967
|
+
h(RowValue, { name: "Value", value: extension.value, monospace: true })));
|
|
968
|
+
};
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* @license
|
|
972
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
973
|
+
*
|
|
974
|
+
* This source code is licensed under the MIT license found in the
|
|
975
|
+
* LICENSE file in the root directory of this source tree.
|
|
976
|
+
*/
|
|
977
|
+
const PrivateKeyUsagePeriodExtension = (props) => {
|
|
978
|
+
const { extension } = props;
|
|
979
|
+
return (h(BasicExtension, { extension: extension },
|
|
980
|
+
h(RowValue, { name: "Not Before", value: dateShort(extension.value.notBefore) }),
|
|
981
|
+
h(RowValue, { name: "Not After", value: dateShort(extension.value.notAfter) })));
|
|
982
|
+
};
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* @license
|
|
986
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
987
|
+
*
|
|
988
|
+
* This source code is licensed under the MIT license found in the
|
|
989
|
+
* LICENSE file in the root directory of this source tree.
|
|
990
|
+
*/
|
|
991
|
+
const EntrustVersionInfoExtension = (props) => {
|
|
992
|
+
const { extension } = props;
|
|
993
|
+
return (h(BasicExtension, { extension: extension },
|
|
994
|
+
h(RowValue, { name: "Version", value: extension.value.entrustVers }),
|
|
995
|
+
h(RowValue, { name: "Info Flags", value: extension.value.entrustInfoFlags.toJSON().join(', ') })));
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* @license
|
|
1000
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1001
|
+
*
|
|
1002
|
+
* This source code is licensed under the MIT license found in the
|
|
1003
|
+
* LICENSE file in the root directory of this source tree.
|
|
1004
|
+
*/
|
|
1005
|
+
const BiometricSyntaxExtension = (props) => {
|
|
1006
|
+
const { extension } = props;
|
|
1007
|
+
return (h(BasicExtension, { extension: extension }, Boolean(extension.value.length) && ([
|
|
1008
|
+
h(RowValue, { name: "Biometrics", value: "" }),
|
|
1009
|
+
extension.value.map((data) => (h(TableRowTable, null,
|
|
1010
|
+
h(RowValue, { name: "OID", value: getStringByOID(data.typeOfBiometricData.biometricDataOid) }),
|
|
1011
|
+
h(RowValue, { name: "Type", value: data.typeOfBiometricData.predefinedBiometricType }),
|
|
1012
|
+
h(RowValue, { name: "Algorithm", value: getStringByOID(data.hashAlgorithm.algorithm) }),
|
|
1013
|
+
h(RowValue, { name: "Hash", value: Convert_1.ToHex(data.biometricDataHash.buffer), monospace: true }),
|
|
1014
|
+
h(RowValue, { name: "Source Uri", value: data.sourceDataUri })))),
|
|
1015
|
+
])));
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* @license
|
|
1020
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1021
|
+
*
|
|
1022
|
+
* This source code is licensed under the MIT license found in the
|
|
1023
|
+
* LICENSE file in the root directory of this source tree.
|
|
1024
|
+
*/
|
|
1025
|
+
const LogotypeExtension = (props) => {
|
|
1026
|
+
const { extension } = props;
|
|
1027
|
+
const renderImage = (image) => {
|
|
1028
|
+
if (!image) {
|
|
1029
|
+
return null;
|
|
1030
|
+
}
|
|
1031
|
+
return image.map((img) => {
|
|
1032
|
+
const { imageDetails } = img;
|
|
1033
|
+
return [
|
|
1034
|
+
h(RowValue, { name: "Image Type", value: imageDetails.mediaType }),
|
|
1035
|
+
h(RowValue, { name: "Image Hash", value: Convert_1.ToHex(imageDetails.logotypeHash[0].hashValue), monospace: true }),
|
|
1036
|
+
h(RowValue, { name: "Image URL", value: imageDetails.logotypeURI[0], monospace: true, collapse: true }),
|
|
1037
|
+
h(RowValue, { name: "Image Hash Algorithm", value: getStringByOID(imageDetails.logotypeHash[0].hashAlg.algorithm) }),
|
|
1038
|
+
];
|
|
1039
|
+
});
|
|
1040
|
+
};
|
|
1041
|
+
const renderAudio = (audio) => {
|
|
1042
|
+
if (!audio) {
|
|
1043
|
+
return null;
|
|
1044
|
+
}
|
|
1045
|
+
return audio.map((aud) => {
|
|
1046
|
+
const { audioDetails } = aud;
|
|
1047
|
+
return [
|
|
1048
|
+
h(RowValue, { name: "Audio Type", value: audioDetails.mediaType }),
|
|
1049
|
+
h(RowValue, { name: "Audio Hash", value: Convert_1.ToHex(audioDetails.logotypeHash[0].hashValue), monospace: true }),
|
|
1050
|
+
h(RowValue, { name: "Audio URL", value: audioDetails.logotypeURI[0], monospace: true, collapse: true }),
|
|
1051
|
+
h(RowValue, { name: "Audio Hash Algorithm", value: getStringByOID(audioDetails.logotypeHash[0].hashAlg.algorithm) }),
|
|
1052
|
+
];
|
|
1053
|
+
});
|
|
1054
|
+
};
|
|
1055
|
+
const renderLogo = (title, info) => {
|
|
1056
|
+
if (!info || !info.direct) {
|
|
1057
|
+
return null;
|
|
1058
|
+
}
|
|
1059
|
+
const { image, audio } = info.direct;
|
|
1060
|
+
return [
|
|
1061
|
+
h(RowValue, { name: "Type", value: title }),
|
|
1062
|
+
renderImage(image),
|
|
1063
|
+
renderAudio(audio),
|
|
1064
|
+
h("tr", null,
|
|
1065
|
+
h("td", null),
|
|
1066
|
+
h("td", null)),
|
|
1067
|
+
];
|
|
1068
|
+
};
|
|
1069
|
+
return (h(BasicExtension, { extension: extension },
|
|
1070
|
+
renderLogo('Subject', extension.value.subjectLogo),
|
|
1071
|
+
renderLogo('Issuer', extension.value.issuerLogo)));
|
|
1072
|
+
};
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* @license
|
|
1076
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1077
|
+
*
|
|
1078
|
+
* This source code is licensed under the MIT license found in the
|
|
1079
|
+
* LICENSE file in the root directory of this source tree.
|
|
1080
|
+
*/
|
|
1081
|
+
const TNAuthListExtension = (props) => {
|
|
1082
|
+
const { extension } = props;
|
|
1083
|
+
return (h(BasicExtension, { extension: extension }, extension.value.length > 0 && ([
|
|
1084
|
+
h(RowValue, { name: "Entries", value: "" }),
|
|
1085
|
+
extension.value.map((entry) => (h(TableRowTable, null,
|
|
1086
|
+
h(RowValue, { name: "SPC", value: entry.spc }),
|
|
1087
|
+
h(RowValue, { name: "Range", value: entry.range ? `start=${entry.range.start} count==${entry.range.count}` : null }),
|
|
1088
|
+
h(RowValue, { name: "One", value: entry.one })))),
|
|
1089
|
+
])));
|
|
1090
|
+
};
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* @license
|
|
1094
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1095
|
+
*
|
|
1096
|
+
* This source code is licensed under the MIT license found in the
|
|
1097
|
+
* LICENSE file in the root directory of this source tree.
|
|
1098
|
+
*/
|
|
1099
|
+
const PolicyConstraintsExtension = (props) => {
|
|
1100
|
+
const { extension } = props;
|
|
1101
|
+
return (h(BasicExtension, { extension: extension },
|
|
1102
|
+
extension.value.requireExplicitPolicy && (h(RowValue, { name: "Require Explicit Policy", value: AsnIntegerArrayBufferConverter.toASN(extension.value.requireExplicitPolicy).valueBlock.toString() })),
|
|
1103
|
+
extension.value.inhibitPolicyMapping && (h(RowValue, { name: "Inhibit Policy Mapping", value: AsnIntegerArrayBufferConverter.toASN(extension.value.inhibitPolicyMapping).valueBlock.toString() }))));
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* @license
|
|
1108
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1109
|
+
*
|
|
1110
|
+
* This source code is licensed under the MIT license found in the
|
|
1111
|
+
* LICENSE file in the root directory of this source tree.
|
|
1112
|
+
*/
|
|
1113
|
+
const PolicyMappingsExtension = (props) => {
|
|
1114
|
+
const { extension } = props;
|
|
1115
|
+
return (h(BasicExtension, { extension: extension }, extension.value.length > 0 && ([
|
|
1116
|
+
h(RowValue, { name: "Policies", value: "" }),
|
|
1117
|
+
extension.value.map((policy) => (h(TableRowTable, null,
|
|
1118
|
+
h(RowValue, { name: "Issuer Domain", value: getStringByOID(policy.issuerDomainPolicy) }),
|
|
1119
|
+
h(RowValue, { name: "Subject Domain", value: getStringByOID(policy.subjectDomainPolicy) })))),
|
|
1120
|
+
])));
|
|
1121
|
+
};
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* @license
|
|
1125
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1126
|
+
*
|
|
1127
|
+
* This source code is licensed under the MIT license found in the
|
|
1128
|
+
* LICENSE file in the root directory of this source tree.
|
|
1129
|
+
*/
|
|
1130
|
+
const CRLNumberExtension = (props) => {
|
|
1131
|
+
const { extension } = props;
|
|
1132
|
+
return (h(BasicExtension, { extension: extension },
|
|
1133
|
+
h(RowValue, { name: l10n.getString('value'), value: extension.value.value })));
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* @license
|
|
1138
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1139
|
+
*
|
|
1140
|
+
* This source code is licensed under the MIT license found in the
|
|
1141
|
+
* LICENSE file in the root directory of this source tree.
|
|
1142
|
+
*/
|
|
1143
|
+
// eslint-disable-next-line max-len
|
|
1144
|
+
const IssuingDistributionPointExtension = (props) => {
|
|
1145
|
+
var _a;
|
|
1146
|
+
const { extension } = props;
|
|
1147
|
+
return (h(BasicExtension, { extension: extension }, (_a = extension.value.distributionPoint) === null || _a === void 0 ? void 0 :
|
|
1148
|
+
_a.fullName.map((gn) => (h(GeneralNamePart, Object.assign({ generalName: gn }, props)))),
|
|
1149
|
+
extension.value.onlySomeReasons && (h(RowValue, { name: l10n.getString('onlyReasons'), value: extension.value.onlySomeReasons.toJSON().join(', ') })),
|
|
1150
|
+
extension.value.indirectCRL && (h(RowValue, { name: l10n.getString('indirectCRL'), value: l10n.getString('yes') })),
|
|
1151
|
+
extension.value.onlyContainsUserCerts && (h(RowValue, { name: l10n.getString('onlyUserCertificates'), value: l10n.getString('yes') })),
|
|
1152
|
+
extension.value.onlyContainsAttributeCerts && (h(RowValue, { name: l10n.getString('onlyAttributeCertificates'), value: l10n.getString('yes') })),
|
|
1153
|
+
extension.value.onlyContainsCACerts && (h(RowValue, { name: l10n.getString('onlyCACertificates'), value: l10n.getString('yes') }))));
|
|
1154
|
+
};
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* @license
|
|
1158
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1159
|
+
*
|
|
1160
|
+
* This source code is licensed under the MIT license found in the
|
|
1161
|
+
* LICENSE file in the root directory of this source tree.
|
|
1162
|
+
*/
|
|
1163
|
+
const KeyDescriptionExtension = (props) => {
|
|
1164
|
+
const { extension } = props;
|
|
1165
|
+
const renderRowValue = (data) => Object.keys(data).map((keyName) => {
|
|
1166
|
+
const keyValue = data[keyName];
|
|
1167
|
+
let value = '';
|
|
1168
|
+
switch (true) {
|
|
1169
|
+
case typeof keyValue === 'string' || typeof keyValue === 'number':
|
|
1170
|
+
value = keyValue;
|
|
1171
|
+
break;
|
|
1172
|
+
case keyValue instanceof IntegerSet:
|
|
1173
|
+
value = keyValue.join(', ');
|
|
1174
|
+
break;
|
|
1175
|
+
case typeof keyValue === 'boolean':
|
|
1176
|
+
value = keyValue
|
|
1177
|
+
? l10n.getString('yes')
|
|
1178
|
+
: l10n.getString('no');
|
|
1179
|
+
break;
|
|
1180
|
+
case Object.is(keyValue, null):
|
|
1181
|
+
value = 'NULL';
|
|
1182
|
+
break;
|
|
1183
|
+
case keyValue instanceof RootOfTrust:
|
|
1184
|
+
return [
|
|
1185
|
+
h(RowValue, { name: camelCaseToWords(keyName), value: "" }),
|
|
1186
|
+
h(TableRowTable, null, renderRowValue(keyValue)),
|
|
1187
|
+
];
|
|
1188
|
+
case BufferSourceConverter_1.isBufferSource(keyValue):
|
|
1189
|
+
if (keyName === 'attestationApplicationId') {
|
|
1190
|
+
try {
|
|
1191
|
+
const parsed = AsnParser.parse(keyValue, AttestationApplicationId);
|
|
1192
|
+
if (parsed.packageInfos.length || parsed.signatureDigests.length) {
|
|
1193
|
+
return [
|
|
1194
|
+
h(RowValue, { name: camelCaseToWords(keyName), value: "" }),
|
|
1195
|
+
Boolean(parsed.packageInfos) && (h(TableRowTable, null,
|
|
1196
|
+
h(RowValue, { name: camelCaseToWords('packageInfos'), value: "" }),
|
|
1197
|
+
parsed.packageInfos.map((attestationPackageInfo) => (h(TableRowTable, null, renderRowValue(attestationPackageInfo)))))),
|
|
1198
|
+
];
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
catch (error) {
|
|
1202
|
+
//
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
try {
|
|
1206
|
+
value = Convert_1.ToString(keyValue);
|
|
1207
|
+
}
|
|
1208
|
+
catch (error) {
|
|
1209
|
+
value = Convert_1.ToHex(keyValue);
|
|
1210
|
+
}
|
|
1211
|
+
break;
|
|
1212
|
+
}
|
|
1213
|
+
return (h(RowValue, { name: camelCaseToWords(keyName), value: value }));
|
|
1214
|
+
});
|
|
1215
|
+
const renderAuthorizationList = (title, authorizationList) => {
|
|
1216
|
+
if (authorizationList.length === 0) {
|
|
1217
|
+
return null;
|
|
1218
|
+
}
|
|
1219
|
+
return [
|
|
1220
|
+
h(RowValue, { name: title, value: "" }),
|
|
1221
|
+
h(TableRowTable, null, authorizationList.map(renderRowValue)),
|
|
1222
|
+
];
|
|
1223
|
+
};
|
|
1224
|
+
return (h(BasicExtension, { extension: extension },
|
|
1225
|
+
h(RowValue, { name: camelCaseToWords('attestationVersion'), value: extension.value.attestationVersion }),
|
|
1226
|
+
h(RowValue, { name: camelCaseToWords('attestationSecurityLevel'), value: extension.value.attestationSecurityLevel }),
|
|
1227
|
+
h(RowValue, { name: camelCaseToWords('keymasterVersion'), value: extension.value.keymasterVersion }),
|
|
1228
|
+
h(RowValue, { name: camelCaseToWords('keymasterSecurityLevel'), value: extension.value.keymasterSecurityLevel }),
|
|
1229
|
+
h(RowValue, { name: camelCaseToWords('attestationChallenge'), value: Convert_1.ToString(extension.value.attestationChallenge) }),
|
|
1230
|
+
h(RowValue, { name: camelCaseToWords('uniqueId'), value: Convert_1.ToString(extension.value.uniqueId) || undefined }),
|
|
1231
|
+
renderAuthorizationList(camelCaseToWords('softwareEnforced'), extension.value.softwareEnforced),
|
|
1232
|
+
renderAuthorizationList(camelCaseToWords('teeEnforced'), extension.value.teeEnforced)));
|
|
1233
|
+
};
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* @license
|
|
1237
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1238
|
+
*
|
|
1239
|
+
* This source code is licensed under the MIT license found in the
|
|
1240
|
+
* LICENSE file in the root directory of this source tree.
|
|
1241
|
+
*/
|
|
1242
|
+
const CabforganizationIdentifierExtension = (props) => {
|
|
1243
|
+
const { extension } = props;
|
|
1244
|
+
return (h(BasicExtension, { extension: extension }, Object.keys(extension.value).map((keyName) => (h(RowValue, { name: camelCaseToWords(keyName), value: extension.value[keyName] })))));
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* @license
|
|
1249
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1250
|
+
*
|
|
1251
|
+
* This source code is licensed under the MIT license found in the
|
|
1252
|
+
* LICENSE file in the root directory of this source tree.
|
|
1253
|
+
*/
|
|
1254
|
+
const Extensions = (props) => {
|
|
1255
|
+
const { extensions, title } = props;
|
|
1256
|
+
if (!extensions || !extensions.length) {
|
|
1257
|
+
return null;
|
|
1258
|
+
}
|
|
1259
|
+
return ([
|
|
1260
|
+
h(RowTitle, { value: title || 'Extensions' }),
|
|
1261
|
+
extensions.map((extension) => {
|
|
1262
|
+
try {
|
|
1263
|
+
if (extension.value instanceof KeyUsage) {
|
|
1264
|
+
return (h(KeyUsageExtension, { extension: extension }));
|
|
1265
|
+
}
|
|
1266
|
+
if (extension.value instanceof BasicConstraints) {
|
|
1267
|
+
return (h(BasicConstraintsExtension, { extension: extension }));
|
|
1268
|
+
}
|
|
1269
|
+
if (extension.value instanceof ExtendedKeyUsage) {
|
|
1270
|
+
return (h(ExtendedKeyUsageExtension, { extension: extension }));
|
|
1271
|
+
}
|
|
1272
|
+
if (extension.value instanceof SubjectKeyIdentifier) {
|
|
1273
|
+
return (h(SubjectKeyIdentifierExtension, Object.assign({ extension: extension }, props)));
|
|
1274
|
+
}
|
|
1275
|
+
if (extension.value instanceof AuthorityKeyIdentifier) {
|
|
1276
|
+
return (h(AuthorityKeyIdentifierExtension, Object.assign({ extension: extension }, props)));
|
|
1277
|
+
}
|
|
1278
|
+
if (extension.value instanceof CRLDistributionPoints) {
|
|
1279
|
+
return (h(CRLDistributionPointsExtension, Object.assign({ extension: extension }, props)));
|
|
1280
|
+
}
|
|
1281
|
+
if (extension.value instanceof AuthorityInfoAccessSyntax
|
|
1282
|
+
|| extension.value instanceof SubjectInfoAccessSyntax) {
|
|
1283
|
+
return (h(InfoAccessSyntaxExtension, Object.assign({ extension: extension }, props)));
|
|
1284
|
+
}
|
|
1285
|
+
if (extension.value instanceof SubjectAlternativeName) {
|
|
1286
|
+
return (h(SubjectAlternativeNameExtension, Object.assign({ extension: extension }, props)));
|
|
1287
|
+
}
|
|
1288
|
+
if (extension.value instanceof CertificatePolicies) {
|
|
1289
|
+
return (h(CertificatePoliciesExtension, { extension: extension }));
|
|
1290
|
+
}
|
|
1291
|
+
if (extension.value instanceof CertificateTransparency) {
|
|
1292
|
+
return (h(CertificateTransparencyExtension, { extension: extension }));
|
|
1293
|
+
}
|
|
1294
|
+
if (extension.value instanceof NameConstraints) {
|
|
1295
|
+
return (h(NameConstraintsExtension, Object.assign({ extension: extension }, props)));
|
|
1296
|
+
}
|
|
1297
|
+
if (extension.value instanceof CertificateTemplate) {
|
|
1298
|
+
return (h(CertificateTemplateExtension, { extension: extension }));
|
|
1299
|
+
}
|
|
1300
|
+
if (extension.value instanceof EnrollCertTypeChoice) {
|
|
1301
|
+
return (h(EnrollCertTypeChoiceExtension, { extension: extension }));
|
|
1302
|
+
}
|
|
1303
|
+
if (extension.value instanceof CaVersion) {
|
|
1304
|
+
return (h(CaVersionExtension, { extension: extension }));
|
|
1305
|
+
}
|
|
1306
|
+
if (extension.value instanceof QCStatements) {
|
|
1307
|
+
return (h(QCStatementsExtension, { extension: extension }));
|
|
1308
|
+
}
|
|
1309
|
+
if (extension.value instanceof NetscapeComment) {
|
|
1310
|
+
return (h(NetscapeCommentExtension, { extension: extension }));
|
|
1311
|
+
}
|
|
1312
|
+
if (extension.value instanceof NetscapeCertType) {
|
|
1313
|
+
return (h(NetscapeCertTypeExtension, { extension: extension }));
|
|
1314
|
+
}
|
|
1315
|
+
if (extension.value instanceof LeiRole) {
|
|
1316
|
+
return (h(LeiRoleExtension, { extension: extension }));
|
|
1317
|
+
}
|
|
1318
|
+
if (extension.value instanceof LeiChoice) {
|
|
1319
|
+
return (h(LeiExtension, Object.assign({ extension: extension }, props)));
|
|
1320
|
+
}
|
|
1321
|
+
if (extension.value instanceof Timestamp) {
|
|
1322
|
+
return (h(TimestampExtension, Object.assign({ extension: extension }, props)));
|
|
1323
|
+
}
|
|
1324
|
+
if (extension.value instanceof ArchiveRevInfo) {
|
|
1325
|
+
return (h(ArchiveRevInfoExtension, { extension: extension }));
|
|
1326
|
+
}
|
|
1327
|
+
if (extension.value instanceof CRLReason) {
|
|
1328
|
+
return (h(CRLReasonExtension, { extension: extension }));
|
|
1329
|
+
}
|
|
1330
|
+
if (extension.value instanceof SubjectDirectoryAttributes) {
|
|
1331
|
+
return (h(SubjectDirectoryAttributesExtension, { extension: extension }));
|
|
1332
|
+
}
|
|
1333
|
+
if (extension.value instanceof PrivateKeyUsagePeriod) {
|
|
1334
|
+
return (h(PrivateKeyUsagePeriodExtension, { extension: extension }));
|
|
1335
|
+
}
|
|
1336
|
+
if (extension.value instanceof EntrustVersionInfo) {
|
|
1337
|
+
return (h(EntrustVersionInfoExtension, { extension: extension }));
|
|
1338
|
+
}
|
|
1339
|
+
if (extension.value instanceof BiometricSyntax) {
|
|
1340
|
+
return (h(BiometricSyntaxExtension, { extension: extension }));
|
|
1341
|
+
}
|
|
1342
|
+
if (extension.value instanceof LogotypeExtn) {
|
|
1343
|
+
return (h(LogotypeExtension, { extension: extension }));
|
|
1344
|
+
}
|
|
1345
|
+
if (extension.value instanceof TNAuthorizationList) {
|
|
1346
|
+
return (h(TNAuthListExtension, { extension: extension }));
|
|
1347
|
+
}
|
|
1348
|
+
if (extension.value instanceof PolicyConstraints) {
|
|
1349
|
+
return (h(PolicyConstraintsExtension, { extension: extension }));
|
|
1350
|
+
}
|
|
1351
|
+
if (extension.value instanceof PolicyMappings) {
|
|
1352
|
+
return (h(PolicyMappingsExtension, { extension: extension }));
|
|
1353
|
+
}
|
|
1354
|
+
if (extension.value instanceof CRLNumber) {
|
|
1355
|
+
return (h(CRLNumberExtension, { extension: extension }));
|
|
1356
|
+
}
|
|
1357
|
+
if (extension.value instanceof IssuingDistributionPoint) {
|
|
1358
|
+
return (h(IssuingDistributionPointExtension, Object.assign({ extension: extension }, props)));
|
|
1359
|
+
}
|
|
1360
|
+
if (extension.value instanceof NonStandardKeyDescription) {
|
|
1361
|
+
return (h(KeyDescriptionExtension, Object.assign({ extension: extension }, props)));
|
|
1362
|
+
}
|
|
1363
|
+
if (extension.value instanceof CabforganizationIdentifier) {
|
|
1364
|
+
return (h(CabforganizationIdentifierExtension, Object.assign({ extension: extension }, props)));
|
|
1365
|
+
}
|
|
1366
|
+
if (typeof extension.value === 'string') {
|
|
1367
|
+
return (h(AsStringExtension, { extension: extension }));
|
|
1368
|
+
}
|
|
1369
|
+
return (h(BasicExtension, { extension: extension }));
|
|
1370
|
+
}
|
|
1371
|
+
catch (error) {
|
|
1372
|
+
console.error('Error render extension:', extension.asn.extnID);
|
|
1373
|
+
return null;
|
|
1374
|
+
}
|
|
1375
|
+
}),
|
|
1376
|
+
]);
|
|
1377
|
+
};
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* @license
|
|
1381
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1382
|
+
*
|
|
1383
|
+
* This source code is licensed under the MIT license found in the
|
|
1384
|
+
* LICENSE file in the root directory of this source tree.
|
|
1385
|
+
*/
|
|
1386
|
+
const Miscellaneous = (props) => {
|
|
1387
|
+
const { certificate } = props;
|
|
1388
|
+
return [
|
|
1389
|
+
h(RowTitle, { value: l10n.getString('miscellaneous') }),
|
|
1390
|
+
h("tr", null,
|
|
1391
|
+
h("td", null,
|
|
1392
|
+
h(Button, { onClick: () => certificate.downloadAsPEM(), startIcon: h(DownloadIcon, null) }, l10n.getString('download.pem')))),
|
|
1393
|
+
h("tr", null,
|
|
1394
|
+
h("td", null,
|
|
1395
|
+
h(Button, { onClick: () => certificate.downloadAsDER(), startIcon: h(DownloadIcon, null) }, l10n.getString('download.der')))),
|
|
1396
|
+
];
|
|
1397
|
+
};
|
|
1398
|
+
|
|
1399
|
+
export { BasicInformation as B, Extensions as E, GeneralNamePart as G, IssuerName as I, Miscellaneous as M, PublicKey as P, RowValue as R, Signature as S, TableRowTable as T, RowTitle as a, Thumbprints as b, camelCaseToWords as c, getLEILink as d, getDNSNameLink as e, getIPAddressLink as f, getStringByOID as g, SubjectName as h };
|
|
1400
|
+
|
|
1401
|
+
//# sourceMappingURL=miscellaneous-0e98b5bc.js.map
|