public LetsEncryptClientFactory(
     IPersistenceService persistenceService,
     LetsEncryptOptions options,
     ILoggerFactory loggerFactory)
 {
     _options            = options;
     _loggerFactory      = loggerFactory;
     _persistenceService = persistenceService;
     _logger             = loggerFactory.CreateLogger <LetsEncryptClientFactory>();
 }
Beispiel #2
0
 public LetsEncryptRenewalService(
     ICertificateProvider certificateProvider,
     IEnumerable <ICertificateRenewalLifecycleHook> lifecycleHooks,
     ILogger <ILetsEncryptRenewalService> logger,
     LetsEncryptOptions options)
 {
     _certificateProvider = certificateProvider;
     _lifecycleHooks      = lifecycleHooks;
     _logger        = logger;
     _options       = options;
     _semaphoreSlim = new SemaphoreSlim(1);
 }
Beispiel #3
0
 public LetsEncryptClient(IAcmeContext acme, LetsEncryptOptions options, ILogger logger)
 {
     _logger  = logger;
     _acme    = acme;
     _options = options;
 }