iya-sts
    Preparing search index...

    Class export=

    Draws EST from the answer of GET /admin-api/est — the endpoints, the Issuing CA, the profiles, server key generation, host names, certificates and settings — and EST enrollments from that of GET /admin-api/est/monitor.

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

    Index
    • Draws a titled table of counts.

      Parameters

      • title: any

        the heading

      • rows: any

        { name, count } rows

      • t: any

        the page's translator (#539)

      • Optionaltab: any

      Returns string

      the HTML

    • Draws a link to a person's or an application's console page.

      Parameters

      • entry: any

        { kind, id }, or nothing

      Returns string

      the HTML

    • Draws the body of /admin/est from the view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        est_console.ts's estView()

      Returns string

      the HTML

    • Draws a hidden form field.

      Parameters

      • name: any

        the field's name

      • value: any

        its value

      Returns string

      the HTML

    • Draws the person-or-application <option> elements, the values as they are and the words in the reader's language (#539).

      Parameters

      • selected: any

        the value selected

      • t: any

        the page's translator

      Returns string

      the HTML

    • Draws the note on EST's label form of every endpoint, if the realm has one.

      Parameters

      • json: any

        est_console.ts's estView()

      • t: any

        the page's translator (#539)

      Returns string

      the markup, or ''

    • Draws Monitoring → EST enrollments from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        estMonitorView()'s answer

      Returns string

      the body as HTML

    • Draws the <option> elements of a select.

      Parameters

      • values: any

        the values

      • selected: any

        the value selected

      Returns any

      the HTML

    • Draws the page's body from its view.

      Parameters

      • view: any

        the answer of the page's management API operation

      • ctx: any

        the render context: the page's query and whether the reader may write (WebKit.context())

      Returns string

      the body as HTML

    • Draws a flag as yes or a muted no.

      Parameters

      • flag: any

        the flag

      • t: any

        the page's translator (#539)

      Returns any

      the HTML