PinnedCertificate

data class PinnedCertificate(pattern: String, hashAlgorithm: String, hash: String)

Represents a pinned certificate. Recommended to use Builder.add to construct CertificatePinner

Constructors

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

Types

Link copied to clipboard
object Companion

Functions

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

Properties

Link copied to clipboard
val hash: String

The hash of the pinned certificate using hashAlgorithm.

Link copied to clipboard
val hashAlgorithm: String

Either sha1/ or sha256/.