Builder

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

Builds a configured CertificatePinner.

Constructors

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

Functions

Link copied to clipboard
fun add(pattern: String, vararg pins: String): CertificatePinner.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