Builder

data class Builder(pinnedCertificates: MutableList<LegacyPinnedCertificate> = mutableListOf(), validateTrust: Boolean = true)

Builds a configured LegacyCertificatePinner.

Constructors

Link copied to clipboard
fun Builder(pinnedCertificates: MutableList<LegacyPinnedCertificate> = mutableListOf(), validateTrust: Boolean = true)

Functions

Link copied to clipboard
fun add(pattern: String, vararg pins: String): LegacyCertificatePinner.Builder

Pins certificates for pattern.

Link copied to clipboard
Link copied to clipboard

Whether to valid the trust of the server https://developer.apple.com/documentation/security/2980705-sectrustevaluatewitherror