@peculiar/certificates-viewer 3.10.0 → 3.10.1-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/arrow_top.js +34 -0
- package/components/arrow_top.js.map +1 -0
- package/components/attribute-certificate-viewer.js +281 -0
- package/components/attribute-certificate-viewer.js.map +1 -0
- package/components/button-menu.js +64 -0
- package/components/button-menu.js.map +1 -0
- package/components/button.js +74 -0
- package/components/button.js.map +1 -0
- package/components/certificate-viewer.js +300 -0
- package/components/certificate-viewer.js.map +1 -0
- package/components/circular-progress.js +48 -0
- package/components/circular-progress.js.map +1 -0
- package/components/crl-viewer.js +263 -0
- package/components/crl-viewer.js.map +1 -0
- package/components/csr-viewer.js +233 -0
- package/components/csr-viewer.js.map +1 -0
- package/components/custom-elements.d.ts +2 -0
- package/{dist/esm/download-91511aeb.js → components/download.js} +2 -0
- package/components/download.js.map +1 -0
- package/components/highlight-words.js +60 -0
- package/components/highlight-words.js.map +1 -0
- package/components/index.d.ts +33 -0
- package/components/index.js +7 -0
- package/components/index.js.map +1 -0
- package/components/index2.js +299 -0
- package/components/index2.js.map +1 -0
- package/components/issuer_name.js +26 -0
- package/components/issuer_name.js.map +1 -0
- package/components/miscellaneous.js +13420 -0
- package/components/miscellaneous.js.map +1 -0
- package/components/package.json +9 -0
- package/components/peculiar-attribute-certificate-viewer.d.ts +11 -0
- package/components/peculiar-attribute-certificate-viewer.js +11 -0
- package/components/peculiar-attribute-certificate-viewer.js.map +1 -0
- package/components/peculiar-button-menu.d.ts +11 -0
- package/components/peculiar-button-menu.js +11 -0
- package/components/peculiar-button-menu.js.map +1 -0
- package/components/peculiar-certificate-decoder.d.ts +11 -0
- package/components/peculiar-certificate-decoder.js +234 -0
- package/components/peculiar-certificate-decoder.js.map +1 -0
- package/components/peculiar-certificate-viewer.d.ts +11 -0
- package/components/peculiar-certificate-viewer.js +11 -0
- package/components/peculiar-certificate-viewer.js.map +1 -0
- package/components/peculiar-certificates-viewer.d.ts +11 -0
- package/components/peculiar-certificates-viewer.js +382 -0
- package/components/peculiar-certificates-viewer.js.map +1 -0
- package/components/peculiar-circular-progress.d.ts +11 -0
- package/components/peculiar-circular-progress.js +11 -0
- package/components/peculiar-circular-progress.js.map +1 -0
- package/components/peculiar-crl-viewer.d.ts +11 -0
- package/components/peculiar-crl-viewer.js +11 -0
- package/components/peculiar-crl-viewer.js.map +1 -0
- package/components/peculiar-csr-viewer.d.ts +11 -0
- package/components/peculiar-csr-viewer.js +11 -0
- package/components/peculiar-csr-viewer.js.map +1 -0
- package/components/peculiar-highlight-words.d.ts +11 -0
- package/components/peculiar-highlight-words.js +11 -0
- package/components/peculiar-highlight-words.js.map +1 -0
- package/components/peculiar-text-hider.d.ts +11 -0
- package/components/peculiar-text-hider.js +42 -0
- package/components/peculiar-text-hider.js.map +1 -0
- package/components/subject_name.js +71 -0
- package/components/subject_name.js.map +1 -0
- package/dist/cjs/arrow_top-834fb7ec.js +37 -0
- package/dist/cjs/arrow_top-834fb7ec.js.map +1 -0
- package/dist/cjs/button-14e2b73f.js +77 -0
- package/dist/cjs/button-14e2b73f.js.map +1 -0
- package/dist/cjs/{certification_request-d5c6e32d.js → certification_request-c0cafa72.js} +236 -71
- package/dist/cjs/certification_request-c0cafa72.js.map +1 -0
- package/dist/cjs/{crl-5bce64c4.js → crl-b4322166.js} +8 -7
- package/dist/cjs/crl-b4322166.js.map +1 -0
- package/dist/cjs/download-254ddc57.js +23 -0
- package/dist/cjs/download-254ddc57.js.map +1 -0
- package/dist/cjs/{download-93f7b773.js → download-972dda8a.js} +2 -0
- package/dist/cjs/download-972dda8a.js.map +1 -0
- package/dist/cjs/index-efd561e9.js +2477 -0
- package/dist/cjs/index-efd561e9.js.map +1 -0
- package/dist/cjs/index.cjs.js +3 -1
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -12
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/{miscellaneous-cac1cd8b.js → miscellaneous-806a04a5.js} +86 -70
- package/dist/cjs/miscellaneous-806a04a5.js.map +1 -0
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +92 -35
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -0
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +110 -0
- package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -0
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +30 -19
- package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -0
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +34 -11
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -0
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +183 -85
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -0
- package/dist/cjs/peculiar-text-hider.cjs.entry.js +7 -13
- package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -0
- package/dist/cjs/peculiar.cjs.js +10 -57
- package/dist/cjs/peculiar.cjs.js.map +1 -0
- package/dist/cjs/{x509_certificate-3760e0a8.js → x509_certificate-989b1435.js} +5 -4
- package/dist/cjs/x509_certificate-989b1435.js.map +1 -0
- package/dist/collection/collection-manifest.json +12 -16
- package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +189 -145
- package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -0
- package/dist/collection/components/button/button.js +14 -126
- package/dist/collection/components/button/button.js.map +1 -0
- package/dist/collection/components/button/index.js +5 -0
- package/dist/collection/components/button/index.js.map +1 -0
- package/dist/collection/components/button-menu/button-menu.css +46 -0
- package/dist/collection/components/button-menu/button-menu.js +78 -0
- package/dist/collection/components/button-menu/button-menu.js.map +1 -0
- package/dist/collection/components/certificate-decoder/certificate-decoder.css +456 -44
- package/dist/collection/components/certificate-decoder/certificate-decoder.js +109 -101
- package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js +6 -11
- package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js +5 -5
- package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js +5 -6
- package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js +5 -5
- package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/index.js +16 -15
- package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js +5 -5
- package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js +5 -5
- package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/name_part.js +4 -3
- package/dist/collection/components/certificate-details-parts/attributes/name_part.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js +5 -4
- package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js +5 -5
- package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js +5 -5
- package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js +6 -13
- package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/basic_information.js +4 -3
- package/dist/collection/components/certificate-details-parts/basic_information.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js +2 -1
- package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js +10 -15
- package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js +6 -7
- package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js +5 -6
- package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js +8 -12
- package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js +5 -6
- package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js +26 -27
- package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js +5 -7
- package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js +8 -13
- package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js +4 -3
- package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js +6 -6
- package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js +5 -6
- package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js +7 -7
- package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js +7 -6
- package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/index.js +46 -45
- package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js +8 -9
- package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js +7 -11
- package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js +8 -11
- package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js +4 -3
- package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js +5 -5
- package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js +6 -7
- package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js +5 -4
- package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js +6 -7
- package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js +13 -16
- package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js +4 -3
- package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js +8 -9
- package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js +10 -15
- package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js +7 -9
- package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js +4 -3
- package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/holder.js +8 -11
- package/dist/collection/components/certificate-details-parts/holder.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/index.js +1 -0
- package/dist/collection/components/certificate-details-parts/index.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/issuer.js +5 -4
- package/dist/collection/components/certificate-details-parts/issuer.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/issuer_name.js +6 -4
- package/dist/collection/components/certificate-details-parts/issuer_name.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/miscellaneous.js +8 -13
- package/dist/collection/components/certificate-details-parts/miscellaneous.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/public_key.js +8 -7
- package/dist/collection/components/certificate-details-parts/public_key.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/revoked_certificates.js +9 -11
- package/dist/collection/components/certificate-details-parts/revoked_certificates.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/row.js +13 -18
- package/dist/collection/components/certificate-details-parts/row.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/signature.js +5 -4
- package/dist/collection/components/certificate-details-parts/signature.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/subject_name.js +4 -3
- package/dist/collection/components/certificate-details-parts/subject_name.js.map +1 -0
- package/dist/collection/components/certificate-details-parts/thumbprints.js +4 -3
- package/dist/collection/components/certificate-details-parts/thumbprints.js.map +1 -0
- package/dist/collection/components/certificate-summary/certificate-summary.js +9 -77
- package/dist/collection/components/certificate-summary/certificate-summary.js.map +1 -0
- package/dist/collection/components/certificate-summary/index.js +5 -0
- package/dist/collection/components/certificate-summary/index.js.map +1 -0
- package/dist/collection/components/certificate-viewer/certificate-viewer.css +470 -104
- package/dist/collection/components/certificate-viewer/certificate-viewer.js +206 -178
- package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -0
- package/dist/collection/components/certificates-viewer/certificates-viewer.css +540 -267
- package/dist/collection/components/certificates-viewer/certificates-viewer.js +261 -266
- package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -0
- package/dist/collection/components/circular-progress/circular-progress.css +2 -11
- package/dist/collection/components/circular-progress/circular-progress.js +60 -63
- package/dist/collection/components/circular-progress/circular-progress.js.map +1 -0
- package/dist/collection/components/crl-viewer/crl-viewer.js +166 -139
- package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -0
- package/dist/collection/components/csr-viewer/csr-viewer.js +149 -124
- package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -0
- package/dist/collection/components/highlight-words/highlight-words.css +1 -9
- package/dist/collection/components/highlight-words/highlight-words.js +35 -28
- package/dist/collection/components/highlight-words/highlight-words.js.map +1 -0
- package/dist/collection/components/icons/actions.js +16 -0
- package/dist/collection/components/icons/actions.js.map +1 -0
- package/dist/collection/components/icons/arrow_bottom.js +16 -0
- package/dist/collection/components/icons/arrow_bottom.js.map +1 -0
- package/dist/collection/components/icons/arrow_top.js +16 -0
- package/dist/collection/components/icons/arrow_top.js.map +1 -0
- package/dist/collection/components/icons/cross.js +16 -0
- package/dist/collection/components/icons/cross.js.map +1 -0
- package/dist/collection/components/icons/details.js +16 -0
- package/dist/collection/components/icons/details.js.map +1 -0
- package/dist/collection/components/icons/download.js +16 -0
- package/dist/collection/components/icons/download.js.map +1 -0
- package/dist/collection/components/icons/index.js +11 -0
- package/dist/collection/components/icons/index.js.map +1 -0
- package/dist/collection/components/icons/link.js +16 -0
- package/dist/collection/components/icons/link.js.map +1 -0
- package/dist/collection/components/link/index.js +5 -0
- package/dist/collection/components/link/index.js.map +1 -0
- package/dist/collection/components/link/link.js +9 -61
- package/dist/collection/components/link/link.js.map +1 -0
- package/dist/collection/components/text-hider/text-hider.css +9 -36
- package/dist/collection/components/text-hider/text-hider.js +21 -68
- package/dist/collection/components/text-hider/text-hider.js.map +1 -0
- package/dist/collection/components/typography/index.js +5 -0
- package/dist/collection/components/typography/index.js.map +1 -0
- package/dist/collection/components/typography/typography.js +39 -126
- package/dist/collection/components/typography/typography.js.map +1 -0
- package/dist/collection/constants/logs.js +1 -0
- package/dist/collection/constants/logs.js.map +1 -0
- package/dist/collection/constants/oids.js +1 -0
- package/dist/collection/constants/oids.js.map +1 -0
- package/dist/collection/crypto/asn_data.js +13 -7
- package/dist/collection/crypto/asn_data.js.map +1 -0
- package/dist/collection/crypto/attribute.js +11 -10
- package/dist/collection/crypto/attribute.js.map +1 -0
- package/dist/collection/crypto/crl.js +9 -8
- package/dist/collection/crypto/crl.js.map +1 -0
- package/dist/collection/crypto/csr.js +11 -10
- package/dist/collection/crypto/csr.js.map +1 -0
- package/dist/collection/crypto/extension.js +16 -15
- package/dist/collection/crypto/extension.js.map +1 -0
- package/dist/collection/crypto/index.js +1 -0
- package/dist/collection/crypto/index.js.map +1 -0
- package/dist/collection/crypto/name.js +15 -9
- package/dist/collection/crypto/name.js.map +1 -0
- package/dist/collection/crypto/provider.js +4 -3
- package/dist/collection/crypto/provider.js.map +1 -0
- package/dist/collection/crypto/utils.js +4 -3
- package/dist/collection/crypto/utils.js.map +1 -0
- package/dist/collection/crypto/x509_attribute_certificate.js +9 -8
- package/dist/collection/crypto/x509_attribute_certificate.js.map +1 -0
- package/dist/collection/crypto/x509_certificate.js +12 -11
- package/dist/collection/crypto/x509_certificate.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/locales/en.json +4 -3
- package/dist/collection/utils/date_formatter.js +3 -2
- package/dist/collection/utils/date_formatter.js.map +1 -0
- package/dist/collection/utils/download.js +3 -2
- package/dist/collection/utils/download.js.map +1 -0
- package/dist/collection/utils/download_from_buffer.js +1 -0
- package/dist/collection/utils/download_from_buffer.js.map +1 -0
- package/dist/collection/utils/get_string_by_oid.js +2 -1
- package/dist/collection/utils/get_string_by_oid.js.map +1 -0
- package/dist/collection/utils/index.js +2 -1
- package/dist/collection/utils/index.js.map +1 -0
- package/dist/collection/utils/is_link.js +1 -0
- package/dist/collection/utils/is_link.js.map +1 -0
- package/dist/collection/utils/l10n.js +2 -1
- package/dist/collection/utils/l10n.js.map +1 -0
- package/dist/collection/utils/read_file.js +1 -0
- package/dist/collection/utils/read_file.js.map +1 -0
- package/dist/collection/utils/third_party_links.js +1 -0
- package/dist/collection/utils/third_party_links.js.map +1 -0
- package/dist/collection/utils/validator.js +1 -0
- package/dist/collection/utils/validator.js.map +1 -0
- package/dist/collection/www-copy/index.js +138 -32
- package/dist/esm/arrow_top-efd3a56d.js +34 -0
- package/dist/esm/arrow_top-efd3a56d.js.map +1 -0
- package/dist/esm/button-35146bdd.js +74 -0
- package/dist/esm/button-35146bdd.js.map +1 -0
- package/dist/esm/{certification_request-23cd5124.js → certification_request-5cadde9f.js} +171 -9
- package/dist/esm/certification_request-5cadde9f.js.map +1 -0
- package/dist/esm/{crl-7f23c111.js → crl-11670c3e.js} +7 -6
- package/dist/esm/crl-11670c3e.js.map +1 -0
- package/dist/esm/download-0cc3077a.js +21 -0
- package/dist/esm/download-0cc3077a.js.map +1 -0
- package/dist/esm/download-57c5bf8f.js +470 -0
- package/dist/esm/download-57c5bf8f.js.map +1 -0
- package/dist/esm/index-4079bbb5.js +2448 -0
- package/dist/esm/index-4079bbb5.js.map +1 -0
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +6 -12
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/{miscellaneous-c7c0d04a.js → miscellaneous-1d4e8b41.js} +53 -37
- package/dist/esm/miscellaneous-1d4e8b41.js.map +1 -0
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +80 -23
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -0
- package/dist/esm/peculiar-button-menu_3.entry.js +104 -0
- package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -0
- package/dist/esm/peculiar-certificate-decoder.entry.js +30 -19
- package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -0
- package/dist/esm/peculiar-certificate-viewer.entry.js +34 -11
- package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -0
- package/dist/esm/peculiar-certificates-viewer.entry.js +183 -85
- package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -0
- package/dist/esm/peculiar-text-hider.entry.js +7 -13
- package/dist/esm/peculiar-text-hider.entry.js.map +1 -0
- package/dist/esm/peculiar.js +8 -58
- package/dist/esm/peculiar.js.map +1 -0
- package/dist/esm/{x509_certificate-d8e0af2d.js → x509_certificate-dfae6999.js} +4 -3
- package/dist/esm/x509_certificate-dfae6999.js.map +1 -0
- package/dist/esm-es5/arrow_top-efd3a56d.js +19 -0
- package/dist/esm-es5/arrow_top-efd3a56d.js.map +1 -0
- package/dist/esm-es5/button-35146bdd.js +19 -0
- package/dist/esm-es5/button-35146bdd.js.map +1 -0
- package/dist/esm-es5/certification_request-5cadde9f.js +97 -0
- package/dist/esm-es5/certification_request-5cadde9f.js.map +1 -0
- package/dist/esm-es5/crl-11670c3e.js +33 -0
- package/dist/esm-es5/crl-11670c3e.js.map +1 -0
- package/dist/esm-es5/download-0cc3077a.js +12 -0
- package/dist/esm-es5/download-0cc3077a.js.map +1 -0
- package/dist/esm-es5/download-57c5bf8f.js +19 -0
- package/dist/esm-es5/download-57c5bf8f.js.map +1 -0
- package/dist/esm-es5/index-4079bbb5.js +6 -0
- package/dist/esm-es5/index-4079bbb5.js.map +1 -0
- package/dist/esm-es5/index.js +5 -0
- package/dist/esm-es5/index.js.map +1 -0
- package/dist/esm-es5/loader.js +5 -0
- package/dist/esm-es5/loader.js.map +1 -0
- package/dist/esm-es5/miscellaneous-1d4e8b41.js +355 -0
- package/dist/esm-es5/miscellaneous-1d4e8b41.js.map +1 -0
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +110 -0
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -0
- package/dist/esm-es5/peculiar-button-menu_3.entry.js +12 -0
- package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -0
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js +12 -0
- package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -0
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js +5 -0
- package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -0
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js +33 -0
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -0
- package/dist/esm-es5/peculiar-text-hider.entry.js +5 -0
- package/dist/esm-es5/peculiar-text-hider.entry.js.map +1 -0
- package/dist/esm-es5/peculiar.js +5 -0
- package/dist/esm-es5/peculiar.js.map +1 -0
- package/dist/esm-es5/x509_certificate-dfae6999.js +12 -0
- package/dist/esm-es5/x509_certificate-dfae6999.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/peculiar/index.esm.js +2 -1
- package/dist/peculiar/index.esm.js.map +1 -0
- package/dist/peculiar/locales/en.json +4 -3
- package/dist/peculiar/p-0b356bb5.js +6 -0
- package/dist/peculiar/p-0b356bb5.js.map +1 -0
- package/dist/peculiar/p-0bdcdbf7.system.js +355 -0
- package/dist/peculiar/p-0bdcdbf7.system.js.map +1 -0
- package/dist/peculiar/p-17e3c47b.js +12 -0
- package/dist/peculiar/p-17e3c47b.js.map +1 -0
- package/dist/peculiar/p-23555789.system.entry.js +34 -0
- package/dist/peculiar/p-23555789.system.entry.js.map +1 -0
- package/dist/peculiar/p-2fcad8cb.system.js +20 -0
- package/dist/peculiar/p-2fcad8cb.system.js.map +1 -0
- package/dist/peculiar/p-31586b23.system.js +13 -0
- package/dist/peculiar/p-31586b23.system.js.map +1 -0
- package/dist/peculiar/p-43eb3721.js +33 -0
- package/dist/peculiar/p-43eb3721.js.map +1 -0
- package/dist/peculiar/p-5823e6e8.entry.js +12 -0
- package/dist/peculiar/p-5823e6e8.entry.js.map +1 -0
- package/dist/peculiar/p-596836a7.entry.js +33 -0
- package/dist/peculiar/p-596836a7.entry.js.map +1 -0
- package/dist/peculiar/p-5aabeba7.system.js +6 -0
- package/dist/peculiar/p-5aabeba7.system.js.map +1 -0
- package/dist/peculiar/p-6667fe6e.system.js +34 -0
- package/dist/peculiar/p-6667fe6e.system.js.map +1 -0
- package/dist/peculiar/p-6e79b9c8.js +12 -0
- package/dist/peculiar/p-6e79b9c8.js.map +1 -0
- package/dist/peculiar/p-709994c1.js +19 -0
- package/dist/peculiar/p-709994c1.js.map +1 -0
- package/dist/peculiar/p-74c241e7.js +97 -0
- package/dist/peculiar/p-74c241e7.js.map +1 -0
- package/dist/peculiar/p-7f9beaa8.js +19 -0
- package/dist/peculiar/p-7f9beaa8.js.map +1 -0
- package/dist/peculiar/p-80832207.system.js +5 -0
- package/dist/peculiar/p-80832207.system.js.map +1 -0
- package/dist/peculiar/p-8748391f.system.entry.js +5 -0
- package/dist/peculiar/p-8748391f.system.entry.js.map +1 -0
- package/dist/peculiar/p-882e1281.entry.js +12 -0
- package/dist/peculiar/p-882e1281.entry.js.map +1 -0
- package/dist/peculiar/p-90459cec.entry.js +5 -0
- package/dist/peculiar/p-90459cec.entry.js.map +1 -0
- package/dist/peculiar/p-97688065.js +355 -0
- package/dist/peculiar/p-97688065.js.map +1 -0
- package/dist/peculiar/p-99e3aa0c.system.entry.js +111 -0
- package/dist/peculiar/p-99e3aa0c.system.entry.js.map +1 -0
- package/dist/peculiar/p-9b4a8101.system.entry.js +5 -0
- package/dist/peculiar/p-9b4a8101.system.entry.js.map +1 -0
- package/dist/peculiar/p-a053c132.js +19 -0
- package/dist/peculiar/p-a053c132.js.map +1 -0
- package/dist/peculiar/p-a41ecd82.entry.js +5 -0
- package/dist/peculiar/p-a41ecd82.entry.js.map +1 -0
- package/dist/peculiar/p-ae9189f6.system.js +19 -0
- package/dist/peculiar/p-ae9189f6.system.js.map +1 -0
- package/dist/peculiar/p-bd485115.system.entry.js +13 -0
- package/dist/peculiar/p-bd485115.system.entry.js.map +1 -0
- package/dist/peculiar/p-c0a298fd.system.js +97 -0
- package/dist/peculiar/p-c0a298fd.system.js.map +1 -0
- package/dist/peculiar/p-daf23673.system.js +20 -0
- package/dist/peculiar/p-daf23673.system.js.map +1 -0
- package/dist/peculiar/p-e1960173.system.js +5 -0
- package/dist/peculiar/p-e1960173.system.js.map +1 -0
- package/dist/peculiar/p-e2cc7410.entry.js +110 -0
- package/dist/peculiar/p-e2cc7410.entry.js.map +1 -0
- package/dist/peculiar/p-e39de121.system.entry.js +13 -0
- package/dist/peculiar/p-e39de121.system.entry.js.map +1 -0
- package/dist/peculiar/p-e6a3b4d4.system.js +13 -0
- package/dist/peculiar/p-e6a3b4d4.system.js.map +1 -0
- package/dist/peculiar/peculiar.css +1 -1
- package/dist/peculiar/peculiar.esm.js +2 -1
- package/dist/peculiar/peculiar.esm.js.map +1 -0
- package/dist/peculiar/peculiar.js +127 -0
- package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +15 -3
- package/dist/types/components/button/button.d.ts +5 -16
- package/dist/types/components/button/index.d.ts +2 -0
- package/dist/types/components/button-menu/button-menu.d.ts +21 -0
- package/dist/types/components/certificate-decoder/certificate-decoder.d.ts +9 -6
- package/dist/types/components/certificate-details-parts/miscellaneous.d.ts +1 -1
- package/dist/types/components/certificate-summary/certificate-summary.d.ts +4 -3
- package/dist/types/components/certificate-summary/index.d.ts +1 -0
- package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +13 -5
- package/dist/types/components/certificates-viewer/certificates-viewer.d.ts +22 -11
- package/dist/types/components/crl-viewer/crl-viewer.d.ts +13 -5
- package/dist/types/components/csr-viewer/csr-viewer.d.ts +13 -5
- package/dist/types/components/icons/actions.d.ts +12 -0
- package/dist/types/components/icons/arrow_bottom.d.ts +12 -0
- package/dist/types/components/icons/arrow_top.d.ts +12 -0
- package/dist/types/components/icons/cross.d.ts +12 -0
- package/dist/types/components/icons/details.d.ts +12 -0
- package/dist/types/components/icons/download.d.ts +12 -0
- package/dist/types/components/icons/index.d.ts +7 -0
- package/dist/types/components/icons/link.d.ts +12 -0
- package/dist/types/components/link/index.d.ts +1 -0
- package/dist/types/components/link/link.d.ts +6 -6
- package/dist/types/components/text-hider/text-hider.d.ts +0 -3
- package/dist/types/components/typography/index.d.ts +1 -0
- package/dist/types/components/typography/typography.d.ts +10 -20
- package/dist/types/components.d.ts +74 -175
- package/dist/types/crypto/attribute.d.ts +1 -1
- package/dist/types/crypto/extension.d.ts +1 -1
- package/dist/types/interface.d.ts +98 -6
- package/dist/types/stencil-public-runtime.d.ts +110 -23
- package/dist/types/utils/l10n.d.ts +5 -4
- package/dist/types/utils/read_file.d.ts +1 -1
- package/hydrate/index.d.ts +218 -0
- package/hydrate/index.js +22549 -0
- package/hydrate/package.json +6 -0
- package/loader/index.d.ts +10 -1
- package/loader/index.js +1 -1
- package/loader/package.json +1 -0
- package/package.json +6 -4
- package/dist/cjs/dom-f57e260e.js +0 -78
- package/dist/cjs/index-064e95c7.js +0 -1441
- package/dist/cjs/l10n-ddc7cff9.js +0 -169
- package/dist/cjs/peculiar-button-split_4.cjs.entry.js +0 -128
- package/dist/cjs/peculiar-button.cjs.entry.js +0 -40
- package/dist/cjs/peculiar-link.cjs.entry.js +0 -29
- package/dist/cjs/peculiar-typography.cjs.entry.js +0 -38
- package/dist/collection/components/button/button.css +0 -81
- package/dist/collection/components/button-split/button-split.css +0 -57
- package/dist/collection/components/button-split/button-split.js +0 -116
- package/dist/collection/components/certificate-summary/certificate-summary.css +0 -49
- package/dist/collection/components/link/link.css +0 -59
- package/dist/collection/components/typography/typography.css +0 -95
- package/dist/esm/dom-f1b08a97.js +0 -76
- package/dist/esm/index-bbd484d9.js +0 -1410
- package/dist/esm/l10n-d48f35ff.js +0 -165
- package/dist/esm/peculiar-button-split_4.entry.js +0 -121
- package/dist/esm/peculiar-button.entry.js +0 -36
- package/dist/esm/peculiar-link.entry.js +0 -25
- package/dist/esm/peculiar-typography.entry.js +0 -34
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/peculiar/p-01cea5c0.entry.js +0 -11
- package/dist/peculiar/p-3bfefa4a.entry.js +0 -18
- package/dist/peculiar/p-4e8169cb.entry.js +0 -4
- package/dist/peculiar/p-57b89412.entry.js +0 -4
- package/dist/peculiar/p-5b4eed12.entry.js +0 -4
- package/dist/peculiar/p-610b85e3.entry.js +0 -4
- package/dist/peculiar/p-6d37c8b5.entry.js +0 -4
- package/dist/peculiar/p-711b4e1e.js +0 -18
- package/dist/peculiar/p-81a88a33.js +0 -11
- package/dist/peculiar/p-918aeee4.entry.js +0 -4
- package/dist/peculiar/p-9f4ee110.js +0 -22
- package/dist/peculiar/p-a050e184.js +0 -69
- package/dist/peculiar/p-c24c26c2.js +0 -32
- package/dist/peculiar/p-df53fbcc.entry.js +0 -4
- package/dist/peculiar/p-ec250cc4.js +0 -12
- package/dist/peculiar/p-f7683ba5.js +0 -5
- package/dist/peculiar/p-fe05f51e.js +0 -79
- package/dist/types/components/button-split/button-split.d.ts +0 -21
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(n,a){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var a in n)if(Object.prototype.hasOwnProperty.call(n,a))e[a]=n[a]};return e(n,a)};return function(n,a){if(typeof a!=="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");e(n,a);function t(){this.constructor=n}n.prototype=a===null?Object.create(a):(t.prototype=a.prototype,new t)}}();
|
|
2
|
+
/*!
|
|
3
|
+
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
4
|
+
*/import{h}from"./index-4079bbb5.js";import{a1 as OIDs,$ as l10n,a0 as dateShort,a2 as Name,a6 as OtherName,v as AsnParser,a7 as DisplayText,a8 as UserNotice,a9 as EDIPartyName,aa as __decorate,ab as AsnProp,ac as AsnPropTypes,ad as AsnType,ae as AsnTypeTypes,af as AsnArray,ag as id_qcs_pkixQCSyntax_v2,ah as SemanticsInformation,ai as AsnIntegerArrayBufferConverter,aj as KeyUsage,ak as BasicConstraints,al as ExtendedKeyUsage,am as SubjectKeyIdentifier,an as AuthorityKeyIdentifier,ao as CRLDistributionPoints,ap as AuthorityInfoAccessSyntax,aq as SubjectInfoAccessSyntax,ar as SubjectAlternativeName,as as CertificatePolicies,at as CertificateTransparency,au as NameConstraints,av as CertificateTemplate,aw as EnrollCertTypeChoice,ax as CaVersion,ay as QCStatements,az as NetscapeComment,aA as NetscapeCertType,aB as LeiRole,aC as LeiChoice,aD as Timestamp,aE as ArchiveRevInfo,a3 as CRLReason,aF as SubjectDirectoryAttributes,aG as PrivateKeyUsagePeriod,aH as EntrustVersionInfo,aI as BiometricSyntax,aJ as LogotypeExtn,aK as TNAuthorizationList,aL as PolicyConstraints,aM as PolicyMappings,aN as CRLNumber,aO as IssuingDistributionPoint}from"./certification_request-5cadde9f.js";import{b as build}from"./download-57c5bf8f.js";import{T as Typography,B as Button}from"./button-35146bdd.js";import{D as DownloadIcon}from"./download-0cc3077a.js";
|
|
5
|
+
/**
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/function getStringByOID(e){var n=OIDs[e];if(n){return"".concat(n," (").concat(e,")")}return e}
|
|
12
|
+
/**
|
|
13
|
+
* @license
|
|
14
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/var getLEILink=function(e){return"https://search.gleif.org/#/record/".concat(e)};var getDNSNameLink=function(e){return"https://search.censys.io/search?resource=hosts&q=dns.names%3A".concat(e)};var getIPAddressLink=function(e){return"https://search.censys.io/search?resource=hosts&q=ip%3A".concat(e)};
|
|
19
|
+
/**
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/function isLink(e){return e.indexOf("http")===0}
|
|
26
|
+
/**
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
29
|
+
*
|
|
30
|
+
* This source code is licensed under the MIT license found in the
|
|
31
|
+
* LICENSE file in the root directory of this source tree.
|
|
32
|
+
*/var Link=function(e,n){var a=e.href,t=e.variant;return h(Typography,{component:"a",variant:t,color:"secondary",href:a,target:"_blank",rel:"noreferrer noopener"},n)};
|
|
33
|
+
/**
|
|
34
|
+
* @license
|
|
35
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
36
|
+
*
|
|
37
|
+
* This source code is licensed under the MIT license found in the
|
|
38
|
+
* LICENSE file in the root directory of this source tree.
|
|
39
|
+
*/var TableRowTable=function(e,n){return h("tr",null,h("td",{colSpan:2},h("table",null,n)))};var RowTitle=function(e){var n=e.value;if(!n){return null}return[h("tr",{class:"title"},h("td",{colSpan:2},h(Typography,{variant:"s1",color:"black"},n))),h("tr",null,h("td",{colSpan:2,class:"divider"},h("span",null)))]};var RowValue=function(e){var n=e.name,a=e.value,t=e.monospace,i=e.collapse,o=e.href,r=e.extraValue;if(!n){return null}if(a===undefined||a===null){return null}var s;if(i){s=h("peculiar-text-hider",null,a)}else{s=a}var u=!!a.toString();return h("tr",null,h("td",{colSpan:u?1:2},h(Typography,{variant:"b2",color:"gray-9"},n)),u&&h("td",{class:{monospace:t}},isLink(a.toString())||o?h(Link,{variant:"b2",href:o||a.toString()},a):h(Typography,{variant:"b2",color:"black"},s,r)))};
|
|
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
|
+
*/var BasicInformation=function(e){var n=e.serialNumber,a=e.version,t=e.validity,i=e.notBefore,o=e.notAfter,r=e.lastUpdate,s=e.nextUpdate,u=e.type;return[h(RowTitle,{value:l10n.getString("basicInformation")}),h(RowValue,{name:l10n.getString("type"),value:u}),h(RowValue,{name:l10n.getString("serialNumber"),value:n,monospace:true}),h(RowValue,{name:l10n.getString("version"),value:a}),h(RowValue,{name:l10n.getString("validity"),value:t}),h(RowValue,{name:l10n.getString("issued"),value:i?dateShort(i):undefined}),h(RowValue,{name:l10n.getString("expired"),value:o?dateShort(o):undefined}),h(RowValue,{name:l10n.getString("lastUpdate"),value:r?dateShort(r):undefined}),h(RowValue,{name:l10n.getString("nextUpdate"),value:s?dateShort(s):undefined})]};
|
|
47
|
+
/**
|
|
48
|
+
* @license
|
|
49
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
50
|
+
*
|
|
51
|
+
* This source code is licensed under the MIT license found in the
|
|
52
|
+
* LICENSE file in the root directory of this source tree.
|
|
53
|
+
*/function getPublicKeyModulus(e){if(e.params&&"modulus"in e.params){var n=e.params.modulus.byteLength;if(n%2){n-=1}return n*8}return null}function getPublicKeyExponent(e){if(e.params&&"publicExponent"in e.params){return e.params.publicExponent.byteLength===3?65537:3}return null}var PublicKey=function(e){var n=e.publicKey;if(!n){return null}function a(e){return[h(RowValue,{name:l10n.getString("algorithm"),value:getStringByOID(e.algorithm)}),h(RowValue,{name:l10n.getString("namedCurve"),value:getStringByOID(e.params&&"namedCurve"in e.params?e.params.namedCurve:undefined)}),h(RowValue,{name:l10n.getString("exponent"),value:getPublicKeyExponent(e)}),h(RowValue,{name:l10n.getString("modulus"),value:getPublicKeyModulus(e)}),h(RowValue,{name:l10n.getString("value"),value:build.Convert.ToHex(e.value),monospace:true,collapse:true})]}return[h(RowTitle,{value:l10n.getString("publicKeyInfo")}),a(n),Array.isArray(n.params)&&n.params.length&&n.params.map((function(e){return h(TableRowTable,null,a(e))}))]};
|
|
54
|
+
/**
|
|
55
|
+
* @license
|
|
56
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
57
|
+
*
|
|
58
|
+
* This source code is licensed under the MIT license found in the
|
|
59
|
+
* LICENSE file in the root directory of this source tree.
|
|
60
|
+
*/var SubjectName=function(e){var n=e.name;return[h(RowTitle,{value:l10n.getString("subjectName")}),n.map((function(e){return h(RowValue,{name:e.name||e.type,value:e.value})}))]};
|
|
61
|
+
/**
|
|
62
|
+
* @license
|
|
63
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
64
|
+
*
|
|
65
|
+
* This source code is licensed under the MIT license found in the
|
|
66
|
+
* LICENSE file in the root directory of this source tree.
|
|
67
|
+
*/var IssuerName=function(e){var n=e.name,a=e.issuerDnLink;var t=l10n.getString("issuerName");return[h(RowTitle,{value:a?h(Link,{href:a},t):t}),n.map((function(e){return h(RowValue,{name:e.name||e.type,value:e.value})}))]};
|
|
68
|
+
/**
|
|
69
|
+
* @license
|
|
70
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the MIT license found in the
|
|
73
|
+
* LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/var Signature=function(e){var n=e.signature;if(!n){return null}function a(e){return[h(RowValue,{name:l10n.getString("algorithm"),value:getStringByOID(e.algorithm)}),h(RowValue,{name:l10n.getString("value"),value:build.Convert.ToHex(e.value),monospace:true,collapse:true})]}return[h(RowTitle,{value:l10n.getString("signature")}),a(n),n.params&&n.params.length&&n.params.map((function(e){return h(TableRowTable,null,a(e))}))]};
|
|
75
|
+
/**
|
|
76
|
+
* @license
|
|
77
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
78
|
+
*
|
|
79
|
+
* This source code is licensed under the MIT license found in the
|
|
80
|
+
* LICENSE file in the root directory of this source tree.
|
|
81
|
+
*/var Thumbprints=function(e){var n=e.thumbprints;if(!n){return null}var a=Object.keys(n);if(!a.length){return null}return[h(RowTitle,{value:l10n.getString("fingerprints")}),a.map((function(e){return h(RowValue,{name:e,value:n[e],monospace:true})}))]};
|
|
82
|
+
/**
|
|
83
|
+
* @license
|
|
84
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
85
|
+
*
|
|
86
|
+
* This source code is licensed under the MIT license found in the
|
|
87
|
+
* LICENSE file in the root directory of this source tree.
|
|
88
|
+
*/var BasicExtension=function(e,n){var a=e.extension;return[h(RowValue,{name:"Name",value:getStringByOID(a.asn.extnID)}),h(RowValue,{name:"Critical",value:a.asn.critical?l10n.getString("yes"):l10n.getString("no")}),n,h("tr",null,h("td",{colSpan:2,class:"divider"},h("span",null)))]};
|
|
89
|
+
/**
|
|
90
|
+
* @license
|
|
91
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
92
|
+
*
|
|
93
|
+
* This source code is licensed under the MIT license found in the
|
|
94
|
+
* LICENSE file in the root directory of this source tree.
|
|
95
|
+
*/var KeyUsageExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Usage",value:n.value.toJSON().join(", ")}))};
|
|
96
|
+
/**
|
|
97
|
+
* @license
|
|
98
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
99
|
+
*
|
|
100
|
+
* This source code is licensed under the MIT license found in the
|
|
101
|
+
* LICENSE file in the root directory of this source tree.
|
|
102
|
+
*/var BasicConstraintsExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Certificate Authority",value:n.value.cA?l10n.getString("yes"):l10n.getString("no")}),h(RowValue,{name:"Path Length Constraint",value:n.value.pathLenConstraint}))};
|
|
103
|
+
/**
|
|
104
|
+
* @license
|
|
105
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
106
|
+
*
|
|
107
|
+
* This source code is licensed under the MIT license found in the
|
|
108
|
+
* LICENSE file in the root directory of this source tree.
|
|
109
|
+
*/var ExtendedKeyUsageExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Purposes",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"Purpose",value:getStringByOID(e)}))}))])};
|
|
110
|
+
/**
|
|
111
|
+
* @license
|
|
112
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
113
|
+
*
|
|
114
|
+
* This source code is licensed under the MIT license found in the
|
|
115
|
+
* LICENSE file in the root directory of this source tree.
|
|
116
|
+
*/var SubjectKeyIdentifierExtension=function(e){var n=e.extension,a=e.getSubjectKeyIdChildrenLink,t=e.getSubjectKeyIdSiblingsLink;var i=build.Convert.ToHex(n.value.buffer);var o=a(i);var r=t(i);return h(BasicExtension,{extension:n},h(RowValue,{name:"Key ID",value:i,monospace:true,extraValue:[o&&h("span",null," [",h(Link,{href:o},"children"),"]"),r&&h("span",null," [",h(Link,{href:r},"siblings"),"]")]}))};
|
|
117
|
+
/**
|
|
118
|
+
* @license
|
|
119
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
120
|
+
*
|
|
121
|
+
* This source code is licensed under the MIT license found in the
|
|
122
|
+
* LICENSE file in the root directory of this source tree.
|
|
123
|
+
*/var AuthorityKeyIdentifierExtension=function(e){var n=e.extension,a=e.getAuthKeyIdParentLink,t=e.getAuthKeyIdSiblingsLink;var i=build.Convert.ToHex(n.value.keyIdentifier.buffer);var o=a(i);var r=t(i);return h(BasicExtension,{extension:n},h(RowValue,{name:"Key ID",value:i,monospace:true,extraValue:[o&&h("span",null," [",h(Link,{href:o},"parents"),"]"),r&&h("span",null," [",h(Link,{href:r},"siblings"),"]")]}))};
|
|
124
|
+
/**
|
|
125
|
+
* @license
|
|
126
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
127
|
+
*
|
|
128
|
+
* This source code is licensed under the MIT license found in the
|
|
129
|
+
* LICENSE file in the root directory of this source tree.
|
|
130
|
+
*/var names={otherName:"Other Name",rfc822Name:"RFC 822 Name",dNSName:"DNS Name",x400Address:"X400 Address",directoryName:"Directory Name",ediPartyName:"Edi Party Name ",uniformResourceIdentifier:"URI",iPAddress:"IP Address",registeredID:"Registered ID"};var GeneralNamePart=function(e){var n=e.generalName,a=e.getDNSNameLink,t=e.getIPAddressLink;if(!n){return null}return Object.keys(n).map((function(e){var i=n[e];if(i instanceof Name){return[h(RowValue,{name:names[e]||e,value:""}),h(TableRowTable,null,i.map((function(e){return e.map((function(e){return h(RowValue,{name:OIDs[e.type]||e.type,value:e.value.toString()})}))})))]}if(i instanceof OtherName){try{var o=AsnParser.parse(i.value,DisplayText);return h(RowValue,{name:OIDs[i.typeId]||i.typeId,value:o.toString()})}catch(e){}try{var o=AsnParser.parse(i.value,UserNotice);if(o.explicitText){return h(RowValue,{name:OIDs[i.typeId]||i.typeId,value:o.explicitText.toString()})}}catch(e){}return h(RowValue,{name:OIDs[i.typeId]||i.typeId,value:build.Convert.ToHex(i.value),monospace:true})}if(build.BufferSourceConverter.isBufferSource(i)){return h(RowValue,{name:names[e]||e,value:build.Convert.ToString(i)})}if(i instanceof EDIPartyName){return h(RowValue,{name:names[e]||e,value:i.partyName.toString()})}if(e==="dNSName"){return h(RowValue,{name:names[e]||e,value:i,href:a(i)})}if(e==="iPAddress"){return h(RowValue,{name:names[e]||e,value:i,href:t(i)})}return h(RowValue,{name:names[e]||e,value:i})}))};
|
|
131
|
+
/**
|
|
132
|
+
* @license
|
|
133
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
134
|
+
*
|
|
135
|
+
* This source code is licensed under the MIT license found in the
|
|
136
|
+
* LICENSE file in the root directory of this source tree.
|
|
137
|
+
*/var CRLDistributionPointsExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},n.value.map((function(n){var a,t;return[(a=n.distributionPoint)===null||a===void 0?void 0:a.fullName.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n},e))})),(t=n.cRLIssuer)===null||t===void 0?void 0:t.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n},e))}))]})))};
|
|
138
|
+
/**
|
|
139
|
+
* @license
|
|
140
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
141
|
+
*
|
|
142
|
+
* This source code is licensed under the MIT license found in the
|
|
143
|
+
* LICENSE file in the root directory of this source tree.
|
|
144
|
+
*/var InfoAccessSyntaxExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Descriptions",value:""}),n.value.map((function(n){return h(TableRowTable,null,h(RowValue,{name:"Method",value:getStringByOID(n.accessMethod)}),h(GeneralNamePart,Object.assign({generalName:n.accessLocation},e)))}))])};
|
|
145
|
+
/**
|
|
146
|
+
* @license
|
|
147
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
148
|
+
*
|
|
149
|
+
* This source code is licensed under the MIT license found in the
|
|
150
|
+
* LICENSE file in the root directory of this source tree.
|
|
151
|
+
*/var SubjectAlternativeNameExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},n.value.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n},e))})))};
|
|
152
|
+
/**
|
|
153
|
+
* @license
|
|
154
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
155
|
+
*
|
|
156
|
+
* This source code is licensed under the MIT license found in the
|
|
157
|
+
* LICENSE file in the root directory of this source tree.
|
|
158
|
+
*/var CertificatePoliciesExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Policies",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"Policy ID",value:getStringByOID(e.policyIdentifier)}),e.policyQualifiers&&Boolean(e.policyQualifiers.length)&&[h(RowValue,{name:"Qualifiers",value:""}),e.policyQualifiers.map((function(e){var n=[h(RowValue,{name:"Qualifier ID",value:getStringByOID(e.policyQualifierId)})];if(e.policyQualifierId==="1.3.6.1.5.5.7.2.1"){var a=AsnParser.parse(e.qualifier,DisplayText);n.push(h(RowValue,{name:"Value",value:a.toString()}))}if(e.policyQualifierId==="1.3.6.1.5.5.7.2.2"){var a=AsnParser.parse(e.qualifier,UserNotice);if(a.explicitText){n.push(h(RowValue,{name:"Value",value:a.explicitText.toString()}))}}return h(TableRowTable,null,n)}))])}))])};
|
|
159
|
+
/**
|
|
160
|
+
* @license
|
|
161
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
162
|
+
*
|
|
163
|
+
* This source code is licensed under the MIT license found in the
|
|
164
|
+
* LICENSE file in the root directory of this source tree.
|
|
165
|
+
*/var logs={"9606c02c690033aa1d145f59c6e2648d0549f0df96aab8db915a70d8ecf390a5":"Akamai CT","39376f545f7b4607f59742d768cd5d2437bf3473b6534a4834bcf72e681c83c9":"Alpha CT",a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638:"CNNIC CT",cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900:"Certly.IO","1fbc36e002ede97f40199e86b3573b8a4217d80187746ad0da03a06054d20df4":"Cloudflare “Nimbus2017”",db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64:"Cloudflare “Nimbus2018”","747eda8331ad331091219cce254f4270c2bffd5e422008c6373579e6107bcc56":"Cloudflare “Nimbus2019”","5ea773f9df56c0e7b536487dd049e0327a919a0c84a112128418759681714558":"Cloudflare “Nimbus2020”","4494652eb0eeceafc44007d8a8fe28c0dae682bed8cb31b53fd33396b5b681a8":"Cloudflare “Nimbus2021”","41c8cab1df22464a10c6a13a0942875e4e318b1b03ebeb4bc768f090629606f6":"Cloudflare “Nimbus2022”","7a328c54d8b72db620ea38e0521ee98416703213854d3bd22bc13a57a352eb52":"Cloudflare “Nimbus2023”","6ff141b5647e4222f7ef052cefae7c21fd608e27d2af5a6e9f4b8a37d6633ee5":"DigiCert Nessie2018",fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c:"DigiCert Nessie2019",c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565:"DigiCert Nessie2020",eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9:"DigiCert Nessie2021","51a3b0f5fd01799c566db837788f0ca47acc1b27cbf79e88429a0dfed48b05e5":"DigiCert Nessie2022",b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a:"DigiCert Nessie2023","5614069a2fd7c2ecd3f5e1bd44b23ec74676b9bc99115cc0ef949855d689d0dd":"DigiCert Server","8775bfe7597cf88c43995fbdf36eff568d475636ff4ab560c1b4eaff5ea0830f":"DigiCert Server 2",c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360:"DigiCert Yeti2018",e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe:"DigiCert Yeti2019",f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273:"DigiCert Yeti2020","5cdc4392fee6ab4544b15e9ad456e61037fbd5fa47dca17394b25ee6f6c70eca":"DigiCert Yeti2021","2245450759552456963fa12ff1f76d86e0232663adc04b7f5dc6835c6ee20f02":"DigiCert Yeti2022","35cf191bbfb16c57bf0fad4c6d42cbbbb627202651ea3fe12aefa803c33bd64c":"DigiCert Yeti2023","717ea7420975be84a2723553f1777c26dd51af4e102144094d9019b462fb6668":"GDCA 1","14308d90ccd030135005c01ca526d81e84e87624e39b6248e08f724aea3bb42a":"GDCA 2",c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa:"GDCA CT #1","924a30f909336ff435d6993a10ac75a2c641728e7fc2d659ae6188ffad40ce01":"GDCA CT #2",fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28:"Google “Argon2017”",a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25:"Google “Argon2018”","63f2dbcde83bcc2ccf0b728427576b33a48d61778fbd75a638b1c768544bd88d":"Google “Argon2019”",b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e:"Google “Argon2020”",f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3:"Google “Argon2021”","2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784":"Google “Argon2022”","68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4":"Google “Aviator”",c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6:"Google “Crucible”","1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb":"Google “Daedalus”","293c519654c83965baaa50fc5807d4b76fbf587a2972dca4c30cf4e54547f478":"Google “Icarus”",a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10:"Google “Pilot”",ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb:"Google “Rocketeer”",bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185:"Google “Skydiver”","52eb4b225ec896974850675f23e43bc1d021e3214ce52ecd5fa87c203cdfca03":"Google “Solera2018”","0b760e9a8b9a682f88985b15e947501a56446bba8830785c3842994386450c00":"Google “Solera2019”","1fc72ce5a1b799f400c359bff96ca3913548e8644220610952e9ba1774f7bac7":"Google “Solera2020”",a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7:"Google “Solera2021”","697aafca1a6b536fae21205046debad7e0eaea13d2432e6e9d8fb379f2b9aaf3":"Google “Solera2022”",a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681:"Google “Submariner”",b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77:"Google “Testtube”",b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e:"Google “Xenon2018”","084114980071532c16190460bcfc47fdc2653afa292c72b37ff863ae29ccc9f0":"Google “Xenon2019”","07b75c1be57d68fff1b0c61d2315c7bae6577c5794b76aeebc613a1a69d3a21c":"Google “Xenon2020”","7d3ef2f88fff88556824c2c0ca9e5289792bc50e78097f2e6a9768997e22f0d7":"Google “Xenon2021”","46a555eb75fa912030b5a28969f4f37d112c4174befd49b885abf2fc70fe6d47":"Google “Xenon2022”","7461b4a09cfb3d41d75159575b2e7649a445a8d27709b0cc564a6482b7eb41a3":"Izenpe","8941449c70742e06b9fc9ce7b116ba0024aa36d59af44f0204404f00f7ea8566":"Izenpe “Argi”","296afa2d568bca0d2ea844956ae9721fc35fa355ecda99693aafd458a71aefdd":"Let“s Encrypt ”Clicky”","537b69a3564335a9c04904e39593b2c298eb8d7a6e83023635c627248cd6b440":"Nordu “flimsy”",aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd:"Nordu “plausible”",e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273:"PuChuangSiDa CT",cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6:"SHECA CT 1","32dc59c2d4c41968d56e14bc61ac8f0e45db39faf3c155aa4252f5001fa0c623":"SHECA CT 2",db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98:"Sectigo (Comodo) “Dodo” CT","6f5376ac31f03119d89900a45115ff77151c11d902c10029068db2089a37d913":"Sectigo (Comodo) “Mammoth” CT","5581d4c2169036014aea0b9b573c53f0c0e43878702508172fa3aa1d0713d30c":"Sectigo (Comodo) “Sabre” CT","34bb6ad6c3df9c03eea8a499ff7891486c9d5e5cac92d01f7bfd1bce19db48ef":"StartCom",ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc:"Symantec",a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2:"Symantec Deneb","15970488d7b997a05beb52512adee8d2e8b4a3165264121a9fabfbd5f85ad93f":"Symantec “Sirius”",bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5:"Symantec “Vega”",b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b:"Up In The Air “Behind the Sofa”",ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d:"Venafi","03019df3fd85a69a8ebd1facc6da9ba73e469774fe77f579fc5a08b8328c1d6b":"Venafi Gen2 CT","41b2dc2e89e63ce4af1ba7bb29bf68c6dee6f9f1cc047e30dffae3b3ba259263":"WoSign","63d0006026dde10bb0601f452446965ee2b6ea2cd4fbc95ac866a550af9075b7":"WoSign 2","9e4ff73dc3ce220b69217c899e468076abf8d78636d5ccfc85a31a75628ba88b":"WoSign CT #1"};
|
|
166
|
+
/**
|
|
167
|
+
* @license
|
|
168
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
169
|
+
*
|
|
170
|
+
* This source code is licensed under the MIT license found in the
|
|
171
|
+
* LICENSE file in the root directory of this source tree.
|
|
172
|
+
*/var CertificateTransparencyExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.items.length)&&[h(RowValue,{name:"Signed Certificate Timestamps",value:""}),n.value.toJSON().map((function(e){return h(TableRowTable,null,h(RowValue,{name:"Version",value:e.version+1}),h(RowValue,{name:"Log Operator",value:logs[e.logId]||e.logId}),h(RowValue,{name:"Log Key ID",value:e.logId,monospace:true}),h(RowValue,{name:"Timestamp",value:dateShort(e.timestamp)}),h(RowValue,{name:"Signature Algorithm",value:"".concat(e.hashAlgorithm," ").concat(e.signatureAlgorithm).toUpperCase()}),h(RowValue,{name:"Signature",value:e.signature,monospace:true}))}))])};
|
|
173
|
+
/**
|
|
174
|
+
* @license
|
|
175
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
176
|
+
*
|
|
177
|
+
* This source code is licensed under the MIT license found in the
|
|
178
|
+
* LICENSE file in the root directory of this source tree.
|
|
179
|
+
*/var NameConstraintsExtension=function(e){var n,a;var t=e.extension;return h(BasicExtension,{extension:t},(n=t.value.excludedSubtrees)===null||n===void 0?void 0:n.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n.base},e))})),(a=t.value.permittedSubtrees)===null||a===void 0?void 0:a.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n.base},e))})))};
|
|
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
|
+
*/var CertificateTemplateExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Template ID",value:n.value.templateID}),h(RowValue,{name:"Template Major Version",value:n.value.templateMajorVersion}),h(RowValue,{name:"Template Minor Version",value:n.value.templateMinorVersion}))};
|
|
187
|
+
/**
|
|
188
|
+
* @license
|
|
189
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
190
|
+
*
|
|
191
|
+
* This source code is licensed under the MIT license found in the
|
|
192
|
+
* LICENSE file in the root directory of this source tree.
|
|
193
|
+
*/var EnrollCertTypeChoiceExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Name",value:n.value.toString()}))};
|
|
194
|
+
/**
|
|
195
|
+
* @license
|
|
196
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
197
|
+
*
|
|
198
|
+
* This source code is licensed under the MIT license found in the
|
|
199
|
+
* LICENSE file in the root directory of this source tree.
|
|
200
|
+
*/var CaVersionExtension=function(e){var n=e.extension;var a=n.value.getVersion();return h(BasicExtension,{extension:n},h(RowValue,{name:"Certificate Index",value:a.certificateIndex}),h(RowValue,{name:"Key Index",value:a.keyIndex}))};var PdsLocations_1,QcEuPDS_1,QcType_1,QcCClegislation_1;var Iso4217CurrencyCode=function(){function e(e){if(typeof e==="string"){this.alphabetic=e}else if(typeof e==="number"){this.numeric=e}}return e}();__decorate([AsnProp({type:AsnPropTypes.PrintableString})],Iso4217CurrencyCode.prototype,"alphabetic",void 0);__decorate([AsnProp({type:AsnPropTypes.PrintableString})],Iso4217CurrencyCode.prototype,"numeric",void 0);Iso4217CurrencyCode=__decorate([AsnType({type:AsnTypeTypes.Choice})],Iso4217CurrencyCode);var MonetaryValue=function(){function e(e){if(e===void 0){e={}}this.currency=new Iso4217CurrencyCode;this.amount=0;this.exponent=0;Object.assign(this,e)}return e}();__decorate([AsnProp({type:Iso4217CurrencyCode})],MonetaryValue.prototype,"currency",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer})],MonetaryValue.prototype,"amount",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer})],MonetaryValue.prototype,"exponent",void 0);var QcEuLimitValue=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(MonetaryValue);QcEuLimitValue=__decorate([AsnType({type:AsnTypeTypes.Sequence})],QcEuLimitValue);var QcEuRetentionPeriod=function(){function e(e){if(e===void 0){e=0}this.value=e}return e}();__decorate([AsnProp({type:AsnPropTypes.Integer})],QcEuRetentionPeriod.prototype,"value",void 0);QcEuRetentionPeriod=__decorate([AsnType({type:AsnTypeTypes.Choice})],QcEuRetentionPeriod);var PdsLocation=function(){function e(e){if(e===void 0){e={}}this.url="";this.language="";Object.assign(this,e)}return e}();__decorate([AsnProp({type:AsnPropTypes.IA5String})],PdsLocation.prototype,"url",void 0);__decorate([AsnProp({type:AsnPropTypes.PrintableString})],PdsLocation.prototype,"language",void 0);PdsLocation=__decorate([AsnType({type:AsnTypeTypes.Sequence})],PdsLocation);var PdsLocations=PdsLocations_1=function(e){__extends(n,e);function n(n){var a=e.call(this,n)||this;Object.setPrototypeOf(a,PdsLocations_1.prototype);return a}return n}(AsnArray);PdsLocations=PdsLocations_1=__decorate([AsnType({type:AsnTypeTypes.Sequence,itemType:PdsLocation})],PdsLocations);var QcEuPDS=QcEuPDS_1=function(e){__extends(n,e);function n(n){var a=e.call(this,n)||this;Object.setPrototypeOf(a,QcEuPDS_1.prototype);return a}return n}(PdsLocations);QcEuPDS=QcEuPDS_1=__decorate([AsnType({type:AsnTypeTypes.Sequence,itemType:PdsLocation})],QcEuPDS);var QcType=QcType_1=function(e){__extends(n,e);function n(n){var a=e.call(this,n)||this;Object.setPrototypeOf(a,QcType_1.prototype);return a}return n}(AsnArray);QcType=QcType_1=__decorate([AsnType({type:AsnTypeTypes.Sequence,itemType:AsnPropTypes.ObjectIdentifier})],QcType);var QcCClegislation=QcCClegislation_1=function(e){__extends(n,e);function n(n){var a=e.call(this,n)||this;Object.setPrototypeOf(a,QcCClegislation_1.prototype);return a}return n}(AsnArray);QcCClegislation=QcCClegislation_1=__decorate([AsnType({type:AsnTypeTypes.Sequence,itemType:AsnPropTypes.PrintableString})],QcCClegislation);var id_etsi_qcs="0.4.0.1862.1";var id_etsi_qcs_qcRetentionPeriod="".concat(id_etsi_qcs,".3");var id_etsi_qcs_qcPDS="".concat(id_etsi_qcs,".5");var id_etsi_qcs_qcType="".concat(id_etsi_qcs,".6");
|
|
201
|
+
/**
|
|
202
|
+
* @license
|
|
203
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
204
|
+
*
|
|
205
|
+
* This source code is licensed under the MIT license found in the
|
|
206
|
+
* LICENSE file in the root directory of this source tree.
|
|
207
|
+
*/var QCStatementsExtension=function(e){var n=e.extension;function a(e,n){if(!n.byteLength){return null}if(e===id_qcs_pkixQCSyntax_v2){var a=AsnParser.parse(n,SemanticsInformation);return h(RowValue,{name:"Semantics Identifier",value:getStringByOID(a.semanticsIdentifier)})}if(e===id_etsi_qcs_qcType){var t=AsnParser.parse(n,QcType);return h(RowValue,{name:"QC Types",value:t.map((function(e){return getStringByOID(e)})).join(", ")})}if(e===id_etsi_qcs_qcRetentionPeriod){var i=AsnParser.parse(n,QcEuRetentionPeriod);return h(RowValue,{name:"Retention Period",value:"".concat(i.value," years")})}if(e===id_etsi_qcs_qcPDS){var o=AsnParser.parse(n,PdsLocations);return[h(RowValue,{name:"PDS Locations",value:""}),o.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"URL",value:e.url}),h(RowValue,{name:"Language",value:e.language}))}))]}return h(RowValue,{name:"Info",value:build.Convert.ToHex(n),monospace:true})}return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Statements",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"Statement ID",value:getStringByOID(e.statementId)}),a(e.statementId,e.statementInfo))}))])};
|
|
208
|
+
/**
|
|
209
|
+
* @license
|
|
210
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
211
|
+
*
|
|
212
|
+
* This source code is licensed under the MIT license found in the
|
|
213
|
+
* LICENSE file in the root directory of this source tree.
|
|
214
|
+
*/var NetscapeCommentExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Comment",value:n.value.value}))};
|
|
215
|
+
/**
|
|
216
|
+
* @license
|
|
217
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
218
|
+
*
|
|
219
|
+
* This source code is licensed under the MIT license found in the
|
|
220
|
+
* LICENSE file in the root directory of this source tree.
|
|
221
|
+
*/var NetscapeCertTypeExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Type",value:n.value.toJSON().join(", ")}))};
|
|
222
|
+
/**
|
|
223
|
+
* @license
|
|
224
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
225
|
+
*
|
|
226
|
+
* This source code is licensed under the MIT license found in the
|
|
227
|
+
* LICENSE file in the root directory of this source tree.
|
|
228
|
+
*/var LeiRoleExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Role",value:n.value.text}))};
|
|
229
|
+
/**
|
|
230
|
+
* @license
|
|
231
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
232
|
+
*
|
|
233
|
+
* This source code is licensed under the MIT license found in the
|
|
234
|
+
* LICENSE file in the root directory of this source tree.
|
|
235
|
+
*/var LeiExtension=function(e){var n=e.extension,a=e.getLEILink;return h(BasicExtension,{extension:n},h(RowValue,{name:"Identifier",value:n.value.text,href:a(n.value.text)}))};
|
|
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
|
+
*/var TimestampExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Version",value:n.value.version}),h(GeneralNamePart,Object.assign({generalName:n.value.location},e)),h(RowValue,{name:"Requires Auth",value:n.value.requiresAuth?l10n.getString("yes"):l10n.getString("no")}))};
|
|
243
|
+
/**
|
|
244
|
+
* @license
|
|
245
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
246
|
+
*
|
|
247
|
+
* This source code is licensed under the MIT license found in the
|
|
248
|
+
* LICENSE file in the root directory of this source tree.
|
|
249
|
+
*/var ArchiveRevInfoExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Version",value:n.value.version}))};
|
|
250
|
+
/**
|
|
251
|
+
* @license
|
|
252
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
253
|
+
*
|
|
254
|
+
* This source code is licensed under the MIT license found in the
|
|
255
|
+
* LICENSE file in the root directory of this source tree.
|
|
256
|
+
*/var CRLReasonExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Reason",value:n.value.toJSON()}))};
|
|
257
|
+
/**
|
|
258
|
+
* @license
|
|
259
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
260
|
+
*
|
|
261
|
+
* This source code is licensed under the MIT license found in the
|
|
262
|
+
* LICENSE file in the root directory of this source tree.
|
|
263
|
+
*/function getAttributeValue(e){return build.Convert.ToString(e.values[0])}
|
|
264
|
+
/**
|
|
265
|
+
* @license
|
|
266
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
267
|
+
*
|
|
268
|
+
* This source code is licensed under the MIT license found in the
|
|
269
|
+
* LICENSE file in the root directory of this source tree.
|
|
270
|
+
*/var SubjectDirectoryAttributesExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Attributes",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"Type",value:getStringByOID(e.type)}),h(RowValue,{name:"Value",value:getAttributeValue(e)}))}))])};
|
|
271
|
+
/**
|
|
272
|
+
* @license
|
|
273
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
274
|
+
*
|
|
275
|
+
* This source code is licensed under the MIT license found in the
|
|
276
|
+
* LICENSE file in the root directory of this source tree.
|
|
277
|
+
*/var AsStringExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Value",value:n.value,monospace:true}))};
|
|
278
|
+
/**
|
|
279
|
+
* @license
|
|
280
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
281
|
+
*
|
|
282
|
+
* This source code is licensed under the MIT license found in the
|
|
283
|
+
* LICENSE file in the root directory of this source tree.
|
|
284
|
+
*/var PrivateKeyUsagePeriodExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Not Before",value:dateShort(n.value.notBefore)}),h(RowValue,{name:"Not After",value:dateShort(n.value.notAfter)}))};
|
|
285
|
+
/**
|
|
286
|
+
* @license
|
|
287
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
288
|
+
*
|
|
289
|
+
* This source code is licensed under the MIT license found in the
|
|
290
|
+
* LICENSE file in the root directory of this source tree.
|
|
291
|
+
*/var EntrustVersionInfoExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:"Version",value:n.value.entrustVers}),h(RowValue,{name:"Info Flags",value:n.value.entrustInfoFlags.toJSON().join(", ")}))};
|
|
292
|
+
/**
|
|
293
|
+
* @license
|
|
294
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
295
|
+
*
|
|
296
|
+
* This source code is licensed under the MIT license found in the
|
|
297
|
+
* LICENSE file in the root directory of this source tree.
|
|
298
|
+
*/var BiometricSyntaxExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},Boolean(n.value.length)&&[h(RowValue,{name:"Biometrics",value:""}),n.value.map((function(e){return h(TableRowTable,null,h(RowValue,{name:"OID",value:getStringByOID(e.typeOfBiometricData.biometricDataOid)}),h(RowValue,{name:"Type",value:e.typeOfBiometricData.predefinedBiometricType}),h(RowValue,{name:"Algorithm",value:getStringByOID(e.hashAlgorithm.algorithm)}),h(RowValue,{name:"Hash",value:build.Convert.ToHex(e.biometricDataHash.buffer),monospace:true}),h(RowValue,{name:"Source Uri",value:e.sourceDataUri}))}))])};
|
|
299
|
+
/**
|
|
300
|
+
* @license
|
|
301
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
302
|
+
*
|
|
303
|
+
* This source code is licensed under the MIT license found in the
|
|
304
|
+
* LICENSE file in the root directory of this source tree.
|
|
305
|
+
*/var LogotypeExtension=function(e){var n=e.extension;var a=function(e){if(!e){return null}return e.map((function(e){var n=e.imageDetails;return[h(RowValue,{name:"Image Type",value:n.mediaType}),h(RowValue,{name:"Image Hash",value:build.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),h(RowValue,{name:"Image URL",value:n.logotypeURI[0],monospace:true,collapse:true}),h(RowValue,{name:"Image Hash Algorithm",value:getStringByOID(n.logotypeHash[0].hashAlg.algorithm)})]}))};var t=function(e){if(!e){return null}return e.map((function(e){var n=e.audioDetails;return[h(RowValue,{name:"Audio Type",value:n.mediaType}),h(RowValue,{name:"Audio Hash",value:build.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:true}),h(RowValue,{name:"Audio URL",value:n.logotypeURI[0],monospace:true,collapse:true}),h(RowValue,{name:"Audio Hash Algorithm",value:getStringByOID(n.logotypeHash[0].hashAlg.algorithm)})]}))};var i=function(e,n){if(!n||!n.direct){return null}var i=n.direct,o=i.image,r=i.audio;return[h(RowValue,{name:"Type",value:e}),a(o),t(r),h("tr",null,h("td",null),h("td",null))]};return h(BasicExtension,{extension:n},i("Subject",n.value.subjectLogo),i("Issuer",n.value.issuerLogo))};
|
|
306
|
+
/**
|
|
307
|
+
* @license
|
|
308
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
309
|
+
*
|
|
310
|
+
* This source code is licensed under the MIT license found in the
|
|
311
|
+
* LICENSE file in the root directory of this source tree.
|
|
312
|
+
*/var TNAuthListExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},n.value.map((function(e,n){return[h(RowValue,{name:"Entry #".concat(n+1),value:""}),h(RowValue,{name:"SPC",value:e.spc}),h(RowValue,{name:"Range",value:e.range?"start=".concat(e.range.start," count==").concat(e.range.count):null}),h(RowValue,{name:"One",value:e.one})]})))};
|
|
313
|
+
/**
|
|
314
|
+
* @license
|
|
315
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
316
|
+
*
|
|
317
|
+
* This source code is licensed under the MIT license found in the
|
|
318
|
+
* LICENSE file in the root directory of this source tree.
|
|
319
|
+
*/var PolicyConstraintsExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},n.value.requireExplicitPolicy&&h(RowValue,{name:"Require Explicit Policy",value:AsnIntegerArrayBufferConverter.toASN(n.value.requireExplicitPolicy).valueBlock.toString()}),n.value.inhibitPolicyMapping&&h(RowValue,{name:"Inhibit Policy Mapping",value:AsnIntegerArrayBufferConverter.toASN(n.value.inhibitPolicyMapping).valueBlock.toString()}))};
|
|
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
|
+
*/var PolicyMappingsExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},n.value.map((function(e,n){return[h(RowValue,{name:"Policy #".concat(n+1),value:""}),h(RowValue,{name:"Issuer Domain",value:getStringByOID(e.issuerDomainPolicy)}),h(RowValue,{name:"Subject Domain",value:getStringByOID(e.subjectDomainPolicy)})]})))};
|
|
327
|
+
/**
|
|
328
|
+
* @license
|
|
329
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
330
|
+
*
|
|
331
|
+
* This source code is licensed under the MIT license found in the
|
|
332
|
+
* LICENSE file in the root directory of this source tree.
|
|
333
|
+
*/var CRLNumberExtension=function(e){var n=e.extension;return h(BasicExtension,{extension:n},h(RowValue,{name:l10n.getString("value"),value:n.value.value}))};
|
|
334
|
+
/**
|
|
335
|
+
* @license
|
|
336
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
337
|
+
*
|
|
338
|
+
* This source code is licensed under the MIT license found in the
|
|
339
|
+
* LICENSE file in the root directory of this source tree.
|
|
340
|
+
*/var IssuingDistributionPointExtension=function(e){var n;var a=e.extension;return h(BasicExtension,{extension:a},(n=a.value.distributionPoint)===null||n===void 0?void 0:n.fullName.map((function(n){return h(GeneralNamePart,Object.assign({generalName:n},e))})),a.value.onlySomeReasons&&h(RowValue,{name:l10n.getString("onlyReasons"),value:a.value.onlySomeReasons.toJSON().join(", ")}),a.value.indirectCRL&&h(RowValue,{name:l10n.getString("indirectCRL"),value:l10n.getString("yes")}),a.value.onlyContainsUserCerts&&h(RowValue,{name:l10n.getString("onlyUserCertificates"),value:l10n.getString("yes")}),a.value.onlyContainsAttributeCerts&&h(RowValue,{name:l10n.getString("onlyAttributeCertificates"),value:l10n.getString("yes")}),a.value.onlyContainsCACerts&&h(RowValue,{name:l10n.getString("onlyCACertificates"),value:l10n.getString("yes")}))};
|
|
341
|
+
/**
|
|
342
|
+
* @license
|
|
343
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
344
|
+
*
|
|
345
|
+
* This source code is licensed under the MIT license found in the
|
|
346
|
+
* LICENSE file in the root directory of this source tree.
|
|
347
|
+
*/var Extensions=function(e){var n=e.extensions,a=e.title;if(!n||!n.length){return null}return[h(RowTitle,{value:a||"Extensions"}),n.map((function(n){try{if(n.value instanceof KeyUsage){return h(KeyUsageExtension,{extension:n})}if(n.value instanceof BasicConstraints){return h(BasicConstraintsExtension,{extension:n})}if(n.value instanceof ExtendedKeyUsage){return h(ExtendedKeyUsageExtension,{extension:n})}if(n.value instanceof SubjectKeyIdentifier){return h(SubjectKeyIdentifierExtension,Object.assign({extension:n},e))}if(n.value instanceof AuthorityKeyIdentifier){return h(AuthorityKeyIdentifierExtension,Object.assign({extension:n},e))}if(n.value instanceof CRLDistributionPoints){return h(CRLDistributionPointsExtension,Object.assign({extension:n},e))}if(n.value instanceof AuthorityInfoAccessSyntax||n.value instanceof SubjectInfoAccessSyntax){return h(InfoAccessSyntaxExtension,Object.assign({extension:n},e))}if(n.value instanceof SubjectAlternativeName){return h(SubjectAlternativeNameExtension,Object.assign({extension:n},e))}if(n.value instanceof CertificatePolicies){return h(CertificatePoliciesExtension,{extension:n})}if(n.value instanceof CertificateTransparency){return h(CertificateTransparencyExtension,{extension:n})}if(n.value instanceof NameConstraints){return h(NameConstraintsExtension,Object.assign({extension:n},e))}if(n.value instanceof CertificateTemplate){return h(CertificateTemplateExtension,{extension:n})}if(n.value instanceof EnrollCertTypeChoice){return h(EnrollCertTypeChoiceExtension,{extension:n})}if(n.value instanceof CaVersion){return h(CaVersionExtension,{extension:n})}if(n.value instanceof QCStatements){return h(QCStatementsExtension,{extension:n})}if(n.value instanceof NetscapeComment){return h(NetscapeCommentExtension,{extension:n})}if(n.value instanceof NetscapeCertType){return h(NetscapeCertTypeExtension,{extension:n})}if(n.value instanceof LeiRole){return h(LeiRoleExtension,{extension:n})}if(n.value instanceof LeiChoice){return h(LeiExtension,Object.assign({extension:n},e))}if(n.value instanceof Timestamp){return h(TimestampExtension,Object.assign({extension:n},e))}if(n.value instanceof ArchiveRevInfo){return h(ArchiveRevInfoExtension,{extension:n})}if(n.value instanceof CRLReason){return h(CRLReasonExtension,{extension:n})}if(n.value instanceof SubjectDirectoryAttributes){return h(SubjectDirectoryAttributesExtension,{extension:n})}if(n.value instanceof PrivateKeyUsagePeriod){return h(PrivateKeyUsagePeriodExtension,{extension:n})}if(n.value instanceof EntrustVersionInfo){return h(EntrustVersionInfoExtension,{extension:n})}if(n.value instanceof BiometricSyntax){return h(BiometricSyntaxExtension,{extension:n})}if(n.value instanceof LogotypeExtn){return h(LogotypeExtension,{extension:n})}if(n.value instanceof TNAuthorizationList){return h(TNAuthListExtension,{extension:n})}if(n.value instanceof PolicyConstraints){return h(PolicyConstraintsExtension,{extension:n})}if(n.value instanceof PolicyMappings){return h(PolicyMappingsExtension,{extension:n})}if(n.value instanceof CRLNumber){return h(CRLNumberExtension,{extension:n})}if(n.value instanceof IssuingDistributionPoint){return h(IssuingDistributionPointExtension,Object.assign({extension:n},e))}if(typeof n.value==="string"){return h(AsStringExtension,{extension:n})}return h(BasicExtension,{extension:n})}catch(e){console.error("Error render extension:",n.asn.extnID);return null}}))]};
|
|
348
|
+
/**
|
|
349
|
+
* @license
|
|
350
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
351
|
+
*
|
|
352
|
+
* This source code is licensed under the MIT license found in the
|
|
353
|
+
* LICENSE file in the root directory of this source tree.
|
|
354
|
+
*/var Miscellaneous=function(e){var n=e.certificate;return[h(RowTitle,{value:l10n.getString("miscellaneous")}),h("tr",null,h("td",null,h(Button,{onClick:function(){return n.downloadAsPEM()},startIcon:h(DownloadIcon,null)},l10n.getString("download.pem")))),h("tr",null,h("td",null,h(Button,{onClick:function(){return n.downloadAsDER()},startIcon:h(DownloadIcon,null)},l10n.getString("download.der"))))]};export{BasicInformation as B,Extensions as E,GeneralNamePart as G,IssuerName as I,Miscellaneous as M,PublicKey as P,RowValue as R,Signature as S,TableRowTable as T,RowTitle as a,Thumbprints as b,getLEILink as c,getDNSNameLink as d,getIPAddressLink as e,SubjectName as f,getStringByOID as g};
|
|
355
|
+
//# sourceMappingURL=miscellaneous-1d4e8b41.js.map
|