iya-sts
    Preparing search index...

    Draws the post-quantum icon and its legend from a classification.

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

    Index
    CSS: string = ...

    The badge's rules, for the console's stylesheet.

    WORDS: Record<PqcKind, string> = WORDS

    The word beside the icon for each kind.

    • Draws the icon for a classification.

      Parameters

      • info: PqcInfo

        a classification of a key

      • Optionalt: any

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

      Returns string

      the badge's markup, or '' where there is none

    • Draws the key a page shows once above its tables: what each of the four marks means, drawn with the marks themselves.

      Parameters

      • Optionalt: any

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

      Returns string

      the legend's markup

    • Returns the sentence the icon's tooltip and accessible name carry.

      Parameters

      • info: PqcInfo

        a classification

      • Optionalt: any

        the page's translator (#539); the default (English in node) when absent, which is what the server-side callers — common/pqc_support.ts, admin-ui/pqc_badge.ts — draw with

      Returns string

      the sentence, or '' for none