@peculiar/certificates-viewer 3.10.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -64
- package/components/actions.js +21 -0
- package/components/actions.js.map +1 -0
- 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 +52 -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/cross.js +47 -0
- package/components/cross.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/components/download.js +500 -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 +11 -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 +13393 -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 +344 -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/actions-19013d4a.js +23 -0
- package/dist/cjs/actions-19013d4a.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/cross-9872c473.js +51 -0
- package/dist/cjs/cross-9872c473.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 +20 -1
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/link-6aea0be4.js +25 -0
- package/dist/cjs/link-6aea0be4.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-e43aaae5.js} +73 -70
- package/dist/cjs/miscellaneous-e43aaae5.js.map +1 -0
- package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +93 -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 +98 -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 +35 -11
- package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -0
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +145 -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 +471 -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 +5 -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/actions-8d745b2a.js +21 -0
- package/dist/esm/actions-8d745b2a.js.map +1 -0
- package/dist/esm/arrow_top-fc298828.js +34 -0
- package/dist/esm/arrow_top-fc298828.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/cross-9ec9a759.js +47 -0
- package/dist/esm/cross-9ec9a759.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-91511aeb.js → download-57c5bf8f.js} +2 -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 +10 -1
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/link-ad24c3be.js +23 -0
- package/dist/esm/link-ad24c3be.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-7793a310.js} +40 -37
- package/dist/esm/miscellaneous-7793a310.js.map +1 -0
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +81 -23
- package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -0
- package/dist/esm/peculiar-button-menu_3.entry.js +92 -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 +35 -11
- package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -0
- package/dist/esm/peculiar-certificates-viewer.entry.js +145 -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/actions-8d745b2a.js +12 -0
- package/dist/esm-es5/actions-8d745b2a.js.map +1 -0
- package/dist/esm-es5/arrow_top-fc298828.js +19 -0
- package/dist/esm-es5/arrow_top-fc298828.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/cross-9ec9a759.js +26 -0
- package/dist/esm-es5/cross-9ec9a759.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/link-ad24c3be.js +12 -0
- package/dist/esm-es5/link-ad24c3be.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-7793a310.js +348 -0
- package/dist/esm-es5/miscellaneous-7793a310.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 +5 -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 +12 -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-0b475f2a.system.entry.js +111 -0
- package/dist/peculiar/p-0b475f2a.system.entry.js.map +1 -0
- package/dist/peculiar/p-0fc2e2b4.js +19 -0
- package/dist/peculiar/p-0fc2e2b4.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-1844b807.system.entry.js +5 -0
- package/dist/peculiar/p-1844b807.system.entry.js.map +1 -0
- package/dist/peculiar/p-1ceb0fe3.js +12 -0
- package/dist/peculiar/p-1ceb0fe3.js.map +1 -0
- package/dist/peculiar/p-1de0381c.system.js +5 -0
- package/dist/peculiar/p-1de0381c.system.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-33196289.entry.js +5 -0
- package/dist/peculiar/p-33196289.entry.js.map +1 -0
- package/dist/peculiar/p-370cee20.js +26 -0
- package/dist/peculiar/p-370cee20.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-441109db.system.entry.js +13 -0
- package/dist/peculiar/p-441109db.system.entry.js.map +1 -0
- package/dist/peculiar/p-5151cb6f.system.entry.js +5 -0
- package/dist/peculiar/p-5151cb6f.system.entry.js.map +1 -0
- package/dist/peculiar/p-53784f15.system.entry.js +5 -0
- package/dist/peculiar/p-53784f15.system.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-5ab007e9.entry.js +5 -0
- package/dist/peculiar/p-5ab007e9.entry.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-673336cf.entry.js +110 -0
- package/dist/peculiar/p-673336cf.entry.js.map +1 -0
- package/dist/peculiar/p-6cb88fd6.system.js +13 -0
- package/dist/peculiar/p-6cb88fd6.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-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-7f9fef87.entry.js +5 -0
- package/dist/peculiar/p-7f9fef87.entry.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-882e1281.entry.js +12 -0
- package/dist/peculiar/p-882e1281.entry.js.map +1 -0
- package/dist/peculiar/p-94a453d7.js +12 -0
- package/dist/peculiar/p-94a453d7.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-a6e2e335.js +348 -0
- package/dist/peculiar/p-a6e2e335.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-b313be9e.system.js +13 -0
- package/dist/peculiar/p-b313be9e.system.js.map +1 -0
- package/dist/peculiar/p-bcc86979.entry.js +12 -0
- package/dist/peculiar/p-bcc86979.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-c362dc5e.system.js +348 -0
- package/dist/peculiar/p-c362dc5e.system.js.map +1 -0
- package/dist/peculiar/p-c99507d4.system.js +20 -0
- package/dist/peculiar/p-c99507d4.system.js.map +1 -0
- package/dist/peculiar/p-ddae2f8e.system.js +27 -0
- package/dist/peculiar/p-ddae2f8e.system.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/index.d.ts +4 -0
- 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 -1486
- 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 -1455
- 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 @@
|
|
|
1
|
+
{"version":3,"names":["getStringByOID","value","oid","OIDs","concat","getLEILink","lei","getDNSNameLink","dnsName","getIPAddressLink","ipAddress","isLink","indexOf","TableRowTable","_","children","h","colSpan","RowTitle","props","class","Typography","variant","color","RowValue","name","monospace","collapse","href","extraValue","undefined","elementValue","hasValue","toString","Link","BasicInformation","serialNumber","version","validity","notBefore","notAfter","lastUpdate","nextUpdate","type","l10n","getString","dateShort","getPublicKeyModulus","publicKey","params","length","modulus","byteLength","getPublicKeyExponent","publicExponent","PublicKey","renderKeyDetails","key","algorithm","namedCurve","Convert","ToHex","Array","isArray","map","param","SubjectName","n","IssuerName","issuerDnLink","title","Signature","signature","renderSignatureDetails","data","Thumbprints","thumbprints","keys","Object","BasicExtension","extension","asn","extnID","critical","KeyUsageExtension","toJSON","join","BasicConstraintsExtension","cA","pathLenConstraint","ExtendedKeyUsageExtension","Boolean","usage","SubjectKeyIdentifierExtension","getSubjectKeyIdChildrenLink","getSubjectKeyIdSiblingsLink","keyId","buffer","childrenLink","siblingsLink","AuthorityKeyIdentifierExtension","getAuthKeyIdParentLink","getAuthKeyIdSiblingsLink","keyIdentifier","parentLink","names","otherName","rfc822Name","dNSName","x400Address","directoryName","ediPartyName","uniformResourceIdentifier","iPAddress","registeredID","GeneralNamePart","generalName","Name","relativeDistinguishedName","attributeTypeAndValue","OtherName","text","AsnParser","parse","DisplayText","typeId","error","UserNotice","explicitText","BufferSourceConverter","isBufferSource","ToString","EDIPartyName","partyName","CRLDistributionPointsExtension","point","_a","distributionPoint","fullName","gn","assign","_b","cRLIssuer","InfoAccessSyntaxExtension","description","accessMethod","accessLocation","SubjectAlternativeNameExtension","CertificatePoliciesExtension","policy","policyIdentifier","policyQualifiers","qualifierInfo","policyQualifierId","qualifier","push","logs","a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638","cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900","db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64","fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c","c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565","eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9","b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a","c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360","e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe","f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273","c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa","fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28","a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25","b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e","f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3","c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6","a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10","ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb","bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185","a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7","a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681","b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77","b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e","aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd","e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273","cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6","db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98","ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc","a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2","bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5","b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b","ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d","CertificateTransparencyExtension","items","signedCertificateTimestamp","logId","timestamp","hashAlgorithm","signatureAlgorithm","toUpperCase","NameConstraintsExtension","excludedSubtrees","generalSubtree","base","permittedSubtrees","CertificateTemplateExtension","templateID","templateMajorVersion","templateMinorVersion","EnrollCertTypeChoiceExtension","CaVersionExtension","getVersion","certificateIndex","keyIndex","PdsLocations_1","QcEuPDS_1","QcType_1","QcCClegislation_1","Iso4217CurrencyCode","this","alphabetic","numeric","__decorate","AsnProp","AsnPropTypes","PrintableString","prototype","AsnType","AsnTypeTypes","Choice","MonetaryValue","currency","amount","exponent","Integer","QcEuLimitValue","_super","__extends","Sequence","QcEuRetentionPeriod","PdsLocation","url","language","IA5String","PdsLocations","_this","call","setPrototypeOf","AsnArray","itemType","QcEuPDS","QcType","ObjectIdentifier","QcCClegislation","id_etsi_qcs","id_etsi_qcs_qcRetentionPeriod","id_etsi_qcs_qcPDS","id_etsi_qcs_qcType","QCStatementsExtension","renderStatementInfo","statementId","statementInfo","id_qcs_pkixQCSyntax_v2","semanticsInformation","SemanticsInformation","semanticsIdentifier","qcTypes","retentionPeriod","pdsLocations","location","statement","NetscapeCommentExtension","NetscapeCertTypeExtension","LeiRoleExtension","LeiExtension","TimestampExtension","requiresAuth","ArchiveRevInfoExtension","CRLReasonExtension","getAttributeValue","attribute","values","SubjectDirectoryAttributesExtension","AsStringExtension","PrivateKeyUsagePeriodExtension","EntrustVersionInfoExtension","entrustVers","entrustInfoFlags","BiometricSyntaxExtension","typeOfBiometricData","biometricDataOid","predefinedBiometricType","biometricDataHash","sourceDataUri","LogotypeExtension","renderImage","image","img","imageDetails","mediaType","logotypeHash","hashValue","logotypeURI","hashAlg","renderAudio","audio","aud","audioDetails","renderLogo","info","direct","_c","subjectLogo","issuerLogo","TNAuthListExtension","entry","arrayIndex","spc","range","start","count","one","PolicyConstraintsExtension","requireExplicitPolicy","AsnIntegerArrayBufferConverter","toASN","valueBlock","inhibitPolicyMapping","PolicyMappingsExtension","issuerDomainPolicy","subjectDomainPolicy","CRLNumberExtension","IssuingDistributionPointExtension","onlySomeReasons","indirectCRL","onlyContainsUserCerts","onlyContainsAttributeCerts","onlyContainsCACerts","Extensions","extensions","KeyUsage","BasicConstraints","ExtendedKeyUsage","SubjectKeyIdentifier","AuthorityKeyIdentifier","CRLDistributionPoints","AuthorityInfoAccessSyntax","SubjectInfoAccessSyntax","SubjectAlternativeName","CertificatePolicies","CertificateTransparency","NameConstraints","CertificateTemplate","EnrollCertTypeChoice","CaVersion","QCStatements","NetscapeComment","NetscapeCertType","LeiRole","LeiChoice","Timestamp","ArchiveRevInfo","CRLReason","SubjectDirectoryAttributes","PrivateKeyUsagePeriod","EntrustVersionInfo","BiometricSyntax","LogotypeExtn","TNAuthorizationList","PolicyConstraints","PolicyMappings","CRLNumber","IssuingDistributionPoint","console","Miscellaneous","certificate","Button","onClick","downloadAsPEM","startIcon","DownloadIcon","downloadAsDER"],"sources":["src/utils/get_string_by_oid.ts","src/utils/third_party_links.ts","src/utils/is_link.ts","src/components/certificate-details-parts/row.tsx","src/components/certificate-details-parts/basic_information.tsx","src/components/certificate-details-parts/public_key.tsx","src/components/certificate-details-parts/subject_name.tsx","src/components/certificate-details-parts/issuer_name.tsx","src/components/certificate-details-parts/signature.tsx","src/components/certificate-details-parts/thumbprints.tsx","src/components/certificate-details-parts/extensions/basic_extension.tsx","src/components/certificate-details-parts/extensions/key_usage_extension.tsx","src/components/certificate-details-parts/extensions/basic_constraints_extension.tsx","src/components/certificate-details-parts/extensions/extended_key_usage_extension.tsx","src/components/certificate-details-parts/extensions/subject_key_identifier_extension.tsx","src/components/certificate-details-parts/extensions/authority_key_identifier_extension.tsx","src/components/certificate-details-parts/extensions/general_name_part.tsx","src/components/certificate-details-parts/extensions/crl_distribution_points_extension.tsx","src/components/certificate-details-parts/extensions/info_access_syntax_extension.tsx","src/components/certificate-details-parts/extensions/subject_alternative_name_extension.tsx","src/components/certificate-details-parts/extensions/certificate_policies_extension.tsx","src/constants/logs.ts","src/components/certificate-details-parts/extensions/certificate_transparency_extension.tsx","src/components/certificate-details-parts/extensions/name_constraints_extension.tsx","src/components/certificate-details-parts/extensions/certificate_template_extension.tsx","src/components/certificate-details-parts/extensions/enroll_cert_type_extension.tsx","src/components/certificate-details-parts/extensions/ca_version_extension.tsx","../../node_modules/@peculiar/asn1-x509-qualified-etsi/build/es2015/index.js","src/components/certificate-details-parts/extensions/qc_statements_extension.tsx","src/components/certificate-details-parts/extensions/netscape_comment_extension.tsx","src/components/certificate-details-parts/extensions/netscape_cert_type_extension.tsx","src/components/certificate-details-parts/extensions/lei_role_extennsion.tsx","src/components/certificate-details-parts/extensions/lei_extension.tsx","src/components/certificate-details-parts/extensions/timestamp_extension.tsx","src/components/certificate-details-parts/extensions/archive_rev_info_extension.tsx","src/components/certificate-details-parts/extensions/crl_reason_extension.tsx","src/components/certificate-details-parts/extensions/attribute_value.ts","src/components/certificate-details-parts/extensions/subject_directory_attributes_extension.tsx","src/components/certificate-details-parts/extensions/as_string_extension.tsx","src/components/certificate-details-parts/extensions/private_key_usage_period_extension.tsx","src/components/certificate-details-parts/extensions/entrust_version_info_extension.tsx","src/components/certificate-details-parts/extensions/biometric_syntax_extension.tsx","src/components/certificate-details-parts/extensions/logotype_extension.tsx","src/components/certificate-details-parts/extensions/tn_auth_list_extension.tsx","src/components/certificate-details-parts/extensions/policy_constraints_extension.tsx","src/components/certificate-details-parts/extensions/policy_mappings_extension.tsx","src/components/certificate-details-parts/extensions/crl_number_extension.tsx","src/components/certificate-details-parts/extensions/issuing_distribution_point_extension.tsx","src/components/certificate-details-parts/extensions/index.tsx","src/components/certificate-details-parts/miscellaneous.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { OIDs } from '../constants/oids';\n\nexport function getStringByOID(value: string) {\n const oid = OIDs[value];\n\n if (oid) {\n return `${oid} (${value})`;\n }\n\n return value;\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nexport const getLEILink = (lei: string) => `https://search.gleif.org/#/record/${lei}`;\n\nexport const getDNSNameLink = (dnsName: string) => `https://search.censys.io/search?resource=hosts&q=dns.names%3A${dnsName}`;\n\nexport const getIPAddressLink = (ipAddress: string) => `https://search.censys.io/search?resource=hosts&q=ip%3A${ipAddress}`;\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nexport default function isLink(value: string): boolean {\n return value.indexOf('http') === 0;\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport isLink from '../../utils/is_link';\nimport { Typography } from '../typography';\nimport { Link } from '../link';\n\nexport const TableRowTable: FunctionalComponent = (_, children) => (\n <tr>\n <td colSpan={2}>\n <table>\n {children}\n </table>\n </td>\n </tr>\n);\n\ninterface IRowTitleProps {\n value: string | string[];\n}\n\nexport const RowTitle: FunctionalComponent<IRowTitleProps> = (props) => {\n const { value } = props;\n\n if (!value) {\n return null;\n }\n\n return [\n <tr class=\"title\">\n <td colSpan={2}>\n <Typography\n variant=\"s1\"\n color=\"black\"\n >\n {value}\n </Typography>\n </td>\n </tr>,\n <tr>\n <td colSpan={2} class=\"divider\">\n <span />\n </td>\n </tr>,\n ];\n};\n\ninterface IRowValueProps {\n name: string | string[];\n value: string | number | string[];\n monospace?: boolean;\n collapse?: boolean;\n href?: string;\n extraValue?: Element[];\n}\n\nexport const RowValue: FunctionalComponent<IRowValueProps> = (props) => {\n const {\n name,\n value,\n monospace,\n collapse,\n href,\n extraValue,\n } = props;\n\n if (!name) {\n return null;\n }\n\n if (value === undefined || value === null) {\n return null;\n }\n\n let elementValue;\n\n if (collapse) {\n elementValue = (\n <peculiar-text-hider>\n {value}\n </peculiar-text-hider>\n );\n } else {\n elementValue = value;\n }\n\n const hasValue = !!value.toString();\n\n return (\n <tr>\n <td\n colSpan={hasValue ? 1 : 2}\n >\n <Typography\n variant=\"b2\"\n color=\"gray-9\"\n >\n {name}\n </Typography>\n </td>\n {hasValue && (\n <td\n class={{\n monospace,\n }}\n >\n {(isLink(value.toString()) || href) ? (\n <Link\n variant=\"b2\"\n href={href || value.toString()}\n >\n {value}\n </Link>\n ) : (\n <Typography\n variant=\"b2\"\n color=\"black\"\n >\n {elementValue}\n {extraValue}\n </Typography>\n )}\n </td>\n )}\n </tr>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport { dateShort, l10n } from '../../utils';\n\nimport { RowTitle, RowValue } from './row';\n\ninterface IBasicInformationProps {\n serialNumber?: string;\n version?: number;\n validity?: string;\n notBefore?: Date;\n notAfter?: Date;\n lastUpdate?: Date;\n nextUpdate?: Date;\n type: string;\n}\n\nexport const BasicInformation: FunctionalComponent<IBasicInformationProps> = (props) => {\n const {\n serialNumber,\n version,\n validity,\n notBefore,\n notAfter,\n lastUpdate,\n nextUpdate,\n type,\n } = props;\n\n return [\n <RowTitle\n value={l10n.getString('basicInformation')}\n />,\n <RowValue\n name={l10n.getString('type')}\n value={type}\n />,\n <RowValue\n name={l10n.getString('serialNumber')}\n value={serialNumber}\n monospace\n />,\n <RowValue\n name={l10n.getString('version')}\n value={version}\n />,\n <RowValue\n name={l10n.getString('validity')}\n value={validity}\n />,\n <RowValue\n name={l10n.getString('issued')}\n value={notBefore ? dateShort(notBefore) : undefined}\n />,\n <RowValue\n name={l10n.getString('expired')}\n value={notAfter ? dateShort(notAfter) : undefined}\n />,\n <RowValue\n name={l10n.getString('lastUpdate')}\n value={lastUpdate ? dateShort(lastUpdate) : undefined}\n />,\n <RowValue\n name={l10n.getString('nextUpdate')}\n value={nextUpdate ? dateShort(nextUpdate) : undefined}\n />,\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { Convert } from 'pvtsutils';\n\nimport { IPublicKey } from '../../crypto';\nimport { l10n, getStringByOID } from '../../utils';\n\nimport { RowTitle, RowValue, TableRowTable } from './row';\n\nfunction getPublicKeyModulus(publicKey: IPublicKey) {\n if (publicKey.params && 'modulus' in publicKey.params) {\n let length = publicKey.params.modulus.byteLength;\n\n if (length % 2) {\n length -= 1;\n }\n\n return length * 8;\n }\n\n return null;\n}\n\nfunction getPublicKeyExponent(publicKey: IPublicKey) {\n if (publicKey.params && 'publicExponent' in publicKey.params) {\n return publicKey.params.publicExponent.byteLength === 3\n ? 65537\n : 3;\n }\n\n return null;\n}\n\ninterface IPublicKeyProps {\n publicKey: IPublicKey;\n}\n\nexport const PublicKey: FunctionalComponent<IPublicKeyProps> = (props) => {\n const { publicKey } = props;\n\n if (!publicKey) {\n return null;\n }\n\n function renderKeyDetails(key: IPublicKey) {\n return [\n <RowValue\n name={l10n.getString('algorithm')}\n value={getStringByOID(key.algorithm)}\n />,\n <RowValue\n name={l10n.getString('namedCurve')}\n value={getStringByOID((key.params && 'namedCurve' in key.params) ? key.params.namedCurve : undefined)}\n />,\n <RowValue\n name={l10n.getString('exponent')}\n value={getPublicKeyExponent(key)}\n />,\n <RowValue\n name={l10n.getString('modulus')}\n value={getPublicKeyModulus(key)}\n />,\n <RowValue\n name={l10n.getString('value')}\n value={Convert.ToHex(key.value)}\n monospace\n collapse\n />,\n ];\n }\n\n return [\n <RowTitle\n value={l10n.getString('publicKeyInfo')}\n />,\n renderKeyDetails(publicKey),\n (Array.isArray(publicKey.params) && publicKey.params.length && publicKey.params.map((param) => (\n <TableRowTable>\n {renderKeyDetails(param)}\n </TableRowTable>\n ))),\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport type { INameJSON } from '../../crypto/name';\nimport { l10n } from '../../utils';\n\nimport { RowTitle, RowValue } from './row';\n\ninterface ISubjectNameProps {\n name: INameJSON[];\n}\n\nexport const SubjectName: FunctionalComponent<ISubjectNameProps> = (props) => {\n const { name } = props;\n\n return [\n <RowTitle\n value={l10n.getString('subjectName')}\n />,\n name.map((n) => (\n <RowValue\n name={n.name || n.type}\n value={n.value}\n />\n )),\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport type { INameJSON } from '../../crypto/name';\nimport { l10n } from '../../utils';\nimport { Link } from '../link';\nimport { RowTitle, RowValue } from './row';\n\ninterface ISubjectNameProps {\n name: INameJSON[];\n issuerDnLink?: string;\n}\n\nexport const IssuerName: FunctionalComponent<ISubjectNameProps> = (props) => {\n const { name, issuerDnLink } = props;\n const title = l10n.getString('issuerName');\n\n return [\n <RowTitle\n value={issuerDnLink ? (\n <Link\n href={issuerDnLink}\n >\n {title}\n </Link>\n ) : title}\n />,\n name.map((n) => (\n <RowValue\n name={n.name || n.type}\n value={n.value}\n />\n )),\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { Convert } from 'pvtsutils';\n\nimport { ISignature } from '../../crypto';\nimport { l10n, getStringByOID } from '../../utils';\n\nimport { RowTitle, RowValue, TableRowTable } from './row';\n\ninterface ISignatureProps {\n signature: ISignature;\n}\n\nexport const Signature: FunctionalComponent<ISignatureProps> = (props) => {\n const { signature } = props;\n\n if (!signature) {\n return null;\n }\n\n function renderSignatureDetails(data: ISignature) {\n return [\n <RowValue\n name={l10n.getString('algorithm')}\n value={getStringByOID(data.algorithm)}\n />,\n <RowValue\n name={l10n.getString('value')}\n value={Convert.ToHex(data.value)}\n monospace\n collapse\n />,\n ];\n }\n\n return [\n <RowTitle\n value={l10n.getString('signature')}\n />,\n renderSignatureDetails(signature),\n (signature.params && signature.params.length && signature.params.map((param) => (\n <TableRowTable>\n {renderSignatureDetails(param)}\n </TableRowTable>\n ))),\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { l10n } from '../../utils';\n\nimport { RowTitle, RowValue } from './row';\n\ninterface IThumbprintsProps {\n thumbprints: Record<string, string>;\n}\n\nexport const Thumbprints: FunctionalComponent<IThumbprintsProps> = (props) => {\n const { thumbprints } = props;\n\n if (!thumbprints) {\n return null;\n }\n\n const keys = Object.keys(thumbprints);\n\n if (!keys.length) {\n return null;\n }\n\n return [\n <RowTitle\n value={l10n.getString('fingerprints')}\n />,\n keys.map((name) => (\n <RowValue\n name={name}\n value={thumbprints[name]}\n monospace\n />\n )),\n ];\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport { Extension, TExtensionValue } from '../../../crypto/extension';\nimport { l10n, getStringByOID } from '../../../utils';\nimport { RowValue } from '../row';\n\ninterface IBasicExtensionProps {\n extension: Extension<TExtensionValue>;\n}\n\nexport const BasicExtension: FunctionalComponent<IBasicExtensionProps> = (props, children) => {\n const { extension } = props;\n\n return ([\n <RowValue\n name=\"Name\"\n value={getStringByOID(extension.asn.extnID)}\n />,\n <RowValue\n name=\"Critical\"\n value={extension.asn.critical ? l10n.getString('yes') : l10n.getString('no')}\n />,\n children,\n <tr>\n <td colSpan={2} class=\"divider\">\n <span />\n </td>\n </tr>,\n ]);\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { KeyUsage } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IKeyUsageExtensionProps {\n extension: Extension<KeyUsage>;\n}\n\nexport const KeyUsageExtension: FunctionalComponent<IKeyUsageExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Usage\"\n value={extension.value.toJSON().join(', ')}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { BasicConstraints } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\nimport { l10n } from '../../../utils';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IBasicConstraintsExtensionProps {\n extension: Extension<BasicConstraints>;\n}\n\nexport const BasicConstraintsExtension:\nFunctionalComponent<IBasicConstraintsExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Certificate Authority\"\n value={extension.value.cA ? l10n.getString('yes') : l10n.getString('no')}\n />\n <RowValue\n name=\"Path Length Constraint\"\n value={extension.value.pathLenConstraint}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { ExtendedKeyUsage } from '@peculiar/asn1-x509';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IExtendedKeyUsageExtensionProps {\n extension: Extension<ExtendedKeyUsage>;\n}\n\nexport const ExtendedKeyUsageExtension:\nFunctionalComponent<IExtendedKeyUsageExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Purposes\"\n value=\"\"\n />,\n extension.value.map((usage) => (\n <TableRowTable>\n <RowValue\n name=\"Purpose\"\n value={getStringByOID(usage)}\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { SubjectKeyIdentifier } from '@peculiar/asn1-x509';\nimport { Convert } from 'pvtsutils';\nimport { Extension } from '../../../crypto/extension';\nimport { Link } from '../../link';\nimport { RowValue } from '../row';\nimport { BasicExtension } from './basic_extension';\n\ninterface ISubjectKeyIdentifierExtensionProps extends ISubjectKeyIdentifierOptions {\n extension: Extension<SubjectKeyIdentifier>;\n}\n\nexport const SubjectKeyIdentifierExtension:\nFunctionalComponent<ISubjectKeyIdentifierExtensionProps> = (props) => {\n const { extension, getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink } = props;\n\n const keyId = Convert.ToHex(extension.value.buffer);\n const childrenLink = getSubjectKeyIdChildrenLink(keyId);\n const siblingsLink = getSubjectKeyIdSiblingsLink(keyId);\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Key ID\"\n value={keyId}\n monospace\n extraValue={[\n childrenLink && (\n <span>\n [\n <Link href={childrenLink}>\n children\n </Link>\n ]\n </span>\n ),\n siblingsLink && (\n <span>\n [\n <Link href={siblingsLink}>\n siblings\n </Link>\n ]\n </span>\n ),\n ]}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { AuthorityKeyIdentifier } from '@peculiar/asn1-x509';\nimport { Convert } from 'pvtsutils';\nimport { Extension } from '../../../crypto/extension';\nimport { Link } from '../../link';\nimport { RowValue } from '../row';\nimport { BasicExtension } from './basic_extension';\n\ninterface IAuthorityKeyIdentifierExtensionProps extends IAuthorityKeyIdentifierOptions {\n extension: Extension<AuthorityKeyIdentifier>;\n}\n\nexport const AuthorityKeyIdentifierExtension:\nFunctionalComponent<IAuthorityKeyIdentifierExtensionProps> = (props) => {\n const { extension, getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink } = props;\n\n const keyId = Convert.ToHex(extension.value.keyIdentifier.buffer);\n const parentLink = getAuthKeyIdParentLink(keyId);\n const siblingsLink = getAuthKeyIdSiblingsLink(keyId);\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Key ID\"\n value={keyId}\n monospace\n extraValue={[\n parentLink && (\n <span>\n [\n <Link href={parentLink}>\n parents\n </Link>\n ]\n </span>\n ),\n siblingsLink && (\n <span>\n [\n <Link href={siblingsLink}>\n siblings\n </Link>\n ]\n </span>\n ),\n ]}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport {\n GeneralName,\n Name,\n OtherName,\n DisplayText,\n EDIPartyName,\n UserNotice,\n} from '@peculiar/asn1-x509';\nimport { Convert, BufferSourceConverter } from 'pvtsutils';\nimport { AsnParser } from '@peculiar/asn1-schema';\n\nimport { OIDs } from '../../../constants/oids';\nimport { RowValue, TableRowTable } from '../row';\n\nconst names: Record<keyof GeneralName, string> = {\n otherName: 'Other Name',\n rfc822Name: 'RFC 822 Name',\n dNSName: 'DNS Name',\n x400Address: 'X400 Address',\n directoryName: 'Directory Name',\n ediPartyName: 'Edi Party Name ',\n uniformResourceIdentifier: 'URI',\n iPAddress: 'IP Address',\n registeredID: 'Registered ID',\n};\n\ninterface IGeneralNamePartProps extends IGeneralNameOptions {\n generalName: GeneralName;\n}\n\nexport const GeneralNamePart: FunctionalComponent<IGeneralNamePartProps> = (props) => {\n const { generalName, getDNSNameLink, getIPAddressLink } = props;\n\n if (!generalName) {\n return null;\n }\n\n return Object.keys(generalName).map((name: keyof GeneralName) => {\n const value = generalName[name];\n\n if (value instanceof Name) {\n return [\n <RowValue\n name={names[name] || name}\n value=\"\"\n />,\n <TableRowTable>\n {value.map((relativeDistinguishedName) => (\n relativeDistinguishedName.map((attributeTypeAndValue) => (\n <RowValue\n name={OIDs[attributeTypeAndValue.type] || attributeTypeAndValue.type}\n value={attributeTypeAndValue.value.toString()}\n />\n ))\n ))}\n </TableRowTable>,\n ];\n }\n\n if (value instanceof OtherName) {\n try {\n const text = AsnParser.parse(value.value, DisplayText);\n\n return (\n <RowValue\n name={OIDs[value.typeId] || value.typeId}\n value={text.toString()}\n />\n );\n } catch (error) {\n //\n }\n\n try {\n const text = AsnParser.parse(value.value, UserNotice);\n\n if (text.explicitText) {\n return (\n <RowValue\n name={OIDs[value.typeId] || value.typeId}\n value={text.explicitText.toString()}\n />\n );\n }\n } catch (error) {\n //\n }\n\n return (\n <RowValue\n name={OIDs[value.typeId] || value.typeId}\n value={Convert.ToHex(value.value)}\n monospace\n />\n );\n }\n\n if (BufferSourceConverter.isBufferSource(value)) {\n return (\n <RowValue\n name={names[name] || name}\n value={Convert.ToString(value)}\n />\n );\n }\n\n if (value instanceof EDIPartyName) {\n return (\n <RowValue\n name={names[name] || name}\n value={value.partyName.toString()}\n />\n );\n }\n\n if (name === 'dNSName') {\n return (\n <RowValue\n name={names[name] || name}\n value={value}\n href={getDNSNameLink(value)}\n />\n );\n }\n\n if (name === 'iPAddress') {\n return (\n <RowValue\n name={names[name] || name}\n value={value}\n href={getIPAddressLink(value)}\n />\n );\n }\n\n return (\n <RowValue\n name={names[name] || name}\n value={value}\n />\n );\n });\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CRLDistributionPoints } from '@peculiar/asn1-x509';\n\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface ICRLDistributionPointsExtensionProps extends IGeneralNameOptions {\n extension: Extension<CRLDistributionPoints>;\n}\n\nexport const CRLDistributionPointsExtension:\nFunctionalComponent<ICRLDistributionPointsExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.map((point) => ([\n point.distributionPoint?.fullName.map((gn) => (\n <GeneralNamePart\n generalName={gn}\n {...props}\n />\n )),\n point.cRLIssuer?.map((gn) => (\n <GeneralNamePart\n generalName={gn}\n {...props}\n />\n )),\n ]))}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { AuthorityInfoAccessSyntax, SubjectInfoAccessSyntax } from '@peculiar/asn1-x509';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface IInfoAccessSyntaxExtensionProps extends IGeneralNameOptions {\n extension: Extension<AuthorityInfoAccessSyntax | SubjectInfoAccessSyntax>;\n}\n\nexport const InfoAccessSyntaxExtension:\nFunctionalComponent<IInfoAccessSyntaxExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Descriptions\"\n value=\"\"\n />,\n extension.value.map((description) => (\n <TableRowTable>\n <RowValue\n name=\"Method\"\n value={getStringByOID(description.accessMethod)}\n />\n <GeneralNamePart\n generalName={description.accessLocation}\n {...props}\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { SubjectAlternativeName } from '@peculiar/asn1-x509';\n\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface ISubjectAlternativeNameExtensionProps extends IGeneralNameOptions {\n extension: Extension<SubjectAlternativeName>;\n}\n\nexport const SubjectAlternativeNameExtension:\nFunctionalComponent<ISubjectAlternativeNameExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.map((gn) => (\n <GeneralNamePart\n generalName={gn}\n {...props}\n />\n ))}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CertificatePolicies, UserNotice, DisplayText } from '@peculiar/asn1-x509';\nimport { AsnParser } from '@peculiar/asn1-schema';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICertificatePoliciesExtensionProps {\n extension: Extension<CertificatePolicies>;\n}\n\nexport const CertificatePoliciesExtension:\nFunctionalComponent<ICertificatePoliciesExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Policies\"\n value=\"\"\n />,\n extension.value.map((policy) => (\n <TableRowTable>\n <RowValue\n name=\"Policy ID\"\n value={getStringByOID(policy.policyIdentifier)}\n />\n {policy.policyQualifiers && Boolean(policy.policyQualifiers.length) && ([\n <RowValue\n name=\"Qualifiers\"\n value=\"\"\n />,\n policy.policyQualifiers.map((qualifierInfo) => {\n const data = [\n <RowValue\n name=\"Qualifier ID\"\n value={getStringByOID(qualifierInfo.policyQualifierId)}\n />,\n ];\n\n if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.1') {\n const value = AsnParser.parse(qualifierInfo.qualifier, DisplayText);\n\n data.push(\n <RowValue\n name=\"Value\"\n value={value.toString()}\n />,\n );\n }\n\n if (qualifierInfo.policyQualifierId === '1.3.6.1.5.5.7.2.2') {\n const value = AsnParser.parse(qualifierInfo.qualifier, UserNotice);\n\n if (value.explicitText) {\n data.push(\n <RowValue\n name=\"Value\"\n value={value.explicitText.toString()}\n />,\n );\n }\n }\n\n return (\n <TableRowTable>\n {data}\n </TableRowTable>\n );\n }),\n ])}\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nexport default {\n '9606c02c690033aa1d145f59c6e2648d0549f0df96aab8db915a70d8ecf390a5': 'Akamai CT',\n '39376f545f7b4607f59742d768cd5d2437bf3473b6534a4834bcf72e681c83c9': 'Alpha CT',\n a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638: 'CNNIC CT',\n cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900: 'Certly.IO',\n '1fbc36e002ede97f40199e86b3573b8a4217d80187746ad0da03a06054d20df4': 'Cloudflare “Nimbus2017”',\n db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64: 'Cloudflare “Nimbus2018”',\n '747eda8331ad331091219cce254f4270c2bffd5e422008c6373579e6107bcc56': 'Cloudflare “Nimbus2019”',\n '5ea773f9df56c0e7b536487dd049e0327a919a0c84a112128418759681714558': 'Cloudflare “Nimbus2020”',\n '4494652eb0eeceafc44007d8a8fe28c0dae682bed8cb31b53fd33396b5b681a8': 'Cloudflare “Nimbus2021”',\n '41c8cab1df22464a10c6a13a0942875e4e318b1b03ebeb4bc768f090629606f6': 'Cloudflare “Nimbus2022”',\n '7a328c54d8b72db620ea38e0521ee98416703213854d3bd22bc13a57a352eb52': 'Cloudflare “Nimbus2023”',\n '6ff141b5647e4222f7ef052cefae7c21fd608e27d2af5a6e9f4b8a37d6633ee5': 'DigiCert Nessie2018',\n fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c: 'DigiCert Nessie2019',\n c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565: 'DigiCert Nessie2020',\n eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9: 'DigiCert Nessie2021',\n '51a3b0f5fd01799c566db837788f0ca47acc1b27cbf79e88429a0dfed48b05e5': 'DigiCert Nessie2022',\n b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a: 'DigiCert Nessie2023',\n '5614069a2fd7c2ecd3f5e1bd44b23ec74676b9bc99115cc0ef949855d689d0dd': 'DigiCert Server',\n '8775bfe7597cf88c43995fbdf36eff568d475636ff4ab560c1b4eaff5ea0830f': 'DigiCert Server 2',\n c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360: 'DigiCert Yeti2018',\n e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe: 'DigiCert Yeti2019',\n f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273: 'DigiCert Yeti2020',\n '5cdc4392fee6ab4544b15e9ad456e61037fbd5fa47dca17394b25ee6f6c70eca': 'DigiCert Yeti2021',\n '2245450759552456963fa12ff1f76d86e0232663adc04b7f5dc6835c6ee20f02': 'DigiCert Yeti2022',\n '35cf191bbfb16c57bf0fad4c6d42cbbbb627202651ea3fe12aefa803c33bd64c': 'DigiCert Yeti2023',\n '717ea7420975be84a2723553f1777c26dd51af4e102144094d9019b462fb6668': 'GDCA 1',\n '14308d90ccd030135005c01ca526d81e84e87624e39b6248e08f724aea3bb42a': 'GDCA 2',\n c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa: 'GDCA CT #1',\n '924a30f909336ff435d6993a10ac75a2c641728e7fc2d659ae6188ffad40ce01': 'GDCA CT #2',\n fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28: 'Google “Argon2017”',\n a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25: 'Google “Argon2018”',\n '63f2dbcde83bcc2ccf0b728427576b33a48d61778fbd75a638b1c768544bd88d': 'Google “Argon2019”',\n b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e: 'Google “Argon2020”',\n f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3: 'Google “Argon2021”',\n '2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784': 'Google “Argon2022”',\n '68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4': 'Google “Aviator”',\n c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6: 'Google “Crucible”',\n '1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb': 'Google “Daedalus”',\n '293c519654c83965baaa50fc5807d4b76fbf587a2972dca4c30cf4e54547f478': 'Google “Icarus”',\n a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10: 'Google “Pilot”',\n ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb: 'Google “Rocketeer”',\n bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185: 'Google “Skydiver”',\n '52eb4b225ec896974850675f23e43bc1d021e3214ce52ecd5fa87c203cdfca03': 'Google “Solera2018”',\n '0b760e9a8b9a682f88985b15e947501a56446bba8830785c3842994386450c00': 'Google “Solera2019”',\n '1fc72ce5a1b799f400c359bff96ca3913548e8644220610952e9ba1774f7bac7': 'Google “Solera2020”',\n a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7: 'Google “Solera2021”',\n '697aafca1a6b536fae21205046debad7e0eaea13d2432e6e9d8fb379f2b9aaf3': 'Google “Solera2022”',\n a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681: 'Google “Submariner”',\n b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77: 'Google “Testtube”',\n b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e: 'Google “Xenon2018”',\n '084114980071532c16190460bcfc47fdc2653afa292c72b37ff863ae29ccc9f0': 'Google “Xenon2019”',\n '07b75c1be57d68fff1b0c61d2315c7bae6577c5794b76aeebc613a1a69d3a21c': 'Google “Xenon2020”',\n '7d3ef2f88fff88556824c2c0ca9e5289792bc50e78097f2e6a9768997e22f0d7': 'Google “Xenon2021”',\n '46a555eb75fa912030b5a28969f4f37d112c4174befd49b885abf2fc70fe6d47': 'Google “Xenon2022”',\n '7461b4a09cfb3d41d75159575b2e7649a445a8d27709b0cc564a6482b7eb41a3': 'Izenpe',\n '8941449c70742e06b9fc9ce7b116ba0024aa36d59af44f0204404f00f7ea8566': 'Izenpe “Argi”',\n '296afa2d568bca0d2ea844956ae9721fc35fa355ecda99693aafd458a71aefdd': 'Let“s Encrypt ”Clicky”',\n '537b69a3564335a9c04904e39593b2c298eb8d7a6e83023635c627248cd6b440': 'Nordu “flimsy”',\n aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd: 'Nordu “plausible”',\n e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273: 'PuChuangSiDa CT',\n cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6: 'SHECA CT 1',\n '32dc59c2d4c41968d56e14bc61ac8f0e45db39faf3c155aa4252f5001fa0c623': 'SHECA CT 2',\n db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98: 'Sectigo (Comodo) “Dodo” CT',\n '6f5376ac31f03119d89900a45115ff77151c11d902c10029068db2089a37d913': 'Sectigo (Comodo) “Mammoth” CT',\n '5581d4c2169036014aea0b9b573c53f0c0e43878702508172fa3aa1d0713d30c': 'Sectigo (Comodo) “Sabre” CT',\n '34bb6ad6c3df9c03eea8a499ff7891486c9d5e5cac92d01f7bfd1bce19db48ef': 'StartCom',\n ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc: 'Symantec',\n a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2: 'Symantec Deneb',\n '15970488d7b997a05beb52512adee8d2e8b4a3165264121a9fabfbd5f85ad93f': 'Symantec “Sirius”',\n bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5: 'Symantec “Vega”',\n b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b: 'Up In The Air “Behind the Sofa”',\n ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d: 'Venafi',\n '03019df3fd85a69a8ebd1facc6da9ba73e469774fe77f579fc5a08b8328c1d6b': 'Venafi Gen2 CT',\n '41b2dc2e89e63ce4af1ba7bb29bf68c6dee6f9f1cc047e30dffae3b3ba259263': 'WoSign',\n '63d0006026dde10bb0601f452446965ee2b6ea2cd4fbc95ac866a550af9075b7': 'WoSign 2',\n '9e4ff73dc3ce220b69217c899e468076abf8d78636d5ccfc85a31a75628ba88b': 'WoSign CT #1',\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport type { CertificateTransparency } from '@peculiar/asn1-cert-transparency';\n\nimport type { Extension } from '../../../crypto/extension';\nimport logs from '../../../constants/logs';\nimport { dateShort } from '../../../utils';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICertificateTransparencyExtensionProps {\n extension: Extension<CertificateTransparency>;\n}\n\nexport const CertificateTransparencyExtension:\nFunctionalComponent<ICertificateTransparencyExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.items.length) && ([\n <RowValue\n name=\"Signed Certificate Timestamps\"\n value=\"\"\n />,\n extension.value.toJSON().map((signedCertificateTimestamp) => (\n <TableRowTable>\n <RowValue\n name=\"Version\"\n value={signedCertificateTimestamp.version + 1}\n />\n <RowValue\n name=\"Log Operator\"\n value={logs[signedCertificateTimestamp.logId] || signedCertificateTimestamp.logId}\n />\n <RowValue\n name=\"Log Key ID\"\n value={signedCertificateTimestamp.logId}\n monospace\n />\n <RowValue\n name=\"Timestamp\"\n value={dateShort(signedCertificateTimestamp.timestamp)}\n />\n <RowValue\n name=\"Signature Algorithm\"\n value={`${signedCertificateTimestamp.hashAlgorithm} ${signedCertificateTimestamp.signatureAlgorithm}`.toUpperCase()}\n />\n <RowValue\n name=\"Signature\"\n value={signedCertificateTimestamp.signature}\n monospace\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { NameConstraints } from '@peculiar/asn1-x509';\n\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface INameConstraintsExtensionProps extends IGeneralNameOptions {\n extension: Extension<NameConstraints>;\n}\n\nexport const NameConstraintsExtension:\nFunctionalComponent<INameConstraintsExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.excludedSubtrees?.map((generalSubtree) => (\n <GeneralNamePart\n generalName={generalSubtree.base}\n {...props}\n />\n ))}\n {extension.value.permittedSubtrees?.map((generalSubtree) => (\n <GeneralNamePart\n generalName={generalSubtree.base}\n {...props}\n />\n ))}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CertificateTemplate } from '@peculiar/asn1-x509-microsoft';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICertificateTemplateExtensionProps {\n extension: Extension<CertificateTemplate>;\n}\n\nexport const CertificateTemplateExtension:\nFunctionalComponent<ICertificateTemplateExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Template ID\"\n value={extension.value.templateID}\n />\n <RowValue\n name=\"Template Major Version\"\n value={extension.value.templateMajorVersion}\n />\n <RowValue\n name=\"Template Minor Version\"\n value={extension.value.templateMinorVersion}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { EnrollCertTypeChoice } from '@peculiar/asn1-x509-microsoft';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IEnrollCertTypeChoiceExtensionProps {\n extension: Extension<EnrollCertTypeChoice>;\n}\n\nexport const EnrollCertTypeChoiceExtension:\nFunctionalComponent<IEnrollCertTypeChoiceExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Name\"\n value={extension.value.toString()}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CaVersion } from '@peculiar/asn1-x509-microsoft';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICaVersionExtensionProps {\n extension: Extension<CaVersion>;\n}\n\nexport const CaVersionExtension: FunctionalComponent<ICaVersionExtensionProps> = (props) => {\n const { extension } = props;\n const version = extension.value.getVersion();\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Certificate Index\"\n value={version.certificateIndex}\n />\n <RowValue\n name=\"Key Index\"\n value={version.keyIndex}\n />\n </BasicExtension>\n );\n};\n","var PdsLocations_1, QcEuPDS_1, QcType_1, QcCClegislation_1;\nimport { __decorate } from \"tslib\";\nimport { AsnArray, AsnProp, AsnPropTypes, AsnType, AsnTypeTypes } from \"@peculiar/asn1-schema\";\nlet Iso4217CurrencyCode = class Iso4217CurrencyCode {\n constructor(value) {\n if (typeof value === \"string\") {\n this.alphabetic = value;\n }\n else if (typeof value === \"number\") {\n this.numeric = value;\n }\n }\n};\n__decorate([\n AsnProp({ type: AsnPropTypes.PrintableString })\n], Iso4217CurrencyCode.prototype, \"alphabetic\", void 0);\n__decorate([\n AsnProp({ type: AsnPropTypes.PrintableString })\n], Iso4217CurrencyCode.prototype, \"numeric\", void 0);\nIso4217CurrencyCode = __decorate([\n AsnType({ type: AsnTypeTypes.Choice })\n], Iso4217CurrencyCode);\nexport { Iso4217CurrencyCode };\nexport class MonetaryValue {\n constructor(params = {}) {\n this.currency = new Iso4217CurrencyCode();\n this.amount = 0;\n this.exponent = 0;\n Object.assign(this, params);\n }\n}\n__decorate([\n AsnProp({ type: Iso4217CurrencyCode })\n], MonetaryValue.prototype, \"currency\", void 0);\n__decorate([\n AsnProp({ type: AsnPropTypes.Integer })\n], MonetaryValue.prototype, \"amount\", void 0);\n__decorate([\n AsnProp({ type: AsnPropTypes.Integer })\n], MonetaryValue.prototype, \"exponent\", void 0);\nlet QcEuLimitValue = class QcEuLimitValue extends MonetaryValue {\n};\nQcEuLimitValue = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence })\n], QcEuLimitValue);\nexport { QcEuLimitValue };\nlet QcEuRetentionPeriod = class QcEuRetentionPeriod {\n constructor(value = 0) {\n this.value = value;\n }\n};\n__decorate([\n AsnProp({ type: AsnPropTypes.Integer })\n], QcEuRetentionPeriod.prototype, \"value\", void 0);\nQcEuRetentionPeriod = __decorate([\n AsnType({ type: AsnTypeTypes.Choice })\n], QcEuRetentionPeriod);\nexport { QcEuRetentionPeriod };\nlet PdsLocation = class PdsLocation {\n constructor(params = {}) {\n this.url = \"\";\n this.language = \"\";\n Object.assign(this, params);\n }\n};\n__decorate([\n AsnProp({ type: AsnPropTypes.IA5String })\n], PdsLocation.prototype, \"url\", void 0);\n__decorate([\n AsnProp({ type: AsnPropTypes.PrintableString })\n], PdsLocation.prototype, \"language\", void 0);\nPdsLocation = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence })\n], PdsLocation);\nexport { PdsLocation };\nlet PdsLocations = PdsLocations_1 = class PdsLocations extends AsnArray {\n constructor(items) {\n super(items);\n Object.setPrototypeOf(this, PdsLocations_1.prototype);\n }\n};\nPdsLocations = PdsLocations_1 = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence, itemType: PdsLocation })\n], PdsLocations);\nexport { PdsLocations };\nlet QcEuPDS = QcEuPDS_1 = class QcEuPDS extends PdsLocations {\n constructor(items) {\n super(items);\n Object.setPrototypeOf(this, QcEuPDS_1.prototype);\n }\n};\nQcEuPDS = QcEuPDS_1 = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence, itemType: PdsLocation })\n], QcEuPDS);\nexport { QcEuPDS };\nlet QcType = QcType_1 = class QcType extends AsnArray {\n constructor(items) {\n super(items);\n Object.setPrototypeOf(this, QcType_1.prototype);\n }\n};\nQcType = QcType_1 = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.ObjectIdentifier })\n], QcType);\nexport { QcType };\nlet QcCClegislation = QcCClegislation_1 = class QcCClegislation extends AsnArray {\n constructor(items) {\n super(items);\n Object.setPrototypeOf(this, QcCClegislation_1.prototype);\n }\n};\nQcCClegislation = QcCClegislation_1 = __decorate([\n AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.PrintableString })\n], QcCClegislation);\nexport { QcCClegislation };\nexport const id_etsi_qcs = \"0.4.0.1862.1\";\nexport const id_etsi_qcs_qcCompliance = `${id_etsi_qcs}.1`;\nexport const id_etsi_qcs_qcLimitValue = `${id_etsi_qcs}.2`;\nexport const id_etsi_qcs_qcRetentionPeriod = `${id_etsi_qcs}.3`;\nexport const id_etsi_qcs_qcSSCD = `${id_etsi_qcs}.4`;\nexport const id_etsi_qcs_qcPDS = `${id_etsi_qcs}.5`;\nexport const id_etsi_qcs_qcType = `${id_etsi_qcs}.6`;\nexport const id_etsi_qcs_qcCClegislation = `${id_etsi_qcs}.7`;\nexport const id_etsi_qct_esign = `${id_etsi_qcs_qcType}.1`;\nexport const id_etsi_qct_eseal = `${id_etsi_qcs_qcType}.2`;\nexport const id_etsi_qct_web = `${id_etsi_qcs_qcType}.3`;\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport {\n QCStatements,\n id_qcs_pkixQCSyntax_v2,\n SemanticsInformation,\n} from '@peculiar/asn1-x509-qualified';\nimport {\n id_etsi_qcs_qcType,\n QcType,\n id_etsi_qcs_qcPDS,\n PdsLocations,\n id_etsi_qcs_qcRetentionPeriod,\n QcEuRetentionPeriod,\n} from '@peculiar/asn1-x509-qualified-etsi';\nimport { AsnParser } from '@peculiar/asn1-schema';\nimport { Convert } from 'pvtsutils';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IQCStatementsExtensionProps {\n extension: Extension<QCStatements>;\n}\n\nexport const QCStatementsExtension: FunctionalComponent<IQCStatementsExtensionProps> = (props) => {\n const { extension } = props;\n\n function renderStatementInfo(statementId: string, statementInfo: ArrayBuffer) {\n if (!statementInfo.byteLength) {\n return null;\n }\n\n if (statementId === id_qcs_pkixQCSyntax_v2) {\n const semanticsInformation = AsnParser.parse(statementInfo, SemanticsInformation);\n\n return (\n <RowValue\n name=\"Semantics Identifier\"\n value={getStringByOID(semanticsInformation.semanticsIdentifier)}\n />\n );\n }\n\n if (statementId === id_etsi_qcs_qcType) {\n const qcTypes = AsnParser.parse(statementInfo, QcType);\n\n return (\n <RowValue\n name=\"QC Types\"\n value={qcTypes.map((type) => getStringByOID(type)).join(', ')}\n />\n );\n }\n\n if (statementId === id_etsi_qcs_qcRetentionPeriod) {\n const retentionPeriod = AsnParser.parse(statementInfo, QcEuRetentionPeriod);\n\n return (\n <RowValue\n name=\"Retention Period\"\n value={`${retentionPeriod.value} years`}\n />\n );\n }\n\n if (statementId === id_etsi_qcs_qcPDS) {\n const pdsLocations = AsnParser.parse(statementInfo, PdsLocations);\n\n return ([\n <RowValue\n name=\"PDS Locations\"\n value=\"\"\n />,\n pdsLocations.map((location) => (\n <TableRowTable>\n <RowValue\n name=\"URL\"\n value={location.url}\n />\n <RowValue\n name=\"Language\"\n value={location.language}\n />\n </TableRowTable>\n )),\n ]);\n }\n\n return (\n <RowValue\n name=\"Info\"\n value={Convert.ToHex(statementInfo)}\n monospace\n />\n );\n }\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Statements\"\n value=\"\"\n />,\n extension.value.map((statement) => (\n <TableRowTable>\n <RowValue\n name=\"Statement ID\"\n value={getStringByOID(statement.statementId)}\n />\n {renderStatementInfo(statement.statementId, statement.statementInfo)}\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { NetscapeComment } from '@peculiar/asn1-x509-netscape';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface INetscapeCommentExtensionProps {\n extension: Extension<NetscapeComment>;\n}\n\nexport const NetscapeCommentExtension:\nFunctionalComponent<INetscapeCommentExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Comment\"\n value={extension.value.value}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { NetscapeCertType } from '@peculiar/asn1-x509-netscape';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface INetscapeCertTypeExtensionProps {\n extension: Extension<NetscapeCertType>;\n}\n\nexport const NetscapeCertTypeExtension:\nFunctionalComponent<INetscapeCertTypeExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Type\"\n value={extension.value.toJSON().join(', ')}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { LeiRole } from '@peculiar/asn1-lei';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ILeiRoleExtensionProps {\n extension: Extension<LeiRole>;\n}\n\nexport const LeiRoleExtension: FunctionalComponent<ILeiRoleExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Role\"\n value={extension.value.text}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { LeiChoice } from '@peculiar/asn1-lei';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ILeiExtensionProps extends ILeiOptions {\n extension: Extension<LeiChoice>;\n}\n\nexport const LeiExtension: FunctionalComponent<ILeiExtensionProps> = (props) => {\n const { extension, getLEILink } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Identifier\"\n value={extension.value.text}\n href={getLEILink(extension.value.text)}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { Timestamp } from '@peculiar/asn1-adobe-acrobat';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\nimport { l10n } from '../../../utils';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface ITimestampExtensionProps extends IGeneralNameOptions {\n extension: Extension<Timestamp>;\n}\n\nexport const TimestampExtension: FunctionalComponent<ITimestampExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Version\"\n value={extension.value.version}\n />\n <GeneralNamePart\n generalName={extension.value.location}\n {...props}\n />\n <RowValue\n name=\"Requires Auth\"\n value={extension.value.requiresAuth ? l10n.getString('yes') : l10n.getString('no')}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { ArchiveRevInfo } from '@peculiar/asn1-adobe-acrobat';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IArchiveRevInfoExtensionProps {\n extension: Extension<ArchiveRevInfo>;\n}\n\nexport const ArchiveRevInfoExtension:\nFunctionalComponent<IArchiveRevInfoExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Version\"\n value={extension.value.version}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CRLReason } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICRLReasonExtensionProps {\n extension: Extension<CRLReason>;\n}\n\nexport const CRLReasonExtension: FunctionalComponent<ICRLReasonExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Reason\"\n value={extension.value.toJSON()}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Convert } from 'pvtsutils';\nimport { Attribute } from '@peculiar/asn1-x509';\n\nexport function getAttributeValue(attribute: Attribute) {\n return Convert.ToString(attribute.values[0]);\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { SubjectDirectoryAttributes } from '@peculiar/asn1-x509';\n\nimport { Extension } from '../../../crypto/extension';\nimport { getStringByOID } from '../../../utils';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\nimport { getAttributeValue } from './attribute_value';\n\ninterface ISubjectDirectoryAttributesExtensionProps {\n extension: Extension<SubjectDirectoryAttributes>;\n}\n\nexport const SubjectDirectoryAttributesExtension:\nFunctionalComponent<ISubjectDirectoryAttributesExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Attributes\"\n value=\"\"\n />,\n extension.value.map((attribute) => (\n <TableRowTable>\n <RowValue\n name=\"Type\"\n value={getStringByOID(attribute.type)}\n />\n <RowValue\n name=\"Value\"\n value={getAttributeValue(attribute)}\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IAsStringExtensionProps {\n extension: Extension<string>;\n}\n\nexport const AsStringExtension: FunctionalComponent<IAsStringExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Value\"\n value={extension.value}\n monospace\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { PrivateKeyUsagePeriod } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\nimport { dateShort } from '../../../utils';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IPrivateKeyUsagePeriodExtensionProps {\n extension: Extension<PrivateKeyUsagePeriod>;\n}\n\nexport const PrivateKeyUsagePeriodExtension:\nFunctionalComponent<IPrivateKeyUsagePeriodExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Not Before\"\n value={dateShort(extension.value.notBefore)}\n />\n <RowValue\n name=\"Not After\"\n value={dateShort(extension.value.notAfter)}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { EntrustVersionInfo } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IEntrustVersionInfoExtensionProps {\n extension: Extension<EntrustVersionInfo>;\n}\n\nexport const EntrustVersionInfoExtension:\nFunctionalComponent<IEntrustVersionInfoExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name=\"Version\"\n value={extension.value.entrustVers}\n />\n <RowValue\n name=\"Info Flags\"\n value={extension.value.entrustInfoFlags.toJSON().join(', ')}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { BiometricSyntax } from '@peculiar/asn1-x509-qualified';\nimport { Convert } from 'pvtsutils';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue, TableRowTable } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IBiometricSyntaxExtensionProps {\n extension: Extension<BiometricSyntax>;\n}\n\nexport const BiometricSyntaxExtension:\nFunctionalComponent<IBiometricSyntaxExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {Boolean(extension.value.length) && ([\n <RowValue\n name=\"Biometrics\"\n value=\"\"\n />,\n extension.value.map((data) => (\n <TableRowTable>\n <RowValue\n name=\"OID\"\n value={getStringByOID(data.typeOfBiometricData.biometricDataOid)}\n />\n <RowValue\n name=\"Type\"\n value={data.typeOfBiometricData.predefinedBiometricType}\n />\n <RowValue\n name=\"Algorithm\"\n value={getStringByOID(data.hashAlgorithm.algorithm)}\n />\n <RowValue\n name=\"Hash\"\n value={Convert.ToHex(data.biometricDataHash.buffer)}\n monospace\n />\n <RowValue\n name=\"Source Uri\"\n value={data.sourceDataUri}\n />\n </TableRowTable>\n )),\n ])}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport {\n LogotypeExtn,\n LogotypeInfo,\n LogotypeImage,\n LogotypeAudio,\n} from '@peculiar/asn1-x509-logotype';\nimport { Convert } from 'pvtsutils';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ILogotypeExtensionProps {\n extension: Extension<LogotypeExtn>;\n}\n\nexport const LogotypeExtension: FunctionalComponent<ILogotypeExtensionProps> = (props) => {\n const { extension } = props;\n\n const renderImage = (image?: LogotypeImage[]) => {\n if (!image) {\n return null;\n }\n\n return image.map((img) => {\n const { imageDetails } = img;\n\n return [\n <RowValue\n name=\"Image Type\"\n value={imageDetails.mediaType}\n />,\n <RowValue\n name=\"Image Hash\"\n value={Convert.ToHex(imageDetails.logotypeHash[0].hashValue)}\n monospace\n />,\n <RowValue\n name=\"Image URL\"\n value={imageDetails.logotypeURI[0]}\n monospace\n collapse\n />,\n <RowValue\n name=\"Image Hash Algorithm\"\n value={getStringByOID(imageDetails.logotypeHash[0].hashAlg.algorithm)}\n />,\n ];\n });\n };\n\n const renderAudio = (audio?: LogotypeAudio[]) => {\n if (!audio) {\n return null;\n }\n\n return audio.map((aud) => {\n const { audioDetails } = aud;\n\n return [\n <RowValue\n name=\"Audio Type\"\n value={audioDetails.mediaType}\n />,\n <RowValue\n name=\"Audio Hash\"\n value={Convert.ToHex(audioDetails.logotypeHash[0].hashValue)}\n monospace\n />,\n <RowValue\n name=\"Audio URL\"\n value={audioDetails.logotypeURI[0]}\n monospace\n collapse\n />,\n <RowValue\n name=\"Audio Hash Algorithm\"\n value={getStringByOID(audioDetails.logotypeHash[0].hashAlg.algorithm)}\n />,\n ];\n });\n };\n\n const renderLogo = (title: string, info?: LogotypeInfo) => {\n if (!info || !info.direct) {\n return null;\n }\n\n const { image, audio } = info.direct;\n\n return [\n <RowValue\n name=\"Type\"\n value={title}\n />,\n renderImage(image),\n renderAudio(audio),\n <tr>\n <td />\n <td />\n </tr>,\n ];\n };\n\n return (\n <BasicExtension\n extension={extension}\n >\n {renderLogo('Subject', extension.value.subjectLogo)}\n {renderLogo('Issuer', extension.value.issuerLogo)}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { TNAuthorizationList } from '@peculiar/asn1-rfc8226';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ITNAuthListExtensionProps {\n extension: Extension<TNAuthorizationList>;\n}\n\nexport const TNAuthListExtension: FunctionalComponent<ITNAuthListExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.map((entry, arrayIndex) => ([\n <RowValue\n name={`Entry #${arrayIndex + 1}`}\n value=\"\"\n />,\n <RowValue\n name=\"SPC\"\n value={entry.spc}\n />,\n <RowValue\n name=\"Range\"\n value={entry.range ? `start=${entry.range.start} count==${entry.range.count}` : null}\n />,\n <RowValue\n name=\"One\"\n value={entry.one}\n />,\n ]))}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { PolicyConstraints } from '@peculiar/asn1-x509';\nimport { AsnIntegerArrayBufferConverter } from '@peculiar/asn1-schema';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IPolicyConstraintsExtensionProps {\n extension: Extension<PolicyConstraints>;\n}\n\nexport const PolicyConstraintsExtension:\nFunctionalComponent<IPolicyConstraintsExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.requireExplicitPolicy && (\n <RowValue\n name=\"Require Explicit Policy\"\n value={AsnIntegerArrayBufferConverter.toASN(\n extension.value.requireExplicitPolicy,\n ).valueBlock.toString()}\n />\n )}\n {extension.value.inhibitPolicyMapping && (\n <RowValue\n name=\"Inhibit Policy Mapping\"\n value={AsnIntegerArrayBufferConverter.toASN(\n extension.value.inhibitPolicyMapping,\n ).valueBlock.toString()}\n />\n )}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { PolicyMappings } from '@peculiar/asn1-x509';\n\nimport { getStringByOID } from '../../../utils';\nimport { Extension } from '../../../crypto/extension';\nimport { RowValue } from '../row';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface IPolicyMappingsExtensionProps {\n extension: Extension<PolicyMappings>;\n}\n\nexport const PolicyMappingsExtension:\nFunctionalComponent<IPolicyMappingsExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.map((policy, arrayIndex) => ([\n <RowValue\n name={`Policy #${arrayIndex + 1}`}\n value=\"\"\n />,\n <RowValue\n name=\"Issuer Domain\"\n value={getStringByOID(policy.issuerDomainPolicy)}\n />,\n <RowValue\n name=\"Subject Domain\"\n value={getStringByOID(policy.subjectDomainPolicy)}\n />,\n ]))}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { CRLNumber } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\nimport { l10n } from '../../../utils';\n\nimport { BasicExtension } from './basic_extension';\n\ninterface ICRLNumberExtensionProps {\n extension: Extension<CRLNumber>;\n}\n\nexport const CRLNumberExtension: FunctionalComponent<ICRLNumberExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n <RowValue\n name={l10n.getString('value')}\n value={extension.value.value}\n />\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { IssuingDistributionPoint } from '@peculiar/asn1-x509';\n\nimport { RowValue } from '../row';\nimport { Extension } from '../../../crypto/extension';\nimport { l10n } from '../../../utils';\n\nimport { BasicExtension } from './basic_extension';\nimport { GeneralNamePart } from './general_name_part';\n\ninterface IIssuingDistributionPointExtensionProps extends IGeneralNameOptions {\n extension: Extension<IssuingDistributionPoint>;\n}\n\n// eslint-disable-next-line max-len\nexport const IssuingDistributionPointExtension: FunctionalComponent<IIssuingDistributionPointExtensionProps> = (props) => {\n const { extension } = props;\n\n return (\n <BasicExtension\n extension={extension}\n >\n {extension.value.distributionPoint?.fullName.map((gn) => (\n <GeneralNamePart\n generalName={gn}\n {...props}\n />\n ))}\n {extension.value.onlySomeReasons && (\n <RowValue\n name={l10n.getString('onlyReasons')}\n value={extension.value.onlySomeReasons.toJSON().join(', ')}\n />\n )}\n {extension.value.indirectCRL && (\n <RowValue\n name={l10n.getString('indirectCRL')}\n value={l10n.getString('yes')}\n />\n )}\n {extension.value.onlyContainsUserCerts && (\n <RowValue\n name={l10n.getString('onlyUserCertificates')}\n value={l10n.getString('yes')}\n />\n )}\n {extension.value.onlyContainsAttributeCerts && (\n <RowValue\n name={l10n.getString('onlyAttributeCertificates')}\n value={l10n.getString('yes')}\n />\n )}\n {extension.value.onlyContainsCACerts && (\n <RowValue\n name={l10n.getString('onlyCACertificates')}\n value={l10n.getString('yes')}\n />\n )}\n </BasicExtension>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\nimport {\n KeyUsage,\n BasicConstraints,\n ExtendedKeyUsage,\n SubjectKeyIdentifier,\n AuthorityKeyIdentifier,\n CRLDistributionPoints,\n AuthorityInfoAccessSyntax,\n SubjectAlternativeName,\n CertificatePolicies,\n NameConstraints,\n CRLReason,\n CRLNumber,\n SubjectDirectoryAttributes,\n PrivateKeyUsagePeriod,\n EntrustVersionInfo,\n PolicyConstraints,\n PolicyMappings,\n SubjectInfoAccessSyntax,\n IssuingDistributionPoint,\n} from '@peculiar/asn1-x509';\nimport { CertificateTransparency } from '@peculiar/asn1-cert-transparency';\nimport {\n CertificateTemplate,\n EnrollCertTypeChoice,\n CaVersion,\n} from '@peculiar/asn1-x509-microsoft';\nimport { QCStatements, BiometricSyntax } from '@peculiar/asn1-x509-qualified';\nimport { NetscapeComment, NetscapeCertType } from '@peculiar/asn1-x509-netscape';\nimport { LeiRole, LeiChoice } from '@peculiar/asn1-lei';\nimport { Timestamp, ArchiveRevInfo } from '@peculiar/asn1-adobe-acrobat';\nimport { LogotypeExtn } from '@peculiar/asn1-x509-logotype';\nimport { TNAuthorizationList } from '@peculiar/asn1-rfc8226';\n\nimport { RowTitle } from '../row';\nimport { Extension, TExtensionValue } from '../../../crypto/extension';\n\nimport { KeyUsageExtension } from './key_usage_extension';\nimport { BasicConstraintsExtension } from './basic_constraints_extension';\nimport { ExtendedKeyUsageExtension } from './extended_key_usage_extension';\nimport { SubjectKeyIdentifierExtension } from './subject_key_identifier_extension';\nimport { AuthorityKeyIdentifierExtension } from './authority_key_identifier_extension';\nimport { CRLDistributionPointsExtension } from './crl_distribution_points_extension';\nimport { InfoAccessSyntaxExtension } from './info_access_syntax_extension';\nimport { SubjectAlternativeNameExtension } from './subject_alternative_name_extension';\nimport { CertificatePoliciesExtension } from './certificate_policies_extension';\nimport { CertificateTransparencyExtension } from './certificate_transparency_extension';\nimport { NameConstraintsExtension } from './name_constraints_extension';\nimport { CertificateTemplateExtension } from './certificate_template_extension';\nimport { EnrollCertTypeChoiceExtension } from './enroll_cert_type_extension';\nimport { CaVersionExtension } from './ca_version_extension';\nimport { QCStatementsExtension } from './qc_statements_extension';\nimport { NetscapeCommentExtension } from './netscape_comment_extension';\nimport { NetscapeCertTypeExtension } from './netscape_cert_type_extension';\nimport { LeiRoleExtension } from './lei_role_extennsion';\nimport { LeiExtension } from './lei_extension';\nimport { TimestampExtension } from './timestamp_extension';\nimport { ArchiveRevInfoExtension } from './archive_rev_info_extension';\nimport { CRLReasonExtension } from './crl_reason_extension';\nimport { SubjectDirectoryAttributesExtension } from './subject_directory_attributes_extension';\nimport { AsStringExtension } from './as_string_extension';\nimport { BasicExtension } from './basic_extension';\nimport { PrivateKeyUsagePeriodExtension } from './private_key_usage_period_extension';\nimport { EntrustVersionInfoExtension } from './entrust_version_info_extension';\nimport { BiometricSyntaxExtension } from './biometric_syntax_extension';\nimport { LogotypeExtension } from './logotype_extension';\nimport { TNAuthListExtension } from './tn_auth_list_extension';\nimport { PolicyConstraintsExtension } from './policy_constraints_extension';\nimport { PolicyMappingsExtension } from './policy_mappings_extension';\nimport { CRLNumberExtension } from './crl_number_extension';\nimport { IssuingDistributionPointExtension } from './issuing_distribution_point_extension';\n\ninterface IExtensionsProps extends\n IGeneralNameOptions,\n ILeiOptions,\n IAuthorityKeyIdentifierOptions,\n ISubjectKeyIdentifierOptions {\n extensions: Extension<TExtensionValue>[];\n title?: string;\n}\n\nexport const Extensions: FunctionalComponent<IExtensionsProps> = (props) => {\n const { extensions, title } = props;\n\n if (!extensions || !extensions.length) {\n return null;\n }\n\n return ([\n <RowTitle\n value={title || 'Extensions'}\n />,\n extensions.map((extension) => {\n try {\n if (extension.value instanceof KeyUsage) {\n return (\n <KeyUsageExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof BasicConstraints) {\n return (\n <BasicConstraintsExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof ExtendedKeyUsage) {\n return (\n <ExtendedKeyUsageExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof SubjectKeyIdentifier) {\n return (\n <SubjectKeyIdentifierExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof AuthorityKeyIdentifier) {\n return (\n <AuthorityKeyIdentifierExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof CRLDistributionPoints) {\n return (\n <CRLDistributionPointsExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (\n extension.value instanceof AuthorityInfoAccessSyntax\n || extension.value instanceof SubjectInfoAccessSyntax\n ) {\n return (\n <InfoAccessSyntaxExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof SubjectAlternativeName) {\n return (\n <SubjectAlternativeNameExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof CertificatePolicies) {\n return (\n <CertificatePoliciesExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof CertificateTransparency) {\n return (\n <CertificateTransparencyExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof NameConstraints) {\n return (\n <NameConstraintsExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof CertificateTemplate) {\n return (\n <CertificateTemplateExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof EnrollCertTypeChoice) {\n return (\n <EnrollCertTypeChoiceExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof CaVersion) {\n return (\n <CaVersionExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof QCStatements) {\n return (\n <QCStatementsExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof NetscapeComment) {\n return (\n <NetscapeCommentExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof NetscapeCertType) {\n return (\n <NetscapeCertTypeExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof LeiRole) {\n return (\n <LeiRoleExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof LeiChoice) {\n return (\n <LeiExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof Timestamp) {\n return (\n <TimestampExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (extension.value instanceof ArchiveRevInfo) {\n return (\n <ArchiveRevInfoExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof CRLReason) {\n return (\n <CRLReasonExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof SubjectDirectoryAttributes) {\n return (\n <SubjectDirectoryAttributesExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof PrivateKeyUsagePeriod) {\n return (\n <PrivateKeyUsagePeriodExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof EntrustVersionInfo) {\n return (\n <EntrustVersionInfoExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof BiometricSyntax) {\n return (\n <BiometricSyntaxExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof LogotypeExtn) {\n return (\n <LogotypeExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof TNAuthorizationList) {\n return (\n <TNAuthListExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof PolicyConstraints) {\n return (\n <PolicyConstraintsExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof PolicyMappings) {\n return (\n <PolicyMappingsExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof CRLNumber) {\n return (\n <CRLNumberExtension\n extension={extension as any}\n />\n );\n }\n\n if (extension.value instanceof IssuingDistributionPoint) {\n return (\n <IssuingDistributionPointExtension\n extension={extension as any}\n {...props}\n />\n );\n }\n\n if (typeof extension.value === 'string') {\n return (\n <AsStringExtension\n extension={extension as any}\n />\n );\n }\n\n return (\n <BasicExtension\n extension={extension}\n />\n );\n } catch (error) {\n console.error('Error render extension:', extension.asn.extnID);\n\n return null;\n }\n }),\n ]);\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { h, FunctionalComponent } from '@stencil/core';\n\nimport {\n X509Certificate,\n X509AttributeCertificate,\n CSR,\n CRL,\n} from '../../crypto';\nimport { l10n } from '../../utils';\nimport { Button } from '../button';\nimport { DownloadIcon } from '../icons';\nimport { RowTitle } from './row';\n\ntype CertificateType = X509Certificate | X509AttributeCertificate | CSR | CRL;\n\ninterface IMiscellaneousProps {\n certificate: CertificateType;\n}\n\nexport const Miscellaneous: FunctionalComponent<IMiscellaneousProps> = (props) => {\n const { certificate } = props;\n\n return [\n <RowTitle\n value={l10n.getString('miscellaneous')}\n />,\n <tr>\n <td>\n <Button\n onClick={() => certificate.downloadAsPEM()}\n startIcon={<DownloadIcon />}\n >\n {l10n.getString('download.pem')}\n </Button>\n </td>\n </tr>,\n <tr>\n <td>\n <Button\n onClick={() => certificate.downloadAsDER()}\n startIcon={<DownloadIcon />}\n >\n {l10n.getString('download.der')}\n </Button>\n </td>\n </tr>,\n ];\n};\n"],"mappings":";;;;;;;;;;YAUgBA,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A,GACP7D,G,CAKV,UAAW6D,EAAU/E,QAAU,SAAU,CACvC,OACEe,EAACwQ,kBAAiB,CAChBxM,UAAWA,G,CAKjB,OACEhE,EAAC+D,eAAc,CACbC,UAAWA,G,CAGf,MAAO8C,GACPoP,QAAQpP,MAAM,0BAA2B9C,EAAUC,IAAIC,QAEvD,OAAO,I,KAIf;;;;;;;OC5WaiS,cAA0D,SAAChW,GAC9D,IAAAiW,EAAgBjW,EAAKiW,YAE7B,MAAO,CACLpW,EAACE,SAAQ,CACPjB,MAAO2C,KAAKC,UAAU,mBAExB7B,EAAA,UACEA,EAAA,UACEA,EAACqW,OAAM,CACLC,QAAS,WAAM,OAAAF,EAAYG,eAAZ,EACfC,UAAWxW,EAACyW,aAAY,OAEvB7U,KAAKC,UAAU,mBAItB7B,EAAA,UACEA,EAAA,UACEA,EAACqW,OAAM,CACLC,QAAS,WAAM,OAAAF,EAAYM,eAAZ,EACfF,UAAWxW,EAACyW,aAAY,OAEvB7U,KAAKC,UAAU,mBAK1B,S"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,r,a){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function n(e){try{c(a.next(e))}catch(e){o(e)}}function s(e){try{c(a["throw"](e))}catch(e){o(e)}}function c(e){e.done?r(e.value):i(e.value).then(n,s)}c((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,i,o,n;return n={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(t){return c([e,t])}}function c(s){if(a)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(r=0)),r)try{if(a=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];i=0}finally{a=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* © Peculiar Ventures https://peculiarventures.com/ - MIT License
|
|
4
|
+
*/import{h,r as registerInstance,H as Host}from"./index-4079bbb5.js";import{a1 as OIDs,$ as l10n,a2 as Name,H as ActivityDescription,W as WebGDPR,I as InsuranceValue,T as TypeRelationship,V as ValuationRanking,U as UnstructuredName,z as ChallengePassword,a0 as dateShort,a3 as CRLReason,a4 as InvalidityDate,a5 as CertificateIssuer}from"./certification_request-5cadde9f.js";import{b as build}from"./download-57c5bf8f.js";import{X as X509AttributeCertificate,a as CRL,C as CSR}from"./crl-11670c3e.js";import{g as getStringByOID,R as RowValue,G as GeneralNamePart,a as RowTitle,T as TableRowTable,B as BasicInformation,S as Signature,b as Thumbprints,c as getLEILink,d as getDNSNameLink,e as getIPAddressLink,E as Extensions,M as Miscellaneous,I as IssuerName,f as SubjectName,P as PublicKey}from"./miscellaneous-7793a310.js";import{T as Typography}from"./button-35146bdd.js";import"./link-ad24c3be.js";import"./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
|
+
*/var BasicAttribute=function(e,t){var r=e.attribute;return[h(RowValue,{name:"Name",value:getStringByOID(r.asn.type)}),t,h("tr",null,h("td",{colSpan:2,class:"divider"},h("span",null)))]};
|
|
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 NamePart=function(e){var t=e.name;if(!t){return null}return t.map((function(e){return e.map((function(e){return h(RowValue,{name:OIDs[e.type]||e.type,value:e.value.toString()})}))}))};
|
|
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
|
+
*/var NameAttribute=function(e){var t=e.attribute;return h(BasicAttribute,{attribute:t},h(NamePart,{name:t.value}))};
|
|
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 ActivityDescriptionAttribute=function(e){var t=e.attribute;return h(BasicAttribute,{attribute:t},h(RowValue,{name:"Code Authority",value:""}),h(GeneralNamePart,{generalName:t.value.codeAuthority,getDNSNameLink:function(){return""},getIPAddressLink:function(){return""}}),h(RowValue,{name:"Code Id",value:""}),h(GeneralNamePart,{generalName:t.value.codeId,getDNSNameLink:function(){return""},getIPAddressLink:function(){return""}}),h(RowValue,{name:"Short Name",value:t.value.shortName}),h(RowValue,{name:"Short Description",value:t.value.shortDescription}))};
|
|
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 WebGdprAttribute=function(e){var t=e.attribute;return h(BasicAttribute,{attribute:t},h(RowValue,{name:"Assessment Authority",value:""}),h(GeneralNamePart,{generalName:t.value.assessmentAuthority,getDNSNameLink:function(){return""},getIPAddressLink:function(){return""}}),h(RowValue,{name:"Assessment Location",value:""}),h(GeneralNamePart,{generalName:t.value.assessmentLocation,getDNSNameLink:function(){return""},getIPAddressLink:function(){return""}}),h(RowValue,{name:"Assessment Ref",value:""}),h(GeneralNamePart,{generalName:t.value.assessmentRef,getDNSNameLink:function(){return""},getIPAddressLink:function(){return""}}),h(RowValue,{name:"Data Storage Territory",value:t.value.dataStorageTerritory}),h(RowValue,{name:"Description",value:t.value.description}))};
|
|
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 InsuranceValueAttribute=function(e){var t=e.attribute;var r="".concat(t.value.base," * 10^").concat(t.value.degree," ").concat(t.value.location);return h(BasicAttribute,{attribute:t},h(RowValue,{name:"Value",value:r}))};
|
|
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
|
+
*/var TypeRelationshipAttribute=function(e){var t=e.attribute;return h(BasicAttribute,{attribute:t},Object.keys(t.value).map((function(e){return h(RowValue,{name:e,value:t.value[e].toNumber()?l10n.getString("yes"):l10n.getString("no")})})))};
|
|
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 getValueRank=function(e){var t=1;if(e/100>1){t=100}else if(e/10>1){t=10}return"".concat(e,"/").concat(5*t)};var ValuationRankingAttribute=function(e){var t=e.attribute;var r=Object.keys(t.value).map((function(e){return[getValueRank(t.value[e]),h("br",null)]}));return h(BasicAttribute,{attribute:t},h(RowValue,{name:"Value",value:r}))};
|
|
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 AsStringAttribute=function(e){var t=e.attribute;return h(BasicAttribute,{attribute:t},h(RowValue,{name:"Value",value:t.value,monospace:true}))};
|
|
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 UnstructuredNameAttribute=function(e){var t=e.attribute;return h(BasicAttribute,{attribute:t},h(RowValue,{name:"Value",value:t.value.utf8String}))};
|
|
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 ChallengePasswordAttribute=function(e){var t=e.attribute;return h(BasicAttribute,{attribute:t},h(RowValue,{name:"Value",value:t.value.toString()}))};
|
|
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 Attributes=function(e){var t=e.attributes;if(!t||!t.length){return null}return[h(RowTitle,{value:"Attributes"}),t.map((function(e){try{if(e.value instanceof Name){return h(NameAttribute,{attribute:e})}if(e.value instanceof ActivityDescription){return h(ActivityDescriptionAttribute,{attribute:e})}if(e.value instanceof WebGDPR){return h(WebGdprAttribute,{attribute:e})}if(e.value instanceof InsuranceValue){return h(InsuranceValueAttribute,{attribute:e})}if(e.value instanceof TypeRelationship){return h(TypeRelationshipAttribute,{attribute:e})}if(e.value instanceof ValuationRanking){return h(ValuationRankingAttribute,{attribute:e})}if(e.value instanceof UnstructuredName){return h(UnstructuredNameAttribute,{attribute:e})}if(e.value instanceof ChallengePassword){return h(ChallengePasswordAttribute,{attribute:e})}if(typeof e.value==="string"){return h(AsStringAttribute,{attribute:e})}return h(BasicAttribute,{attribute:e})}catch(t){console.error("Error render attribute:",e.asn.type);return 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 RevokedCertificates=function(e){var t=e.revokedCertificates,r=e.getDNSNameLink,a=e.getIPAddressLink;if(!t||!t.length){return null}return[h(RowTitle,{value:l10n.getString("revokedCertificates")}),t.map((function(e){return[h(RowValue,{name:l10n.getString("serialNumber"),value:build.Convert.ToHex(e.userCertificate),monospace:true}),h(RowValue,{name:l10n.getString("revocationDate"),value:dateShort(e.revocationDate.getTime())}),e.crlEntryExtensions&&e.crlEntryExtensions.length&&[h(RowValue,{name:"".concat(l10n.getString("crlEntryExtensions"),":"),value:""}),h(TableRowTable,null,e.crlEntryExtensions.map((function(e){if(e.value instanceof CRLReason){return h(RowValue,{name:getStringByOID(e.asn.extnID),value:e.value.toJSON()||e.value.reason})}if(e.value instanceof InvalidityDate){return h(RowValue,{name:getStringByOID(e.asn.extnID),value:e.value.value.getTime()})}if(e.value instanceof CertificateIssuer&&e.value.length){return[h(RowValue,{name:"".concat(getStringByOID(e.asn.extnID),":"),value:""}),e.value.map((function(e){return h(TableRowTable,null,h(GeneralNamePart,{generalName:e,getDNSNameLink:r,getIPAddressLink:a}))}))]}return h(RowValue,{name:getStringByOID(e.asn.extnID),value:build.Convert.ToHex(e.asn.extnValue),monospace:true})})))],h("tr",null,h("td",{colSpan:2,class:"divider"},h("span",null)))]}))]};
|
|
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 Holder=function(e){var t=e.holder;if(!t){return null}var r=t.baseCertificateID,a=t.objectDigestInfo;return[h(RowTitle,{value:l10n.getString("holder")}),r&&[r.issuer.map((function(e){return h(GeneralNamePart,{generalName:e,getDNSNameLink:function(){return""},getIPAddressLink:function(){return""}})})),h("tr",null,h("td",null),h("td",null)),h(RowValue,{name:l10n.getString("serialNumber"),value:build.Convert.ToHex(r.serial),monospace:true}),h("tr",null,h("td",null),h("td",null))],a&&[h(RowValue,{name:l10n.getString("digestInfo"),value:""}),h(RowValue,{name:l10n.getString("algorithm"),value:getStringByOID(a.digestAlgorithm.algorithm)}),h(RowValue,{name:l10n.getString("value"),value:build.Convert.ToHex(a.objectDigest),monospace:true}),h(RowValue,{name:l10n.getString("type"),value:a.digestedObjectType})]]};
|
|
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 Issuer=function(e){var t=e.issuer;if(!t){return null}return[h(RowTitle,{value:l10n.getString("issuer")}),t.map((function(e){return h(GeneralNamePart,{generalName:e,getDNSNameLink:function(){return""},getIPAddressLink:function(){return""}})}))]};var certificateViewerCss$2="*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}";var AttributeCertificateViewer=function(){function e(e){var t=this;registerInstance(this,e);this.getAuthKeyIdParentLink=function(e){var r;return(r=t.authKeyIdParentLink)===null||r===void 0?void 0:r.replace("{{authKeyId}}",e)};this.getAuthKeyIdSiblingsLink=function(e){var r;return(r=t.authKeyIdSiblingsLink)===null||r===void 0?void 0:r.replace("{{authKeyId}}",e)};this.getSubjectKeyIdChildrenLink=function(e){var r;return(r=t.subjectKeyIdChildrenLink)===null||r===void 0?void 0:r.replace("{{subjectKeyId}}",e)};this.getSubjectKeyIdSiblingsLink=function(e){var r;return(r=t.subjectKeyIdSiblingsLink)===null||r===void 0?void 0:r.replace("{{subjectKeyId}}",e)};this.certificate=undefined;this.download=undefined;this.authKeyIdParentLink=undefined;this.authKeyIdSiblingsLink=undefined;this.subjectKeyIdChildrenLink=undefined;this.subjectKeyIdSiblingsLink=undefined;this.mobileMediaQueryString="(max-width: 900px)";this.mobileScreenView=false;this.isDecodeInProcess=true}e.prototype.handleMediaQueryChange=function(e){this.mobileScreenView=e.matches};e.prototype.componentWillLoad=function(){this.decodeCertificate(this.certificate);{this.mobileMediaQuery=window.matchMedia(this.mobileMediaQueryString);this.mobileMediaQuery.addEventListener("change",this.handleMediaQueryChange.bind(this));this.mobileScreenView=this.mobileMediaQuery.matches}};e.prototype.disconnectedCallback=function(){this.mobileMediaQuery.removeEventListener("change",this.handleMediaQueryChange.bind(this))};e.prototype.decodeCertificate=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:this.isDecodeInProcess=true;r.label=1;case 1:r.trys.push([1,4,,5]);if(e instanceof X509AttributeCertificate){this.certificateDecoded=e}else if(typeof e==="string"){this.certificateDecoded=new X509AttributeCertificate(e)}else{return[2]}this.certificateDecoded.parseExtensions();this.certificateDecoded.parseAttributes();return[4,this.certificateDecoded.getThumbprint("SHA-1")];case 2:r.sent();return[4,this.certificateDecoded.getThumbprint("SHA-256")];case 3:r.sent();return[3,5];case 4:t=r.sent();this.certificateDecodeError=t;console.error("Error certificate parse:",t);return[3,5];case 5:this.isDecodeInProcess=false;return[2]}}))}))};e.prototype.watchCertificateAndDecode=function(e,t){if(typeof e==="string"&&typeof t==="string"){if(e!==t){this.decodeCertificate(e)}return}if(e instanceof X509AttributeCertificate&&t instanceof X509AttributeCertificate){if(e.serialNumber!==t.serialNumber){this.decodeCertificate(e)}}};e.prototype.renderErrorState=function(){return h("div",{class:"status_wrapper"},h(Typography,null,"There was an error decoding this attribute certificate."))};e.prototype.renderEmptyState=function(){return h("div",{class:"status_wrapper"},h(Typography,null,"There is no attribute certificate available."))};e.prototype.render=function(){if(this.certificateDecodeError){return this.renderErrorState()}if(!this.certificateDecoded){return this.renderEmptyState()}return h(Host,{"data-mobile-screen-view":String(this.mobileScreenView)},h("table",null,h(BasicInformation,Object.assign({},this.certificateDecoded)),h(Issuer,{issuer:this.certificateDecoded.issuer}),h(Holder,{holder:this.certificateDecoded.holder}),h(Signature,{signature:this.certificateDecoded.signature}),h(Thumbprints,{thumbprints:this.certificateDecoded.thumbprints}),h(Attributes,{attributes:this.certificateDecoded.attributes,getLEILink:getLEILink,getDNSNameLink:getDNSNameLink,getIPAddressLink:getIPAddressLink,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),h(Extensions,{extensions:this.certificateDecoded.extensions,getLEILink:getLEILink,getDNSNameLink:getDNSNameLink,getIPAddressLink:getIPAddressLink,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),this.download&&h(Miscellaneous,{certificate:this.certificateDecoded})))};Object.defineProperty(e,"watchers",{get:function(){return{certificate:["watchCertificateAndDecode"]}},enumerable:false,configurable:true});return e}();AttributeCertificateViewer.style=certificateViewerCss$2;var certificateViewerCss$1="*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}";var CrlViewer=function(){function e(e){var t=this;registerInstance(this,e);this.getAuthKeyIdParentLink=function(e){var r;return(r=t.authKeyIdParentLink)===null||r===void 0?void 0:r.replace("{{authKeyId}}",e)};this.getAuthKeyIdSiblingsLink=function(e){var r;return(r=t.authKeyIdSiblingsLink)===null||r===void 0?void 0:r.replace("{{authKeyId}}",e)};this.certificate=undefined;this.download=undefined;this.authKeyIdParentLink=undefined;this.authKeyIdSiblingsLink=undefined;this.issuerDnLink=undefined;this.mobileMediaQueryString="(max-width: 900px)";this.mobileScreenView=false;this.isDecodeInProcess=true}e.prototype.handleMediaQueryChange=function(e){this.mobileScreenView=e.matches};e.prototype.componentWillLoad=function(){this.decodeCertificate(this.certificate);{this.mobileMediaQuery=window.matchMedia(this.mobileMediaQueryString);this.mobileMediaQuery.addEventListener("change",this.handleMediaQueryChange.bind(this));this.mobileScreenView=this.mobileMediaQuery.matches}};e.prototype.disconnectedCallback=function(){this.mobileMediaQuery.removeEventListener("change",this.handleMediaQueryChange.bind(this))};e.prototype.decodeCertificate=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:this.isDecodeInProcess=true;r.label=1;case 1:r.trys.push([1,4,,5]);if(e instanceof CRL){this.certificateDecoded=e}else if(typeof e==="string"){this.certificateDecoded=new CRL(e)}else{return[2]}this.certificateDecoded.parseExtensions();return[4,this.certificateDecoded.getThumbprint("SHA-1")];case 2:r.sent();return[4,this.certificateDecoded.getThumbprint("SHA-256")];case 3:r.sent();return[3,5];case 4:t=r.sent();this.certificateDecodeError=t;console.error("Error certificate parse:",t);return[3,5];case 5:this.isDecodeInProcess=false;return[2]}}))}))};e.prototype.getIssuerDnLink=function(){return this.issuerDnLink};e.prototype.watchCertificateAndDecode=function(e,t){if(typeof e==="string"&&typeof t==="string"){if(e!==t){this.decodeCertificate(e)}return}if(e instanceof CRL&&t instanceof CRL){if(e.commonName!==t.commonName){this.decodeCertificate(e)}}};e.prototype.renderErrorState=function(){return h("div",{class:"status_wrapper"},h(Typography,null,"There was an error decoding this certificate revocation list."))};e.prototype.renderEmptyState=function(){return h("div",{class:"status_wrapper"},h(Typography,null,"There is no certificate revocation list available."))};e.prototype.render=function(){if(this.certificateDecodeError){return this.renderErrorState()}if(!this.certificateDecoded){return this.renderEmptyState()}return h(Host,{"data-mobile-screen-view":String(this.mobileScreenView)},h("table",null,h(BasicInformation,Object.assign({},this.certificateDecoded)),h(IssuerName,{name:this.certificateDecoded.issuer,issuerDnLink:this.getIssuerDnLink()}),h(Signature,{signature:this.certificateDecoded.signature}),h(Thumbprints,{thumbprints:this.certificateDecoded.thumbprints}),h(Extensions,{extensions:this.certificateDecoded.extensions,getLEILink:getLEILink,getDNSNameLink:getDNSNameLink,getIPAddressLink:getIPAddressLink,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink}),h(RevokedCertificates,{revokedCertificates:this.certificateDecoded.revokedCertificates,getDNSNameLink:getDNSNameLink,getIPAddressLink:getIPAddressLink}),this.download&&h(Miscellaneous,{certificate:this.certificateDecoded})))};Object.defineProperty(e,"watchers",{get:function(){return{certificate:["watchCertificateAndDecode"]}},enumerable:false,configurable:true});return e}();CrlViewer.style=certificateViewerCss$1;var certificateViewerCss="*{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent;font-family:var(--pv-font-family, inherit)}.t-h1{font-weight:var(--pv-text-h1-weight);font-size:var(--pv-text-h1-size);line-height:var(--pv-text-h1-height);letter-spacing:var(--pv-text-h1-spacing)}.t-h2{font-weight:var(--pv-text-h2-weight);font-size:var(--pv-text-h2-size);line-height:var(--pv-text-h2-height);letter-spacing:var(--pv-text-h2-spacing)}.t-h3{font-weight:var(--pv-text-h3-weight);font-size:var(--pv-text-h3-size);line-height:var(--pv-text-h3-height);letter-spacing:var(--pv-text-h3-spacing)}.t-h4{font-weight:var(--pv-text-h4-weight);font-size:var(--pv-text-h4-size);line-height:var(--pv-text-h4-height);letter-spacing:var(--pv-text-h4-spacing)}.t-h5{font-weight:var(--pv-text-h5-weight);font-size:var(--pv-text-h5-size);line-height:var(--pv-text-h5-height);letter-spacing:var(--pv-text-h5-spacing)}.t-s1{font-weight:var(--pv-text-s1-weight);font-size:var(--pv-text-s1-size);line-height:var(--pv-text-s1-height);letter-spacing:var(--pv-text-s1-spacing)}.t-s2{font-weight:var(--pv-text-s2-weight);font-size:var(--pv-text-s2-size);line-height:var(--pv-text-s2-height);letter-spacing:var(--pv-text-s2-spacing)}.t-b1{font-weight:var(--pv-text-b1-weight);font-size:var(--pv-text-b1-size);line-height:var(--pv-text-b1-height);letter-spacing:var(--pv-text-b1-spacing)}.t-b2{font-weight:var(--pv-text-b2-weight);font-size:var(--pv-text-b2-size);line-height:var(--pv-text-b2-height);letter-spacing:var(--pv-text-b2-spacing)}.t-b3{font-weight:var(--pv-text-b3-weight);font-size:var(--pv-text-b3-size);line-height:var(--pv-text-b3-height);letter-spacing:var(--pv-text-b3-spacing)}.t-btn1{font-weight:var(--pv-text-btn1-weight);font-size:var(--pv-text-btn1-size);line-height:var(--pv-text-btn1-height);letter-spacing:var(--pv-text-btn1-spacing)}.t-btn2{font-weight:var(--pv-text-btn2-weight);font-size:var(--pv-text-btn2-size);line-height:var(--pv-text-btn2-height);letter-spacing:var(--pv-text-btn2-spacing)}.t-c1{font-weight:var(--pv-text-c1-weight);font-size:var(--pv-text-c1-size);line-height:var(--pv-text-c1-height);letter-spacing:var(--pv-text-c1-spacing)}.t-c2{font-weight:var(--pv-text-c2-weight);font-size:var(--pv-text-c2-size);line-height:var(--pv-text-c2-height);letter-spacing:var(--pv-text-c2-spacing)}.c-primary-tint-5{--pv-color-base:var(--pv-color-primary-tint-5)}.c-primary-tint-4{--pv-color-base:var(--pv-color-primary-tint-4)}.c-primary-tint-3{--pv-color-base:var(--pv-color-primary-tint-3)}.c-primary-tint-2{--pv-color-base:var(--pv-color-primary-tint-2)}.c-primary-tint-1{--pv-color-base:var(--pv-color-primary-tint-1)}.c-primary{--pv-color-base:var(--pv-color-primary)}.c-primary-shade-1{--pv-color-base:var(--pv-color-primary-shade-1)}.c-primary-shade-2{--pv-color-base:var(--pv-color-primary-shade-2)}.c-primary-shade-3{--pv-color-base:var(--pv-color-primary-shade-3)}.c-primary-shade-4{--pv-color-base:var(--pv-color-primary-shade-4)}.c-primary-shade-5{--pv-color-base:var(--pv-color-primary-shade-5)}.c-primary-contrast{--pv-color-base:var(--pv-color-primary-contrast)}.c-secondary-tint-5{--pv-color-base:var(--pv-color-secondary-tint-5)}.c-secondary-tint-4{--pv-color-base:var(--pv-color-secondary-tint-4)}.c-secondary-tint-3{--pv-color-base:var(--pv-color-secondary-tint-3)}.c-secondary-tint-2{--pv-color-base:var(--pv-color-secondary-tint-2)}.c-secondary-tint-1{--pv-color-base:var(--pv-color-secondary-tint-1)}.c-secondary{--pv-color-base:var(--pv-color-secondary)}.c-secondary-shade-1{--pv-color-base:var(--pv-color-secondary-shade-1)}.c-secondary-shade-2{--pv-color-base:var(--pv-color-secondary-shade-2)}.c-secondary-shade-3{--pv-color-base:var(--pv-color-secondary-shade-3)}.c-secondary-shade-4{--pv-color-base:var(--pv-color-secondary-shade-4)}.c-secondary-shade-5{--pv-color-base:var(--pv-color-secondary-shade-5)}.c-secondary-contrast{--pv-color-base:var(--pv-color-secondary-contrast)}.c-wrong-tint-5{--pv-color-base:var(--pv-color-wrong-tint-5)}.c-wrong-tint-4{--pv-color-base:var(--pv-color-wrong-tint-4)}.c-wrong-tint-3{--pv-color-base:var(--pv-color-wrong-tint-3)}.c-wrong-tint-2{--pv-color-base:var(--pv-color-wrong-tint-2)}.c-wrong-tint-1{--pv-color-base:var(--pv-color-wrong-tint-1)}.c-wrong{--pv-color-base:var(--pv-color-wrong)}.c-wrong-shade-1{--pv-color-base:var(--pv-color-wrong-shade-1)}.c-wrong-shade-2{--pv-color-base:var(--pv-color-wrong-shade-2)}.c-wrong-shade-3{--pv-color-base:var(--pv-color-wrong-shade-3)}.c-wrong-shade-4{--pv-color-base:var(--pv-color-wrong-shade-4)}.c-wrong-shade-5{--pv-color-base:var(--pv-color-wrong-shade-5)}.c-wrong-contrast{--pv-color-base:var(--pv-color-wrong-contrast)}.c-attention-tint-5{--pv-color-base:var(--pv-color-attention-tint-5)}.c-attention-tint-4{--pv-color-base:var(--pv-color-attention-tint-4)}.c-attention-tint-3{--pv-color-base:var(--pv-color-attention-tint-3)}.c-attention-tint-2{--pv-color-base:var(--pv-color-attention-tint-2)}.c-attention-tint-1{--pv-color-base:var(--pv-color-attention-tint-1)}.c-attention{--pv-color-base:var(--pv-color-attention)}.c-attention-shade-1{--pv-color-base:var(--pv-color-attention-shade-1)}.c-attention-shade-2{--pv-color-base:var(--pv-color-attention-shade-2)}.c-attention-shade-3{--pv-color-base:var(--pv-color-attention-shade-3)}.c-attention-shade-4{--pv-color-base:var(--pv-color-attention-shade-4)}.c-attention-shade-5{--pv-color-base:var(--pv-color-attention-shade-5)}.c-success-tint-5{--pv-color-base:var(--pv-color-success-tint-5)}.c-success-tint-4{--pv-color-base:var(--pv-color-success-tint-4)}.c-success-tint-3{--pv-color-base:var(--pv-color-success-tint-3)}.c-success-tint-2{--pv-color-base:var(--pv-color-success-tint-2)}.c-success-tint-1{--pv-color-base:var(--pv-color-success-tint-1)}.c-success{--pv-color-base:var(--pv-color-success)}.c-success-shade-1{--pv-color-base:var(--pv-color-success-shade-1)}.c-success-shade-2{--pv-color-base:var(--pv-color-success-shade-2)}.c-success-shade-3{--pv-color-base:var(--pv-color-success-shade-3)}.c-success-shade-4{--pv-color-base:var(--pv-color-success-shade-4)}.c-success-shade-5{--pv-color-base:var(--pv-color-success-shade-5)}.c-black{--pv-color-base:var(--pv-color-black)}.c-gray-10{--pv-color-base:var(--pv-color-gray-10)}.c-gray-9{--pv-color-base:var(--pv-color-gray-9)}.c-gray-8{--pv-color-base:var(--pv-color-gray-8)}.c-gray-7{--pv-color-base:var(--pv-color-gray-7)}.c-gray-6{--pv-color-base:var(--pv-color-gray-6)}.c-gray-5{--pv-color-base:var(--pv-color-gray-5)}.c-gray-4{--pv-color-base:var(--pv-color-gray-4)}.c-gray-3{--pv-color-base:var(--pv-color-gray-3)}.c-gray-2{--pv-color-base:var(--pv-color-gray-2)}.c-gray-1{--pv-color-base:var(--pv-color-gray-1)}.c-white{--pv-color-base:var(--pv-color-white)}.c-extra-1{--pv-color-base:var(--pv-color-extra-1)}.c-extra-2{--pv-color-base:var(--pv-color-extra-2)}.typography{color:var(--pv-color-base)}.button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;background:transparent;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;text-decoration:none;outline:none;font-family:inherit;border-radius:4px;height:var(--pv-size-base-6);min-width:var(--pv-size-base-6);padding:0 var(--pv-size-base-2);-webkit-transition:background-color 200ms ease 0s;transition:background-color 200ms ease 0s;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--pv-size-base-2);font-size:0}.button.m_no_padding{padding:0}.button:hover{background-color:var(--pv-color-gray-3)}.button:focus{background-color:var(--pv-color-gray-4)}.button:active{background-color:var(--pv-color-gray-5)}:host{display:block;width:100%;position:relative;min-width:280px;min-height:300px;word-wrap:break-word;word-break:break-word}th,td{border:none}table{width:100%;border-spacing:0;border-collapse:collapse}table td{padding:var(--pv-size-base-2) var(--pv-size-base-4);vertical-align:top}table td:first-child{width:220px}table td:last-child{width:calc(100% - 220px)}table td.monospace{max-width:0}table td.divider{padding:var(--pv-size-base-2) 0}table td.divider span{height:1px;display:block;background-color:var(--pv-color-gray-4)}table .title td{padding-top:var(--pv-size-base-6);padding-bottom:var(--pv-size-base-2)}table table{border-left:1px solid var(--pv-color-gray-5)}.status_wrapper{min-height:inherit;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([data-mobile-screen-view=true]) table,:host([data-mobile-screen-view=true]) tr,:host([data-mobile-screen-view=true]) td{display:block}:host([data-mobile-screen-view=true]) table tr{padding:var(--pv-size-base-2) 0}:host([data-mobile-screen-view=true]) table tr.title{padding-top:var(--pv-size-base-6)}:host([data-mobile-screen-view=true]) table tr.title td{padding:0 var(--pv-size-base-4)}:host([data-mobile-screen-view=true]) table td{padding:0 var(--pv-size-base-4);width:100% !important;max-width:100% !important}:host([data-mobile-screen-view=true]) table td.divider{padding:0}";var CsrViewer=function(){function e(e){var t=this;registerInstance(this,e);this.getAuthKeyIdParentLink=function(e){return e};this.getAuthKeyIdSiblingsLink=function(e){return e};this.getSubjectKeyIdChildrenLink=function(e){var r;return(r=t.subjectKeyIdChildrenLink)===null||r===void 0?void 0:r.replace("{{subjectKeyId}}",e)};this.getSubjectKeyIdSiblingsLink=function(e){var r;return(r=t.subjectKeyIdSiblingsLink)===null||r===void 0?void 0:r.replace("{{subjectKeyId}}",e)};this.certificate=undefined;this.download=undefined;this.subjectKeyIdChildrenLink=undefined;this.subjectKeyIdSiblingsLink=undefined;this.mobileMediaQueryString="(max-width: 900px)";this.mobileScreenView=false;this.isDecodeInProcess=true}e.prototype.handleMediaQueryChange=function(e){this.mobileScreenView=e.matches};e.prototype.componentWillLoad=function(){this.decodeCertificate(this.certificate);{this.mobileMediaQuery=window.matchMedia(this.mobileMediaQueryString);this.mobileMediaQuery.addEventListener("change",this.handleMediaQueryChange.bind(this));this.mobileScreenView=this.mobileMediaQuery.matches}};e.prototype.disconnectedCallback=function(){this.mobileMediaQuery.removeEventListener("change",this.handleMediaQueryChange.bind(this))};e.prototype.decodeCertificate=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:this.isDecodeInProcess=true;r.label=1;case 1:r.trys.push([1,4,,5]);if(e instanceof CSR){this.certificateDecoded=e}else if(typeof e==="string"){this.certificateDecoded=new CSR(e)}else{return[2]}this.certificateDecoded.parseAttributes();return[4,this.certificateDecoded.getThumbprint("SHA-1")];case 2:r.sent();return[4,this.certificateDecoded.getThumbprint("SHA-256")];case 3:r.sent();return[3,5];case 4:t=r.sent();this.certificateDecodeError=t;console.error("Error certificate parse:",t);return[3,5];case 5:this.isDecodeInProcess=false;return[2]}}))}))};e.prototype.watchCertificateAndDecode=function(e,t){if(typeof e==="string"&&typeof t==="string"){if(e!==t){this.decodeCertificate(e)}return}if(e instanceof CSR&&t instanceof CSR){if(e.commonName!==t.commonName){this.decodeCertificate(e)}}};e.prototype.renderErrorState=function(){return h("div",{class:"status_wrapper"},h(Typography,null,"There was an error decoding this certificate request."))};e.prototype.renderEmptyState=function(){return h("div",{class:"status_wrapper"},h(Typography,null,"There is no certificate request available."))};e.prototype.getExtensionRequestAttribute=function(){if(!this.certificateDecoded){return undefined}return this.certificateDecoded.attributes.find((function(e){return e.asn.type==="1.2.840.113549.1.9.14"}))};e.prototype.render=function(){if(this.certificateDecodeError){return this.renderErrorState()}if(!this.certificateDecoded){return this.renderEmptyState()}var e=this.getExtensionRequestAttribute();return h(Host,{"data-mobile-screen-view":String(this.mobileScreenView)},h("table",null,h(BasicInformation,Object.assign({},this.certificateDecoded)),h(SubjectName,{name:this.certificateDecoded.subject}),h(PublicKey,{publicKey:this.certificateDecoded.publicKey}),h(Signature,{signature:this.certificateDecoded.signature}),h(Thumbprints,{thumbprints:this.certificateDecoded.thumbprints}),h(Attributes,{attributes:this.certificateDecoded.attributes,getLEILink:getLEILink,getDNSNameLink:getDNSNameLink,getIPAddressLink:getIPAddressLink,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),h(Extensions,{extensions:e===null||e===void 0?void 0:e.value,title:"Extension Request",getLEILink:getLEILink,getDNSNameLink:getDNSNameLink,getIPAddressLink:getIPAddressLink,getAuthKeyIdParentLink:this.getAuthKeyIdParentLink,getAuthKeyIdSiblingsLink:this.getAuthKeyIdSiblingsLink,getSubjectKeyIdChildrenLink:this.getSubjectKeyIdChildrenLink,getSubjectKeyIdSiblingsLink:this.getSubjectKeyIdSiblingsLink}),this.download&&h(Miscellaneous,{certificate:this.certificateDecoded})))};Object.defineProperty(e,"watchers",{get:function(){return{certificate:["watchCertificateAndDecode"]}},enumerable:false,configurable:true});return e}();CsrViewer.style=certificateViewerCss;export{AttributeCertificateViewer as peculiar_attribute_certificate_viewer,CrlViewer as peculiar_crl_viewer,CsrViewer as peculiar_csr_viewer};
|
|
110
|
+
//# sourceMappingURL=peculiar-attribute-certificate-viewer_3.entry.js.map
|