All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.safelayer.rap.rest.RevocationResource Maven / Gradle / Ivy

Go to download

The PKI Connector RESTAPI is a library that helps developing new PKI Connectors for TrustedX

The newest version!
package com.safelayer.rap.rest;

import javax.enterprise.context.RequestScoped;
import javax.ws.rs.Consumes;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;

import com.safelayer.rap.json.model.revocation.JsonRevocationPutRequest;

@Path(RevocationResource.URIs.REVOCATIONS)
@RequestScoped
public interface RevocationResource {

	public static class URIs {
		public static final String REVOCATIONS = "/revocations";
	}
	
	@PUT
	@Consumes(MediaType.APPLICATION_JSON)
	@Produces(MediaType.APPLICATION_JSON)
	public Response revoke(JsonRevocationPutRequest request) throws Exception;
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy