iya-sts
    Preparing search index...

    Draws a certificate's details dialog and the link that opens it.

    A static utility class; it holds no state and takes no dependencies.

    Index
    CSS: string = STYLE

    The dialog's rules, for the console's stylesheet (2026-11-10).

    FROM: "from" = FROM

    The query parameter naming the section to return to.

    PARAM: "certificate" = PARAM

    The query parameter naming the certificate to open.

    • Parameters

      • view: any
      • pagePath: string
      • from: string
      • t: any

      Returns string

    • Draws the dialog over a page, with its style: the certificate's fields and its chain, or, for a refusal, why it cannot be opened.

      Parameters

      • pagePath: string

        the page the dialog is drawn over, which the close controls return to

      • view: any

        certificate_views.detailsView()'s answer

      • Optionalfrom: any

        the id of the section to return to

      • Optionalt: any

        the page's translator (#539); the default when absent

      Returns string

      the dialog's HTML

    • Draws every field of a described certificate in the order RFC 5280 section 4.1 writes them; used for the opened certificate and each member of its chain.

      Parameters

      • described: any

        common/certificate_details.ts's model of a certificate

      • Optionalt: any

        the page's translator (#539); the default when absent

      Returns string

      the fields as HTML

    • Draws the link that opens a certificate's dialog over the page it is on.

      Parameters

      • pagePath: string

        the page the link is drawn on

      • fingerprint: any

        the certificate's SHA-256 fingerprint

      • Optionalfrom: any

        the id of the section the link sits in

      • Optionaltext: string

        the link's text; "View details" when absent

      • Optionalt: any

        the page's translator (#539); the default (English in node) when absent, which is what admin-ui/certificate_dialog.ts draws with

      Returns string

      the link's HTML, or an empty string without a usable fingerprint

    • Parameters

      • value: any
      • yes: string
      • no: string
      • unknown: string
      • t: any

      Returns string