@JvmStatic fun pin(certificate: Certificate): String
Returns the SHA-256 of certificate's public key.
certificate
In OkHttp 3.1.2 and earlier, this returned a SHA-1 hash of the public key. Both types are supported, but SHA-256 is preferred.