TLSTools

public class TLSTools : NSObject, URLSessionTaskDelegate

Helper class for the TLS workflows.

  • Retrieve the TLS certificate of a server.

    Declaration

    Swift

    public func fetchTLSCertificate(request: URLRequest, completion: @escaping (Data?, SecCertificate?, Error?) -> Void)