Class ZeroEcho
java.lang.Object
zeroecho.ZeroEcho
ZeroEcho is a command-line utility for managing asymmetric keys and
certificates, primarily focusing on Certificate Authority (CA) operations
such as issuing, revoking, and listing certificates.
It supports command-line options for asymmetric key management, including issuing certificates from CSRs or subject names, revoking certificates, and retrieving all certificates for a user.
This class initializes Bouncy Castle security provider and uses Apache Commons CLI for command-line parsing.
- Author:
- Leo Galambos
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidMain entry point for the ZeroEcho application.static intmainProcess(String... args) Entry point for the ZeroEcho application.
-
Field Details
-
LOG
Logger instance for theZeroEchoclass used to log messages and events.This logger is configured with the name of the
ZeroEchoclass, allowing for fine-grained logging control specific to this class.
-
-
Method Details
-
main
Main entry point for the ZeroEcho application. Parses command-line arguments and dispatches to the appropriate subcommand for asymmetric key management or prints the help message.- Parameters:
args- command-line arguments passed to the program- Throws:
IOException- If the output could not be written
-
mainProcess
Entry point for the ZeroEcho application. Parses command-line arguments and dispatches to the appropriate subcommand for asymmetric key management or prints the help message.- Parameters:
args- command-line arguments passed to the program- Returns:
- error-code
- Throws:
IOException- If the output could not be written
-