Package com.authlete.common.dto
Class HskResponse
- java.lang.Object
-
- com.authlete.common.dto.ApiResponse
-
- com.authlete.common.dto.HskResponse
-
- All Implemented Interfaces:
Serializable
public class HskResponse extends ApiResponse
Response from Authlete's/api/hsk/createAPI,/api/hsk/delete/{handle}API and/api/hsk/get/{handle}API.- Since:
- 2.97, Authlete 2.2.12
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHskResponse.ActionThe result of the API call.
-
Constructor Summary
Constructors Constructor Description HskResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HskResponse.ActiongetAction()Get the result of the API call.HskgetHsk()Get the information about the key on the HSM.HskResponsesetAction(HskResponse.Action action)Set the result of the API call.HskResponsesetHsk(Hsk hsk)Set the information about the key on the HSM.-
Methods inherited from class com.authlete.common.dto.ApiResponse
getResponseHeaders, getResultCode, getResultMessage, setResponseHeaders, setResultCode, setResultMessage
-
-
-
-
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:
thisobject.
-
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:
thisobject.
-
-