@Path(value="/v1/api/identity") public class IdentityResource extends Object
Constructor and Description |
---|
IdentityResource(IdentityService identityService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
contextIsUsed(String contextId) |
IdentityModel |
findIdentityByCertificate(byte[] certificate) |
public IdentityResource(IdentityService identityService)
identityService
- @GET @Consumes(value="application/octet-stream") @Produces(value="application/json") public IdentityModel findIdentityByCertificate(byte[] certificate) throws InvalidParseOperationException, CertificateException
certificate
- CertificateException
InvalidParseOperationException
@GET @Path(value="context/{contextId}") @Produces(value="application/json") public javax.ws.rs.core.Response contextIsUsed(@PathParam(value="contextId") String contextId)
contextId
- Copyright © 2018 Vitam. All rights reserved.