static fun certificateHexFingerprint(certificate: Path): String (source)
Calculate the fingerprint for a PEM-encoded certificate.
certificate - The path to a PEM-encoded certificate.
IOException - If an IO error occurs.
Return
The fingerprint hex-string for the certificate.
static fun certificateHexFingerprint(certificate: Certificate): String (source)
Calculate the fingerprint for certificate.
certificate - The certificate.
CertificateEncodingException - If the certificate cannot be encoded.
Return
The fingerprint hex-string for the certificate.