Class CRLCheckingService

java.lang.Object
de.xima.fc.cryptography.BouncyCastleSupport
de.xima.fc.certificate.ms.impl.CRLCheckingService

@ApplicationScoped public class CRLCheckingService extends BouncyCastleSupport
Service for checking the revocation status of X.509 certificates using CRLs (Certificate Revocation Lists). This service caches CRLs to reduce network overhead and supports configurable refresh periods.
  • Constructor Details

    • CRLCheckingService

      public CRLCheckingService()
  • Method Details

    • isRevoked

      public boolean isRevoked(X509Certificate cert) throws FcCertificateManagementException
      Checks if a given X.509 certificate is revoked by consulting its CRL distribution points.
      Parameters:
      cert - The X.509 certificate to check.
      Returns:
      true if the certificate is revoked, false otherwise.
      Throws:
      FcCertificateManagementException - If there is an issue with CRL processing or retrieval.