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 TypeMethodDescriptioncom.mongodb.client.FindIterable<org.bson.Document>
findCertificate
(String issuerDN, CertificateStatus certificateStatus) return list of certificate filtered by issuerDN and certificateStatusvoid
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
set state for a given list of certificates- Parameters:
certificatesToUpdate
-certificateStatus
-
-
getEntityModelType
- Returns:
- certificate model class type
-