Package eu.europa.esig.dss.pki.model
Interface CertEntityRepository<T extends CertEntity>
- Type Parameters:
T
-CertEntity
representing a repository entry.
- All Known Implementing Classes:
JAXBCertEntityRepository
public interface CertEntityRepository<T extends CertEntity>
This interface represents a repository for CertEntity objects.
It provides methods for querying and managing stored certificate entities.
-
Method Summary
Modifier and TypeMethodDescriptiongetByCertificateToken
(CertificateToken certificateToken) Retrieves the certificate entity associated with the given certificate token.Retrieves the issuer certificate entity for the given certificate entity.getRevocation
(T certEntity) Retrieves the revocation information for the given certificate entity.getRevocationList
(T parent) Retrieves the revocation list associated with the parent certificate entity.
-
Method Details
-
getByCertificateToken
Retrieves the certificate entity associated with the given certificate token.- Parameters:
certificateToken
- The certificate token to search for.- Returns:
- The certificate entity associated with the provided token, or null if not found.
-
getRevocationList
Retrieves the revocation list associated with the parent certificate entity.- Parameters:
parent
- The parent certificate entity.- Returns:
- A list containing the revocation entities associated with the parent certificate.
-
getRevocation
Retrieves the revocation information for the given certificate entity.- Parameters:
certEntity
- The certificate entity .- Returns:
- The revocation information .
-
getIssuer
Retrieves the issuer certificate entity for the given certificate entity.- Parameters:
certEntity
- The certificate entity.- Returns:
- The issuer certificate entity .
-