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 Details

    • getByCertificateToken

      T getByCertificateToken(CertificateToken certificateToken)
      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

      Map<T,CertEntityRevocation> getRevocationList(T parent)
      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

      CertEntityRevocation getRevocation(T certEntity)
      Retrieves the revocation information for the given certificate entity.
      Parameters:
      certEntity - The certificate entity .
      Returns:
      The revocation information .
    • getIssuer

      CertEntity getIssuer(T certEntity)
      Retrieves the issuer certificate entity for the given certificate entity.
      Parameters:
      certEntity - The certificate entity.
      Returns:
      The issuer certificate entity .