Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

DisabledEvaluator

mattt edited this page Sep 18, 2020 · 2 revisions

DisabledEvaluator

Disables all evaluation which in turn will always consider any server trust as valid.

public final class DisabledEvaluator:​ ServerTrustEvaluating

THIS EVALUATOR SHOULD NEVER BE USED IN PRODUCTION!

Inheritance

ServerTrustEvaluating

Initializers

init()

Creates an instance.

public init()

Methods

evaluate(_:​forHost:​)

public func evaluate(_ trust:​ SecTrust, forHost host:​ String) throws
Types
Protocols
Global Typealiases
Clone this wiki locally