Class ZeroEcho

java.lang.Object
zeroecho.ZeroEcho

public final class ZeroEcho extends Object
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 Details

    • LOG

      public static final Logger LOG
      Logger instance for the ZeroEcho class used to log messages and events.

      This logger is configured with the name of the ZeroEcho class, allowing for fine-grained logging control specific to this class.

  • Method Details

    • main

      public static void main(String[] args) throws IOException
      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

      public static int mainProcess(String... args) throws IOException
      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