Пример #1
0
        public override SSLCertificate installCertificate(SSLCertificate certificate, WebSite website)
        {
            var sslObjectService = new SSLModuleService80(SSLFlags, CCSUncPath, CCSCommonPassword);
			
			return sslObjectService.InstallCertificate(certificate, website);
        }
Пример #2
0
        public override List<SSLCertificate> getServerCertificates()
        {
			var sslObjectService = new SSLModuleService80(SSLFlags, CCSUncPath, CCSCommonPassword);
			
			return sslObjectService.GetServerCertificates();
        }
Пример #3
0
        public override SSLCertificate generateCSR(SSLCertificate certificate)
        {
            var sslObjectService = new SSLModuleService80(SSLFlags, CCSUncPath, CCSCommonPassword);
			
			sslObjectService.GenerateCsr(certificate);

			return certificate;
        }
Пример #4
0
        public override byte[] exportCertificate(string serialNumber, string password)
        {
            var sslObjectService = new SSLModuleService80(SSLFlags, CCSUncPath, CCSCommonPassword);
			
			return sslObjectService.ExportPfx(serialNumber, password);
        }
Пример #5
0
 public override SSLCertificate ImportCertificate(WebSite website)
 {
     var sslObjectService = new SSLModuleService80(SSLFlags, CCSUncPath, CCSCommonPassword);
     
     return sslObjectService.ImportCertificate(website);
 }
Пример #6
0
        public override SSLCertificate installPFX(byte[] certificate, string password, WebSite website)
        {
            var sslObjectService = new SSLModuleService80(SSLFlags, CCSUncPath, CCSCommonPassword);
			
			return sslObjectService.InstallPfx(certificate, password, website);
        }