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

# Interface CertificateCRLCheckStateUpdater<T extends CertificateBaseModel>

All Known Implementing Classes:
  `IdentityRepository`, `PersonalRepository`

public interface CertificateCRLCheckStateUpdater<T extends CertificateBaseModel>
Certificate state updater contract for revocation check of VITAM's identity and personal certificates.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `com.mongodb.client.FindIterable<org.bson.Document>`
  `findCertificate(String issuerDN, CertificateStatus certificateStatus)`
  return list of certificate filtered by issuerDN and certificateStatus
  `Class<T>`
  `getEntityModelType()`
  `void`
  `updateCertificateState(List<String> certificatesToUpdate, CertificateStatus certificateStatus)`
  set state for a given list of certificates

- ## Method Details

  - ### findCertificate

    com.mongodb.client.FindIterable<org.bson.Document> findCertificate(String issuerDN, CertificateStatus certificateStatus) throws InvalidParseOperationException
    return list of certificate filtered by issuerDN and certificateStatus
    Parameters:
      `issuerDN` -
      `certificateStatus` -
    Returns:
      list of identity certificate
    Throws:
      `InvalidParseOperationException`

  - ### updateCertificateState

    void updateCertificateState(List<String> certificatesToUpdate, CertificateStatus certificateStatus)
    set state for a given list of certificates
    Parameters:
      `certificatesToUpdate` -
      `certificateStatus` -

  - ### getEntityModelType

    Class<T> getEntityModelType()
    Returns:
      certificate model class type