LegacyPinnedCertificate

data class LegacyPinnedCertificate(pattern: String, val hashAlgorithm: String, val hash: String)

Represents a pinned certificate. Recommended using Builder.add to construct LegacyCertificatePinner

Constructors

Link copied to clipboard
constructor(pattern: String, hashAlgorithm: String, hash: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The hash of the pinned certificate using hashAlgorithm.

Link copied to clipboard

Either sha1/ or sha256/.

Functions

Link copied to clipboard
open override fun toString(): String