Class HskResponse

  • All Implemented Interfaces:
    Serializable

    public class HskResponse
    extends ApiResponse
    Response from Authlete's /api/hsk/create API, /api/hsk/delete/{handle} API and /api/hsk/get/{handle} API.
    Since:
    2.97, Authlete 2.2.12
    See Also:
    Serialized Form
    • Constructor Detail

      • HskResponse

        public HskResponse()
    • Method Detail

      • getAction

        public HskResponse.Action getAction()
        Get the result of the API call.
        Returns:
        The result of the API call.
      • setAction

        public HskResponse setAction​(HskResponse.Action action)
        Set the result of the API call.
        Parameters:
        action - The result of the API call.
        Returns:
        this object.
      • getHsk

        public Hsk getHsk()
        Get the information about the key on the HSM.
        Returns:
        Information about the key.
      • setHsk

        public HskResponse setHsk​(Hsk hsk)
        Set the information about the key on the HSM.
        Parameters:
        hsk - Information about the key.
        Returns:
        this object.