Package be.ehealth.technicalconnector.service.etee.impl

# Class AbstractRevocationStatusChecker

java.lang.Object
be.ehealth.technicalconnector.service.etee.impl.AbstractRevocationStatusChecker

All Implemented Interfaces:
  `RevocationStatusChecker`, `SessionServiceWithCache`

Direct Known Subclasses:
  `ConnectorCRLRevocationStatusChecker`, `ConnectorOCSPRevocationStatusChecker`

public abstract class AbstractRevocationStatusChecker extends Object implements RevocationStatusChecker, SessionServiceWithCache
`RevocationStatusChecker` using the extension of the `X509Certificate`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractRevocationStatusChecker()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `flushCache()`
  Method to flush the cache after invoking this method.
  `boolean`
  `isRevoked(X509Certificate x509certificate)`
  `boolean`
  `isRevoked(X509Certificate cert, Instant validOn)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AbstractRevocationStatusChecker

    public AbstractRevocationStatusChecker()

- ## Method Details

  - ### isRevoked

    public boolean isRevoked(X509Certificate x509certificate) throws CertificateException
    Specified by:
      `isRevoked` in interface `RevocationStatusChecker`
    Throws:
      `CertificateException`

  - ### isRevoked

    public boolean isRevoked(X509Certificate cert, Instant validOn) throws CertificateException
    Specified by:
      `isRevoked` in interface `RevocationStatusChecker`
    Throws:
      `CertificateException`

  - ### flushCache

    public void flushCache()
    Description copied from interface: `SessionServiceWithCache`
    Method to flush the cache after invoking this method.
    Specified by:
      `flushCache` in interface `SessionServiceWithCache`