Class AdminPersonalCertificateResource
- java.lang.Object
-
- fr.gouv.vitam.security.internal.rest.resource.AdminPersonalCertificateResource
-
@Path("/v1/api/personalCertificate") public class AdminPersonalCertificateResource extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AdminPersonalCertificateResource(PersonalCertificateService personalCertificateService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createIfNotPresent(byte[] certificate)
void
delete(byte[] certificate)
-
-
-
Constructor Detail
-
AdminPersonalCertificateResource
public AdminPersonalCertificateResource(PersonalCertificateService personalCertificateService)
-
-
Method Detail
-
createIfNotPresent
@POST @Consumes("application/octet-stream") public void createIfNotPresent(byte[] certificate) throws PersonalCertificateException, InvalidParseOperationException
-
delete
@DELETE @Consumes("application/octet-stream") public void delete(byte[] certificate) throws PersonalCertificateException
- Throws:
PersonalCertificateException
-
-