be.fgov.ehealth.etee.crypto.cert

## Interface CertPathChecker

-     public interface CertPathChecker

  Validates path of certificate chain.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `CryptoResult<CertificateStatus>` | `validate(java.util.List<java.security.cert.X509Certificate> certificateChain)`
    `CryptoResult<CertificateStatus>` | `validate(java.util.List<java.security.cert.X509Certificate> certificateChain, java.util.Date validationDate)`

- - ### Method Detail

    - #### validate

          CryptoResult<CertificateStatus> validate(java.util.List<java.security.cert.X509Certificate> certificateChain)

      Returns:
        result with status, optional errors encountered or a fatal error.

    - #### validate

          CryptoResult<CertificateStatus> validate(java.util.List<java.security.cert.X509Certificate> certificateChain,
                                                   java.util.Date validationDate)

      Parameters:
        `validationDate` - date for which the certificate validation period must match. If null, current date is used.
      Returns:
        result with status, optional errors encountered or a fatal error.

Copyright © 2021 eHealth. All rights reserved.