Module bus.http

Interface TrustRootIndex

All Known Implementing Classes:
BasicTrustRootIndex

public interface TrustRootIndex
An index of trusted root certificates.
Since:
Java 17+
Author:
Kimi Liu
  • Method Details

    • findByIssuerAndSignature

      X509Certificate findByIssuerAndSignature(X509Certificate cert)
      Finds a trusted CA certificate that is an issuer of cert and has a valid signature.
      Parameters:
      cert - The certificate for which to find the issuer.
      Returns:
      The signing CA certificate, or null if no trusted issuer is found.