Class NewKeyAction

  • All Implemented Interfaces:
    SASConstants

    public class NewKeyAction
    extends Action
    Request a new symmetric key from the server with the given bit size. The format is
         {"action":"new_key", "arg":int}
     

    Created by Jeff Gaynor
    on 8/24/22 at 7:14 AM

    • Constructor Detail

      • NewKeyAction

        public NewKeyAction()
      • NewKeyAction

        public NewKeyAction​(int size)
    • Method Detail

      • getSize

        public int getSize()
      • setSize

        public void setSize​(int size)
      • serialize

        public net.sf.json.JSONObject serialize()
        Description copied from class: Action
        Typically this is called by the Client during POST
        Overrides:
        serialize in class Action
        Returns:
      • deserialize

        public void deserialize​(net.sf.json.JSONObject json)
        Overrides:
        deserialize in class Action