public Bootstrap(Model.BootstrapServer item) { Url = item.Url; if (item.ServerCertificate != null) { ServerCertificate = new Certificate(item.ServerCertificate); } Model.PSKIdentity pskIdentity = item.GetPSKIdentity(); if (pskIdentity != null) { ServerIdentity = new PSKIdentity(pskIdentity); } }