be.ehealth.technicalconnector.service.etee.impl

## Class ConnectorCertificateChecker

- java.lang.Object
- - be.ehealth.technicalconnector.service.etee.impl.ConnectorCertificateChecker

- All Implemented Interfaces:
    CertificateChecker

      public class ConnectorCertificateChecker
      extends Object
      implements CertificateChecker

  Connector Certificate checker used by the ETEE library. Implementation of `CertificateChecker`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConnectorCertificateChecker()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isCertificateRevoked(File certFile)`
    `boolean` | `isCertificateRevoked(File certFile, org.joda.time.DateTime validOn)`
    `boolean` | `isCertificateRevoked(X509Certificate cert)`
    `boolean` | `isCertificateRevoked(X509Certificate cert, org.joda.time.DateTime validOn)`
    `boolean` | `isValidCertificateChain(List<X509Certificate> certificateChain)`

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

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

- - ### Constructor Detail

    - #### ConnectorCertificateChecker

          public ConnectorCertificateChecker()

  - ### Method Detail

    - #### isCertificateRevoked

          public boolean isCertificateRevoked(File certFile)
                                       throws TechnicalConnectorException

      Specified by:
        `isCertificateRevoked` in interface `CertificateChecker`
      Throws:
        `TechnicalConnectorException`

    - #### isCertificateRevoked

          public boolean isCertificateRevoked(File certFile,
                                              org.joda.time.DateTime validOn)
                                       throws TechnicalConnectorException

      Specified by:
        `isCertificateRevoked` in interface `CertificateChecker`
      Throws:
        `TechnicalConnectorException`

    - #### isCertificateRevoked

          public boolean isCertificateRevoked(X509Certificate cert)
                                       throws TechnicalConnectorException

      Specified by:
        `isCertificateRevoked` in interface `CertificateChecker`
      Throws:
        `TechnicalConnectorException`

    - #### isCertificateRevoked

          public boolean isCertificateRevoked(X509Certificate cert,
                                              org.joda.time.DateTime validOn)
                                       throws TechnicalConnectorException

      Specified by:
        `isCertificateRevoked` in interface `CertificateChecker`
      Throws:
        `TechnicalConnectorException`

    - #### isValidCertificateChain

          public boolean isValidCertificateChain(List<X509Certificate> certificateChain)
                                          throws TechnicalConnectorException

      Specified by:
        `isValidCertificateChain` in interface `CertificateChecker`
      Throws:
        `TechnicalConnectorException`

Connector Package PERSDENTIST 4.2.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.