代码拉取完成,页面将自动刷新
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
namespace UMC.ITME
{
public class Certificater
{
static ConcurrentDictionary<string, int> _Hosts = new ConcurrentDictionary<string, int>();
public static ConcurrentDictionary<string, int> UnCertificatesHosts
{
get
{
return _Hosts;
}
}
public static ConcurrentDictionary<string, Certificater> Certificates
{
get
{
return _certificates;
}
}
static ConcurrentDictionary<string, Certificater> _certificates = new ConcurrentDictionary<string, Certificater>();
public string Name
{
get; private set;
}
public Certificater(String name, X509Certificate2 x509, uint time)
{
this.Name = name;
this.Certificate = x509;
this.Time = time;
}
public Certificater(String name, X509Certificate2 x509)
{
this.Name = name;
this.Certificate = x509;
this.Time = Utility.TimeSpan(x509.NotAfter);
}
public X509Certificate2 Certificate
{
get; private set;
}
public uint Time
{
get; private set;
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。