         public var pingInterval: UInt16 = 10
         public var useTLS = false
         public var securityLevel = StreamSocketSecurityLevel.tlSv1
+        public var allowUntrustCACertificate = false
         public var networkServiceType = StreamNetworkServiceTypeValue.background
         public var username: String? = nil
         public var password: String? = nil

//
//  LightMQTT.swift
//

import Foundation

fileprivate enum PacketType: UInt8 {

            return result
        }

        public init(port: Int? = nil, pingInterval: UInt16 = 10, useTLS: Bool = false, securityLevel: StreamSocketSecurityLevel = StreamSocketSecurityLevel.tlSv1, allowUntrustCACertificate: Bool = false, networkServiceType: StreamNetworkServiceTypeValue = StreamNetworkServiceTypeValue.background, username: String? = nil, password: String? = nil, clientId: String? = nil, bufferSize: Int = 4096, readQosClass: DispatchQoS.QoSClass = .background) {
            self.port = port
            self.pingInterval = pingInterval
            self.useTLS = useTLS
            self.securityLevel = securityLevel
            self.allowUntrustCACertificate = allowUntrustCACertificate
            self.networkServiceType = networkServiceType
            self.username = username
            self.password = password
