A.3. Enterprise Security Client XUL and Javascript Functionality
Smart Card Manager stores the XUL markup and Javascript functionality in , where <ESC_INSTALL_PATH>/chrome/content/esc/ is the Smart Card Manager installation directory.
<ESC_INSTALL_PATH>
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. |
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. |