4. Command Line Programs
[DOCUMENT TOP]
/ [CGI TOP]
The relation of the command line programs described here.
4.1. Data Generator for Certification Path Validation Testing
- dbldifgen
-
generate a LDIF file according to a 'LDAP repository' record
in the testcase database.
- dbcertgen
-
generate a DER encoded binary X.509 certificate according to
a certificate record in the testcase database.
- dbcrlgen
-
generate a DER encoded binary X.509 certificate revocation list according to
a certificate record in the testcase database.
- dbocspresgen
-
generate an DER encoded binary OCSP response according to
an OCSP response record.
This command will be called by 'cpki_ocsp_simulator.cgi' script and
will not be called directly.
4.2. Data Generator for Timestamp Testing
- dbtsrgen
-
generate a DER encoded binary Timestamp response according to a 'TSR' record
in the testcase database.
- dbtstgen
-
generate a DER encoded binary Timestamp token according to
a 'TST' record in the testcase database.
- cpki_dbcreate
- create a database for testcase with latest version of schema.
- cpki_dbclean
- delete all record in the testcase database.
- cpki_dbgrant
- Add access permission to the test case database for an administrator and a guest. Administrator can see, add, modify or delete a database record but
guest can only see the data records.
- cpki_dbrevive
- create a database from a database dump file.
- cpki_dbdump
- create a dump file from a database using 'pg_dump' command.
4.4. LDAP Server Management Commands
- cpki_ldapadd
-
add a LDIF file to LDAP server without specifying user or password.
- cpki_ldapclean
-
clean all DITs of LDAP server without specifying user or password.
4.5. Other Commands
JNSA/IPA Challenge PKI Test Suite