SecurityPolicy
open class SecurityPolicy : NSObject
Undocumented
-
Undocumented
Declaration
Swift
open private(set) var pinningMode: SSLPinningMode { get }
-
Undocumented
Declaration
Swift
open var pinnedCertificates: Set<Data>? { get set }
-
Undocumented
Declaration
Swift
open var allowInvalidCertificates: Bool
-
Undocumented
Declaration
Swift
open var validatesDomainName: Bool
-
Undocumented
Declaration
Swift
public static func certificates(in bundle: Bundle) -> Set<Data>
-
Undocumented
Declaration
Swift
public static var `default`: SecurityPolicy { get }
-
Undocumented
Declaration
Swift
override public init()
-
Undocumented
Declaration
Swift
public convenience init(pinningMode: SSLPinningMode)
-
Undocumented
Declaration
Swift
public convenience init(pinningMode: SSLPinningMode, pinnedCertificates: Set<Data>)
-
Undocumented
Declaration
Swift
open func evaluateServerTrust(_ serverTrust: SecTrust, forDomain domain: String? = nil) -> Bool
-
Undocumented
Declaration
Swift
override open class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>