Class KeyRequestClient
java.lang.Object
com.netscape.certsrv.client.Client
com.netscape.certsrv.key.KeyRequestClient
- Author:
- Endi S. Dewata, Abhishek Koneru
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApprove a secret recovery requestvoidCancel a secret recovery requestReturn a KeyRequestInfo object for a specific request.listRequests(String requestState, String requestType) listRequests(String requestState, String requestType, String realm) Search key requests in the DRM based on the state/type of the requests.listRequests(String requestState, String requestType, String clientKeyID, RequestId start, Integer pageSize, Integer maxResults, Integer maxTime, String realm) List/Search key requests in the DRMvoidReject a secret recovery request
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
KeyRequestClient
-
-
Method Details
-
listRequests
public KeyRequestInfoCollection listRequests(String requestState, String requestType, String realm) throws Exception Search key requests in the DRM based on the state/type of the requests.- Parameters:
requestState- -- State of the requests to be queried.requestType- -- Type of the requests to be queried.realm- -- Authz Realm- Returns:
- a KeyRequestCollection object.
- Throws:
Exception
-
listRequests
public KeyRequestInfoCollection listRequests(String requestState, String requestType) throws Exception - Throws:
Exception
-
listRequests
public KeyRequestInfoCollection listRequests(String requestState, String requestType, String clientKeyID, RequestId start, Integer pageSize, Integer maxResults, Integer maxTime, String realm) throws Exception List/Search key requests in the DRM- Parameters:
requestState- -- State of the requests to be queried.requestType- -- Type of the requests to be queried.clientKeyID- -- Client Key Identifierstart- -- Start index of listpageSize- -- Size of the list to be returned.maxResults- -- Maximum number of requests to be fetchedmaxTime- -- Maximum time for the operation to takerealm- -- Authz Realm- Returns:
- a KeyRequestInfoCollection object.
- Throws:
Exception
-
getRequestInfo
Return a KeyRequestInfo object for a specific request.- Parameters:
id- -- A Request Id object- Returns:
- the KeyRequestInfo object for a specific request.
- Throws:
Exception
-
approveRequest
-
rejectRequest
-
cancelRequest
-