static fun certificateFingerprint(certificate: Path!): ByteArray!
(source)
Calculate the fingerprint for a PEM-encoded certificate.
certificate
- Path!: The path to a PEM-encoded certificate.
IOException
- If an IO error occurs.
Return
ByteArray!: The fingerprint bytes for the certificate.
static fun certificateFingerprint(certificate: Certificate!): ByteArray!
(source)
Calculate the fingerprint for certificate.
certificate
- Certificate!: The certificate.
CertificateEncodingException
- If the certificate cannot be encoded.
Return
ByteArray!: The fingerprint bytes for the certificate.