Package fr.gouv.vitam.security.internal.rest.resource

# Class AdminPersonalCertificateResource

java.lang.Object
fr.gouv.vitam.security.internal.rest.resource.AdminPersonalCertificateResource

@Path("/v1/api/personalCertificate") public class AdminPersonalCertificateResource extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AdminPersonalCertificateResource(PersonalCertificateService personalCertificateService)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `createIfNotPresent(byte[] certificate)`
  `void`
  `delete(byte[] certificate)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AdminPersonalCertificateResource

    public AdminPersonalCertificateResource(PersonalCertificateService personalCertificateService)

- ## Method Details

  - ### createIfNotPresent

    @POST @Consumes("application/octet-stream") public void createIfNotPresent(byte[] certificate) throws PersonalCertificateException, InvalidParseOperationException
    Throws:
      `PersonalCertificateException`
      `InvalidParseOperationException`

  - ### delete

    @DELETE @Consumes("application/octet-stream") public void delete(byte[] certificate) throws PersonalCertificateException
    Throws:
      `PersonalCertificateException`