Package be.ehealth.technicalconnector.service.etee

# Interface CertificateChecker

All Known Implementing Classes:
  `ConnectorCertificateChecker`

public interface CertificateChecker
Interface for the certifcation checker. Default impl : `ConnectorCertificateChecker`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isCertificateRevoked(File certFile)`
  `boolean`
  `isCertificateRevoked(File certFile, Instant validOn)`
  `boolean`
  `isCertificateRevoked(X509Certificate cert)`
  `boolean`
  `isCertificateRevoked(X509Certificate cert, Instant validOn)`
  `boolean`
  `isValidCertificateChain(List<X509Certificate> certificateChain)`
  `boolean`
  `isValidCertificateChain(List<X509Certificate> certificateChain, Instant validOn)`

- ## Method Details

  - ### isCertificateRevoked

    boolean isCertificateRevoked(File certFile) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### isCertificateRevoked

    boolean isCertificateRevoked(X509Certificate cert) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### isCertificateRevoked

    boolean isCertificateRevoked(File certFile, Instant validOn) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### isCertificateRevoked

    boolean isCertificateRevoked(X509Certificate cert, Instant validOn) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### isValidCertificateChain

    boolean isValidCertificateChain(List<X509Certificate> certificateChain) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`

  - ### isValidCertificateChain

    boolean isValidCertificateChain(List<X509Certificate> certificateChain, Instant validOn) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`