Class CertificateUtils
java.lang.Object
io.confluent.security.mtls.CertificateUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcertChainToString(Certificate[] certificates) Get a string representation of a certificate chain.static StringcertToString(Certificate cert) Get a short string representation of a certificate.
-
Method Details
-
certToString
Get a short string representation of a certificate.- Parameters:
cert- certificate- Returns:
- string representation of the certificate
-
certChainToString
Get a string representation of a certificate chain.- Parameters:
certificates- certificate chain- Returns:
- string representation of the certificate chain
-