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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.mongodb.client.FindIterable<org.bson.Document>
findCertificate(java.lang.String issuerDN, CertificateStatus certificateStatus)
return list of certificate filtered by issuerDN and certificateStatusjava.lang.Class<T>
getEntityModelType()
void
updateCertificateState(java.util.List<java.lang.String> certificatesToUpdate, CertificateStatus certificateStatus)
set state for a given list of certificates
-
-
-
Method Detail
-
findCertificate
com.mongodb.client.FindIterable<org.bson.Document> findCertificate(java.lang.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(java.util.List<java.lang.String> certificatesToUpdate, CertificateStatus certificateStatus)
set state for a given list of certificates- Parameters:
certificatesToUpdate
-certificateStatus
-
-
getEntityModelType
java.lang.Class<T> getEntityModelType()
- Returns:
- certificate model class type
-
-