Class CertificateUtils

java.lang.Object
io.confluent.security.mtls.CertificateUtils

public class CertificateUtils extends Object
  • Method Details

    • certToString

      public static String certToString(Certificate cert)
      Get a short string representation of a certificate.
      Parameters:
      cert - certificate
      Returns:
      string representation of the certificate
    • certChainToString

      public static String certChainToString(Certificate[] certificates)
      Get a string representation of a certificate chain.
      Parameters:
      certificates - certificate chain
      Returns:
      string representation of the certificate chain