Skip to content

Instantly share code, notes, and snippets.

@tsafrir
tsafrir / SSLPinningValidator.swift
Last active March 16, 2021 08:10 — forked from angelolloqui/SSLPinningValidator.swift
SSL pinning validator with implementation for the Subject public key info (SPKI), based on the one at https://github.com/datatheorem/TrustKit
//
// SSLPinningValidator.swift
//
// Created by Angel Garcia on 17/08/16.
//
import Foundation
import Security
import CommonCrypto