blob: d13be9ab4a2f3b8e6a73b9020b175b1c1f486ab4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package com.netscape.certsrv.system;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.jboss.resteasy.annotations.ClientResponseType;
import com.netscape.certsrv.cert.CertData;
@Path("config/cert")
public interface SystemCertResource {
/**
* Used to retrieve the transport certificate
*/
@GET
@Path("transport")
@ClientResponseType(entityType=CertData.class)
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
public Response getTransportCert();
}
|