Interface AuthorityResource


@Path("authorities") public interface AuthorityResource
  • Field Details

  • Method Details

    • findCAs

      @GET javax.ws.rs.core.Response findCAs(@QueryParam("id") String id, @QueryParam("parentID") String parentID, @QueryParam("dn") String dn, @QueryParam("issuerDN") String issuerDN) throws Exception
      Throws:
      Exception
    • getCA

      @GET @Path("{id}") javax.ws.rs.core.Response getCA(@PathParam("id") String caIDString)
    • getCert

      @GET @Path("{id}/cert") @Produces("application/pkix-cert") javax.ws.rs.core.Response getCert(@PathParam("id") String caIDString)
    • getCertPEM

      @GET @Path("{id}/cert") @Produces("application/x-pem-file") javax.ws.rs.core.Response getCertPEM(@PathParam("id") String caIDString)
    • getChain

      @GET @Path("{id}/chain") @Produces("application/pkcs7-mime") javax.ws.rs.core.Response getChain(@PathParam("id") String caIDString)
    • getChainPEM

      @GET @Path("{id}/chain") @Produces("application/x-pem-file") javax.ws.rs.core.Response getChainPEM(@PathParam("id") String caIDString)
    • createCA

      @POST javax.ws.rs.core.Response createCA(AuthorityData data)
    • modifyCA

      @PUT @Path("{id}") javax.ws.rs.core.Response modifyCA(@PathParam("id") String caIDString, AuthorityData data)
      Modify a CA (supports partial updates). isHostEnabled, authorityID, authorityParentID and DN are immutable; differences in these values are ignored. Other values, if null, are ignored, otherwise they are set to the new value. To remove the description, use an empty string.
    • enableCA

      @POST @Path("{id}/enable") javax.ws.rs.core.Response enableCA(@PathParam("id") String caIDString)
    • disableCA

      @POST @Path("{id}/disable") javax.ws.rs.core.Response disableCA(@PathParam("id") String caIDString)
    • renewCA

      @POST @Path("{id}/renew") javax.ws.rs.core.Response renewCA(@PathParam("id") String caIDString)
    • deleteCA

      @DELETE @Path("{id}") javax.ws.rs.core.Response deleteCA(@PathParam("id") String caIDString)