     }
 
     /**
-     Valid the trust and domain name.
-
-     - parameter trust: is the serverTrust to validate
-     - parameter domain: is the CN domain to validate
-
-     - returns: if the key was successfully validated
-     */
+    Valid the trust and domain name.
+
+    - parameter trust: is the serverTrust to validate
+    - parameter domain: is the CN domain to validate
+
+    - returns: if the key was successfully validated
+    */
     public func isValid(_ trust: SecTrust, domain: String?) -> Bool {
 
         var tries = 0

    }

    /**
     Get the public key from a certificate data

     - parameter data: is the certificate to pull the public key from

     - returns: a public key
     */
    func extractPublicKey(_ data: Data) -> SecKey? {
        guard let cert = SecCertificateCreateWithData(nil, data as CFData) else { return nil }


    func fromOffset(_ offset: Int) -> UnsafeBufferPointer<Element> {
        return UnsafeBufferPointer<Element>(start: baseAddress?.advanced(by: offset), count: count - offset)
    }

}

private let emptyBuffer = UnsafeBufferPointer<UInt8>(start: nil, count: 0)
