iya-sts
    Preparing search index...
    Index
    MAX_ELEMENTS: 500 = MAX_ELEMENTS
    PARTS: {
        builder: string;
        id: string;
        key: string;
        sections: { attributes: string[]; id: string; key: string }[];
    }[] = PARTS
    ROWS: { key: string; map: string }[] = ROWS
    SAMPLE: string = SAMPLE
    • One box ticked or unticked on one application's page: the map's new values, with what it held before remembered for the page, by application and map (REMEMBERED), and forgotten once given back. The click handler reads the map, calls this and draws what it answers.

      Parameters

      • application: any

        the application the form saves

      • map: any

        the map's attribute

      • part: any

        the box changed, body or header

      • on: any

        whether it is now ticked

      • values: any

        the map's values now

      Returns string[]

      the map's new values

    • The chain WebWsProtection.pathFor() takes, for one element: its name and namespace, and each ancestor's, from the document element down.

      Parameters

      • element: any

        the element

      Returns { local: string; ns: string }[]

      { local, ns } per element, outermost first

    • Draws the XPath builder: one <dialog>, opened in the page by a protection section's button. It posts nothing: no control has a name and no button submits.

      Parameters

      • targets: any

        the fields an expression may be added to that the page draws

      • t: any

        the translator

      Returns string

      the dialog as HTML, or '' when the page draws no target

    • Puts a map's switch where switchFor() says, on the page.

      Parameters

      • form: any

        the sub-tab's form

      • map: any

        the map's attribute

      • inUse: any

        whether the map has just been put to use

      Returns void

      nothing

    • Draws the Message protection frame: a box per map and part, each ticked from the map's values, and each map's switch beside it.

      Parameters

      • values: any

        the form's values by attribute (the entry, with a redrawn post laid over it)

      • rows: any

        the fields the form draws (for each map's what and example, which a list drawn again in the browser carries)

      • redraw: any

        the route the grid's "+" and bins post to

      • t: any

        the translator

      Returns string

      the frame as HTML, or '' when the form draws none of the maps

    • Draws the WS-Trust group of the sub-tab's field grid: the General fields, then each protection section with its request and response halves, and its XPath builder button where it holds a target.

      Parameters

      • rows: any

        the fields the form draws, typed, each with simple

      • label: any

        the group's heading

      • values: any

        the form's values by attribute

      • options: any

        WebKit.fieldGridCell()'s options

      • t: any

        the translator

      • Optionalprotection: any

        optional; the Message protection frame (frame()), drawn after General and before the two sections (rcbj, 2026-11-23: General first in the simplified view)

      Returns string

      the group as HTML, or '' when it draws no field

    • The dialog's list of expressions, one item each with its remove button.

      Parameters

      • list: any

        the expressions

      • t: any

        the translator

      Returns string

      the items as HTML

    • The values a map's boxes hold now, in order.

      Parameters

      • cell: any

        the map's grid cell (#fgc-<map>)

      • map: any

        the map's attribute name

      Returns string[]

      the values

    • What adding a list to a field leaves in it: the field's values with each expression of the list not already there appended, or, for the single recipient expression, the list's one expression.

      Parameters

      • field: any

        the target attribute

      • held: any

        the values the field holds now

      • list: any

        the expressions

      Returns { added: number; values: string[] }

      { values, added }, or null when the recipient is given more or fewer than one

    • The part of PARTS and the section within it a field is drawn in.

      Parameters

      • attribute: any

        the field's attribute

      Returns { part: string; section: string }

      { part, section }, or null for a General field

    • Draws a map's list of boxes again, holding values, as the grid draws it (WebKit.fieldListOf()).

      Parameters

      • doc: any

        the document

      • map: any

        the map's attribute name

      • values: any

        what it holds now

      • t: any

        the translator

      Returns boolean

      true when the list was found and drawn

    • Resolves a prefix of an expression the way the service does: from WebWsProtection.PREFIXES only, never from the document.

      Parameters

      • prefix: any

        the prefix

      Returns string

      its namespace, or null

    • The value of a map's switch as its form holds it, and a setter.

      Parameters

      • form: any

        the sub-tab's form

      • map: any

        the map's attribute

      Returns { set: (value: string) => void; value: string }

      { value, set(value) }, or null when the form draws no switch

    • Forgets what a map's switch was before this page turned it on: the reader has set it by hand.

      Parameters

      • application: any

        the application the form saves

      • map: any

        the map's attribute

      Returns void

      nothing

    • THE MAP'S SWITCH FOLLOWS THE MAP (rcbj, 2026-11-23: "when the xpath fields are enabled, make sure the 'Actually use this field' is automatically enabled"). A map put to use on this page — a box ticked, the builder's list added, a value typed into an empty map — turns its switch on (TRUE), remembering what it was; the map given back or emptied turns it back to that. An encryption switch left on over an empty map would refuse every exchange, which is why it goes back.

      Parameters

      • application: any

        the application the form saves

      • map: any

        the map's attribute

      • inUse: any

        true when the map has just been put to use, false when it has just been given back or emptied

      • current: any

        the switch's value now (TRUE, FALSE or '')

      Returns string

      the switch's new value

    • Draws each map's switch state in the table's Switch column again, from the radios the form holds now.

      Parameters

      • doc: any

        the document

      • t: any

        the translator

      Returns void

      nothing

    • The target select's options.

      Parameters

      • targets: any

        the attributes, in order

      Returns string

      the options as HTML

    • The builder targets one part's sections hold, in TARGETS' order.

      Parameters

      • builder: any

        the part's builder (encrypt or sign)

      • Optionaldrawn: any

        optional; the attributes the page draws, to keep only

      Returns string[]

      the attributes

    • What a map holds after one of its Body / Header boxes is ticked or unticked. The boxes still ticked REPLACE the map with their presets; when none is, the map gets back what it held before a box first replaced it.

      Parameters

      • values: any

        the map's values now

      • map: any

        the map's attribute

      • part: any

        the box changed, body or header

      • on: any

        whether it is now ticked

      • remembered: any

        what the map held before a box replaced it, or null

      Returns { remembered: string[]; values: string[] }

      { values, remembered }: the map's new values, and what to remember from now on (null once it has been given back)

    • The element tree of a parsed document as nested lists of buttons, one per element, each naming the element as the document does.

      Parameters

      • root: any

        the document element

      • Optionalmax: any

        optional; the most elements drawn

      Returns { html: string; nodes: any[]; truncated: boolean }

      { html, nodes, truncated }: nodes[i] is the element the button data-wsp-node="i" stands for

    • Wires the Message protection boxes and the XPath builder on the page drawn, if it has them.

      Parameters

      • env: any

        { document, window }

      • t: any

        the translator

      • changed: any

        called when the form's values were changed here

      Returns void

      nothing

    • Wires the XPath builder dialog and the buttons that open it.

      Parameters

      • env: any

        { document, window }

      • t: any

        the translator

      • touched: any

        called when a field of the form was changed here

      Returns void

      nothing

    • Puts the XPath builder's button, and the line that says what it added, at the foot of one target field's card.

      Parameters

      • cell: any

        the card, as WebKit.fieldGridCell() draws it

      • attribute: any

        the target field

      • t: any

        the translator

      Returns string

      the card with the button inside it