Пример #1
0
        public List <CertificateItem> GetCertificates()
        {
            var certs = _vaultManager.GetCertificates(reloadVaultConfig: true);
            var list  = new List <CertificateItem>();

            foreach (var i in certs)
            {
                list.Add(new CertificateItem {
                    Id = i.Id.ToString(), Name = i.IdentifierDns
                });
            }

            return(list);
        }