java.lang.Object
com.couchbase.columnar.client.java.internal.Certificates

@Internal public class Certificates extends Object
Utility methods for reading TLS certificates from various locations.
  • Method Details

    • parse

      public static List<X509Certificate> parse(String pemCertificates)
      Parameters:
      pemCertificates - The PEM-encoded certificate(s) to decode and return.
    • read

      public static List<X509Certificate> read(InputStream pemStream)
    • read

      public static List<X509Certificate> read(Path pemFilePath)
    • getJvmCertificates

      public static List<X509Certificate> getJvmCertificates()
      Returns the Certificate Authority (CA) certificates trusted by the JVM's default trust manager.
    • getCapellaCertificates

      public static List<X509Certificate> getCapellaCertificates()
      Returns the Certificate Authority (CA) certificates used by Couchbase Capella.
    • getNonProdCertificates

      public static List<X509Certificate> getNonProdCertificates()
      Returns the Certificate Authority (CA) certificates used by Couchbase internal pre-production clusters.