summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/system/SystemCertResource.java
blob: 3a9d6e125c2d6ccfd2028ed4df91128bb87b646b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.netscape.certsrv.system;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
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)
    public Response getTransportCert();

}