Example #1
0
 public AcmeCertificateLoader(
     CertificateSelector selector,
     IHttpChallengeResponseStore challengeStore,
     IOptions <LetsEncryptOptions> options,
     ILogger <AcmeCertificateLoader> logger,
     IHostEnvironment hostEnvironment,
     IServer server,
     IConfiguration config,
     TermsOfServiceChecker tosChecker,
     IEnumerable <ICertificateRepository> certificateRepositories,
     IClock clock,
     IHostApplicationLifetime applicationLifetime,
     TlsAlpnChallengeResponder tlsAlpnChallengeResponder,
     IAccountStore?accountStore = default)
 {
     _selector                = selector;
     _challengeStore          = challengeStore;
     _accountStore            = accountStore;
     _options                 = options;
     _logger                  = logger;
     _hostEnvironment         = hostEnvironment;
     _server                  = server;
     _config                  = config;
     _tosChecker              = tosChecker;
     _certificateRepositories = certificateRepositories;
     _clock = clock;
     _applicationLifetime       = applicationLifetime;
     _tlsAlpnChallengeResponder = tlsAlpnChallengeResponder;
 }
Example #2
0
 public StartupCertificateLoader(
     IEnumerable <ICertificateSource> certSources,
     CertificateSelector selector)
 {
     _certSources = certSources;
     _selector    = selector;
 }
Example #3
0
 public TlsAlpnChallengeResponder(
     CertificateSelector certificateSelector,
     IClock clock,
     ILogger <TlsAlpnChallengeResponder> logger)
 {
     _certificateSelector = certificateSelector ?? throw new ArgumentNullException(nameof(certificateSelector));
     _clock  = clock ?? throw new ArgumentNullException(nameof(clock));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Example #4
0
 public DeveloperCertLoader(
     IHostingEnvironment environment,
     CertificateSelector certSelector,
     ILogger <DeveloperCertLoader> logger)
 {
     _environment  = environment;
     _certSelector = certSelector;
     _logger       = logger;
 }
Example #5
0
 public AcmeCertificateLoader(
     CertificateSelector selector,
     IHttpChallengeResponseStore challengeStore,
     ICertificateStore certificateStore,
     IOptions <LetsEncryptOptions> options,
     ILogger <AcmeCertificateLoader> logger)
 {
     _selector         = selector;
     _challengeStore   = challengeStore;
     _certificateStore = certificateStore;
     _options          = options;
     _logger           = logger;
 }
Example #6
0
 public AcmeCertificateLoader(
     CertificateSelector selector,
     IHttpChallengeResponseStore challengeStore,
     ICertificateStore certificateStore,
     IOptions <LetsEncryptOptions> options,
     ILogger <AcmeCertificateLoader> logger,
     IHostEnvironment hostEnvironment,
     IServer server,
     IConfiguration config)
 {
     _selector         = selector;
     _challengeStore   = challengeStore;
     _certificateStore = certificateStore;
     _options          = options;
     _logger           = logger;
     _hostEnvironment  = hostEnvironment;
     _server           = server;
     _config           = config;
 }
Example #7
0
 public AcmeCertificateLoader(
     CertificateSelector selector,
     IHttpChallengeResponseStore challengeStore,
     IPregeneratedCertificateSource certificateStore,
     IOptions <LetsEncryptOptions> options,
     ILogger <AcmeCertificateLoader> logger,
     IHostEnvironment hostEnvironment,
     IServer server,
     IConfiguration config,
     IEnumerable <ICertificateRepository> certificateRepos,
     IFallbackCertificateRepository fallbackCertRepo)
 {
     _selector         = selector;
     _challengeStore   = challengeStore;
     _certificateStore = certificateStore;
     _options          = options;
     _logger           = logger;
     _hostEnvironment  = hostEnvironment;
     _server           = server;
     _config           = config;
     _certificateRepos = certificateRepos;
     _fallbackCertRepo = fallbackCertRepo;
 }
 public KestrelOptionsSetup(CertificateSelector certificateSelector, TlsAlpnChallengeResponder tlsAlpnChallengeResponder)
 {
     _certificateSelector       = certificateSelector ?? throw new ArgumentNullException(nameof(certificateSelector));
     _tlsAlpnChallengeResponder = tlsAlpnChallengeResponder ?? throw new ArgumentNullException(nameof(tlsAlpnChallengeResponder));
 }
Example #9
0
 public KestrelOptionsSetup(CertificateSelector certificateSelector)
 {
     _certificateSelector = certificateSelector ?? throw new ArgumentNullException(nameof(certificateSelector));
 }