A.3. Enterprise Security Client XUL and Javascript Functionality

A.3. Enterprise Security Client XUL and Javascript Functionality

Smart Card Manager stores the XUL markup and Javascript functionality in <ESC_INSTALL_PATH>/chrome/content/esc/, where <ESC_INSTALL_PATH> is the Smart Card Manager installation directory.

The primary Smart Card Manager XUL files are listed in the following table.

Filename Purpose
settings.xul Contains the code for the Settings page.
esc.xul Contains the code for the Enrollment page.
config.xul Contains the code for the configuration UI.
esc_browser.xul Contains the code for hosting the external HTML Smart Card Manager enrollment UI.
Table A.3. Main XUL Files

The primary Smart Card Manager Javascript files are listed in the following table.

Filename Purpose
ESC.js Contains most of the Smart Card Manager Javascript functionality.
TRAY.js Contains the tray icon functionality.
AdvancedInfo.js Contains the code for the Diagnostics feature.
GenericAuth.js Contains the code for the authentication prompt. This prompt is configurable from the TPS server, which requires dynamic processing by the Smart Card Manager.
Table A.4. Main Javascript Files