Exemplo n.º 1
0
 internal CertificateLoader(
     IConfiguration certificatesConfiguration,
     ILoggerFactory loggerFactory,
     string environmentName,
     ICertificateFileLoader certificateFileLoader,
     ICertificateStoreLoader certificateStoreLoader)
 {
     _environmentName           = environmentName;
     _certificatesConfiguration = certificatesConfiguration;
     _certificateFileLoader     = certificateFileLoader;
     _certificateStoreLoader    = certificateStoreLoader;
     _logger = loggerFactory?.CreateLogger("Microsoft.AspNetCore.CertificateLoader");
 }
Exemplo n.º 2
0
 public CertificateStoreSource(ICertificateStoreLoader certificateStoreLoader, ILogger logger)
 {
     _certificateStoreLoader = certificateStoreLoader;
     _logger = logger;
 }