Class SigningCommands

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.Logable, edu.uiuc.ncsa.security.util.cli.Commands, Serializable

    public class SigningCommands
    extends edu.uiuc.ncsa.security.util.cli.CommonCommands2

    Created by Jeff Gaynor
    on 1/6/17 at 9:27 AM

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SigningCommands​(edu.uiuc.ncsa.security.util.cli.CLIDriver driver, OA2SE oa2se)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void about​(boolean showBanner, boolean showHeader)  
      void create​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)  
      void create_symmetric_keys​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)  
      static edu.uiuc.ncsa.security.util.jwk.JSONWebKeys createECJsonWebKeys​(String defaultKeyID)
      Note that these are done as per https://www.rfc-editor.org/rfc/rfc7518.html#section-3.4 and generate the basic set of all elliptic curves
      static edu.uiuc.ncsa.security.util.jwk.JSONWebKeys createECJsonWebKeys​(String curve, String defaultKeyID)
      Create a set of keys for a given curve using the 3 standard signing algorithms.
      static edu.uiuc.ncsa.security.util.jwk.JSONWebKey createECJWK​(String curve, String algorithm)  
      protected void createHelp()  
      static edu.uiuc.ncsa.security.util.jwk.JSONWebKeys createJsonWebKeys()  
      static edu.uiuc.ncsa.security.util.jwk.JSONWebKey createJWK​(String algorithm)  
      static edu.uiuc.ncsa.security.util.jwk.JSONWebKey createJWK​(String algorithm, boolean isRSA)  
      static edu.uiuc.ncsa.security.util.jwk.JSONWebKeys createRSAJsonWebKeys​(int size, String defaultKeyID)
      static edu.uiuc.ncsa.security.util.jwk.JSONWebKey createRSAJWK​(int size, String algorithm)  
      static edu.uiuc.ncsa.security.util.jwk.JWKUtil2 getJwkUtil2()  
      String getName()  
      OA2SE getOa2SE()  
      String getPrompt()  
      void initialize()  
      void load​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)  
      static void setJwkUtil2​(edu.uiuc.ncsa.security.util.jwk.JWKUtil2 newJWKUtil2)  
      protected void showSymmetricKeyHelp()  
      • Methods inherited from class edu.uiuc.ncsa.security.util.cli.CommonCommands2

        getIOInterface, getPlaceHolder, getValue, isEmpty, isThrowExceptions, isVerbose, print_help, say2, sayii, set_output_on, set_verbose_on, setOutputOnHelp, setPlaceHolder, setThrowExceptions, setVerboseHelp, version, versionHelp
      • Methods inherited from class edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl

        bootstrap, bootstrap, clear_env, clearEnvHelp, debug, error, error, get_env, getDriver, getHelpUtil, getInput, getLogoName, getPropertyHelp, gracefulExit, hasLogger, indentWidth, info, initHelp, isDebugOn, isOk, isShowHeader, isShowLogo, print_env, printEnvHelp, printGetEnvHelp, printReadEnvHelp, printSaveEnvHelp, printSetEnvHelp, read_env, readJSON, readline, readline, save_env, say, say, sayi, sayv, set_env, setDebugOn, setDriver, setLogoName, setShowHeader, setShowLogo, showHelp, warn