Package edu.uiuc.ncsa.sas.thing.response
Class NewKeyResponse
- java.lang.Object
-
- edu.uiuc.ncsa.sas.thing.response.Response
-
- edu.uiuc.ncsa.sas.thing.response.NewKeyResponse
-
- All Implemented Interfaces:
SASConstants
public class NewKeyResponse extends Response
Created by Jeff Gaynor
on 8/24/22 at 7:18 AM
-
-
Field Summary
-
Fields inherited from interface edu.uiuc.ncsa.sas.SASConstants
ACTION_EXECUTE, ACTION_INVOKE, ACTION_LOGOFF, ACTION_LOGON, ACTION_NEW_KEY, CLIENT_ID_HEAD, HEADER_SESSION_ID, KEYS_ACTION, KEYS_ARGUMENT, KEYS_COMMENT, KEYS_EXECUTABLE_NAME, KEYS_INTERNAL_ID, KEYS_METHOD, KEYS_PROMPT, KEYS_SAS, KEYS_STATE, KEYS_SUBJECT, KEYS_SUBJECT_ID, KEYS_SUBJECT_SESSION_ID, KEYS_TYPE, REQUEST_TYPE, RESPONSE_CONTENT, RESPONSE_MESSAGE, RESPONSE_PROMPT, RESPONSE_SESSION_ID, RESPONSE_STATUS, RESPONSE_STATUS_ERROR, RESPONSE_STATUS_OK, RESPONSE_SYMMETRIC_KEY, RESPONSE_TYPE, RESPONSE_TYPE_ERROR, RESPONSE_TYPE_LOGOFF, RESPONSE_TYPE_LOGON, RESPONSE_TYPE_NEW_KEY, RESPONSE_TYPE_OUTPUT, RESPONSE_TYPE_PROMPT
-
-
Constructor Summary
Constructors Constructor Description NewKeyResponse()
NewKeyResponse(Action action, byte[] key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserialize(net.sf.json.JSONObject json)
byte[]
getKey()
net.sf.json.JSONObject
serialize()
void
setKey(byte[] key)
-
Methods inherited from class edu.uiuc.ncsa.sas.thing.response.Response
getActionType, getComment, getId, getResponseType, getState, init, setActionType, setComment, setId, setResponseType, setState
-
-
-
-
Constructor Detail
-
NewKeyResponse
public NewKeyResponse()
-
NewKeyResponse
public NewKeyResponse(Action action, byte[] key)
-
-
Method Detail
-
getKey
public byte[] getKey()
-
setKey
public void setKey(byte[] key)
-
deserialize
public void deserialize(net.sf.json.JSONObject json)
- Overrides:
deserialize
in classResponse
-
-