private static Options options() {
    return new Options()
        .addOption(Option.builder("h")
            .longOpt("help")
            .desc("print help")
            .build())
        .addOption(Option.builder("tu")
            .longOpt("test_unlimited")
            .desc("Test's the policy for unlimited key encryption")
            .hasArg(false)
            .argName("tu")
            .build())
        .addOption(Option.builder("lc")
            .longOpt("list_ciphers")
            .desc("List the ciphers allowed by the policy")
            .hasArg(false)
            .argName("lc")
            .build());
  }
JcePolicyInfo provides information about the JVM's installed JCE (Java Cryptology Enhancements)
policy.
ambari-agent/src/main/java/org/apache/ambari/tools/jce/JcePolicyInfo.java