Builder
data class Builder(pinnedCertificates: MutableList<PinnedCertificate>, validateTrust: Boolean)
Content copied to clipboard
Builds a configured CertificatePinner.
Constructors
Link copied to clipboard
fun Builder(pinnedCertificates: MutableList<PinnedCertificate> = mutableListOf(), validateTrust: Boolean = true)
Content copied to clipboard
Functions
Link copied to clipboard
Pins certificates for pattern
.
Link copied to clipboard
Build into a CertificatePinner
Link copied to clipboard
Whether to valid the trust of the server https://developer.apple.com/documentation/security/2980705-sectrustevaluatewitherror