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