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

# Class CRLServiceImpl

java.lang.Object
fr.gouv.vitam.security.internal.rest.service.CRLServiceImpl

All Implemented Interfaces:
  `CRLService`

public class CRLServiceImpl extends Object implements CRLService

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CRLServiceImpl(IdentityRepository identityRepository, PersonalRepository personalRepository)`
  `CRLServiceImpl(IdentityRepository identityRepository, PersonalRepository personalRepository, AlertService alertService)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `checkIdentityWithCRL(byte[] crlCert)`
  Check all identity and personal certificates against given CRL

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

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

- ## Constructor Details

  - ### CRLServiceImpl

    public CRLServiceImpl(IdentityRepository identityRepository, PersonalRepository personalRepository)

  - ### CRLServiceImpl

    public CRLServiceImpl(IdentityRepository identityRepository, PersonalRepository personalRepository, AlertService alertService)

- ## Method Details

  - ### checkIdentityWithCRL

    public void checkIdentityWithCRL(byte[] crlCert) throws CertificateException, InvalidParseOperationException, CRLException
    Check all identity and personal certificates against given CRL
    Specified by:
      `checkIdentityWithCRL` in interface `CRLService`
    Parameters:
      `crlCert` - CRL certificate (must be in DER format, see RFC 3280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile )
    Throws:
      `CertificateException`
      `InvalidParseOperationException`
      `CRLException`