@Path(value="agent/keys")
public interface KeyResource
| Modifier and Type | Method and Description |
|---|---|
KeyDataInfos |
listKeys(java.lang.String clientID,
java.lang.String status,
java.lang.Integer maxResults,
java.lang.Integer maxTime,
java.lang.Integer start,
java.lang.Integer size) |
KeyData |
retrieveKey(KeyRecoveryRequest data)
Used to retrieve a key
|
KeyData |
retrieveKey(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> form) |
@GET
@Produces(value={"application/xml","application/json"})
KeyDataInfos listKeys(@QueryParam(value="clientID")
java.lang.String clientID,
@QueryParam(value="status")
java.lang.String status,
@QueryParam(value="maxResults")
java.lang.Integer maxResults,
@QueryParam(value="maxTime")
java.lang.Integer maxTime,
@QueryParam(value="start")
java.lang.Integer start,
@QueryParam(value="size")
java.lang.Integer size)
@POST
@Path(value="retrieve")
@Produces(value={"application/xml","application/json"})
@Consumes(value={"application/xml","application/json"})
KeyData retrieveKey(KeyRecoveryRequest data)
data - @POST
@Path(value="retrieve")
@Produces(value={"application/xml","application/json"})
@Consumes(value="application/x-www-form-urlencoded")
KeyData retrieveKey(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> form)