Rate This Document
Findability
Accuracy
Completeness
Readability

Interface Declaration

Table 1 HAF internal script

Program Name

Feature

Remarks

crt_destroy.sh

One-click deletion of certificates, private keys, and CRLs

Internal use for the software

crt_import.sh

Importing an issued certificate

Internal use for the software

crt_update.sh

Updating an issued certificate

Internal use for the software

csr_export.sh

Exporting CSR files

Internal use for the software

csr_gen.sh

Generating CSR files

Internal use for the software

crt_revoke.sh

Importing a CRL file

Internal use for the software

crt_view.sh

Querying certificate information

Internal use for the software

verification

For inner signature

Internal use for the software

haf_daemon

Performing O&M on the HAF executor based on control commands

Internal use for the software

haf_executor

An independent process generated by the HAF daemon, which is used to execute operator jobs

Internal use for the software

kmc_tool_bin

Data encryption

Internal use for the software

env.sh

Setting some parameters before executing a script, without user inputs

Internal use for the software

get_executor_tag.sh

Querying the tag of the service that is being executed

The service is executed again when HAF is started or restarted. No user inputs are required.

Internal use for the software

haf_checker.sh

Querying the current status of haf_daemon

If haf_daemon is stopped, restart it. No user inputs are required.

Internal use for the software

log.sh

Recording logs during script execution

The internal invoking command is as follows:

log.sh <log_file_dir> <log_content>

In the preceding command, log_file_dir indicates the log file path and log_content indicates the log content to be recorded.

Internal use for the software

util.sh

Generating a random key

Internal use for the software

Table 2 Internal configuration file of HAF

Configuration File

Function

Remarks

crontab.job

Starting the haf_daemon task periodically

Internal use for the software