public DiagnosticKeysController(ICacheOperations cacheOperations, ILogger <DiagnosticKeysController> logger,
                                 ITemporaryExposureKeyRepository temporaryExposureKeyRepository, IExposureKeyValidator exposureKeyValidator,
                                 IExposureConfigurationService exposureConfigurationService, KeyValidationConfiguration keyValidationRulesConfig,
                                 ICountryRepository countryRepository, AppSettingsConfig appSettingsConfig, IAddTemporaryExposureKeyService addTemporaryExposureKeyService)
 {
     _addTemporaryExposureKeyService = addTemporaryExposureKeyService;
     _cacheOperations = cacheOperations;
     _temporaryExposureKeyRepository = temporaryExposureKeyRepository;
     _exposureKeyValidator           = exposureKeyValidator;
     _logger = logger;
     _exposureConfigurationService = exposureConfigurationService;
     _keyValidationRulesConfig     = keyValidationRulesConfig;
     _appSettingsConfig            = appSettingsConfig;
     _countryRepository            = countryRepository;
 }
 public EFGSKeyStoreService(IKeyFilter filter,
                            ITemporaryExposureKeyRepository repository,
                            ILogger <EFGSKeyStoreService> logger,
                            IRiskCalculator riskCalculator,
                            IEpochConverter epochConverter,
                            IDaysSinceOnsetOfSymptomsDecoder daysSinceOnsetOfSymptomsDecoder,
                            IAddTemporaryExposureKeyService addTemporaryExposureKeyService)
 {
     _addTemporaryExposureKeyService = addTemporaryExposureKeyService;
     _keyFilter         = filter;
     _tempKeyRepository = repository;
     _logger            = logger;
     _riskCalculator    = riskCalculator;
     _epochConverter    = epochConverter;
     _daysSinceOnsetOfSymptomsDecoder = daysSinceOnsetOfSymptomsDecoder;
 }
Beispiel #3
0
 public DiagnosticKeysControllerV2(
     ILogger <DiagnosticKeysControllerV2> logger,
     IConfiguration configuration,
     IExposureKeyValidator exposureKeyValidator,
     IExposureConfigurationService exposureConfigurationService,
     KeyValidationConfiguration keyValidationConfig,
     IAddTemporaryExposureKeyService addTemporaryExposureKeyService,
     IZipFileInfoService zipFileInfoService)
 {
     _configuration        = configuration;
     _exposureKeyValidator = exposureKeyValidator;
     _logger                         = logger;
     _zipFileInfoService             = zipFileInfoService;
     _exposureConfigurationService   = exposureConfigurationService;
     _keyValidationConfig            = keyValidationConfig;
     _addTemporaryExposureKeyService = addTemporaryExposureKeyService;
 }
Beispiel #4
0
 public DiagnosticKeyControllerV3(
     ILogger <DiagnosticKeyControllerV3> logger,
     IExposureConfigurationService exposureConfigurationService,
     IAddTemporaryExposureKeyService addTemporaryExposureKeyService,
     IZipFileInfoService zipFileInfoService,
     AppSettingsConfig appSettingsConfig,
     ICacheOperationsV3 cacheOperations,
     IExposureKeyReader exposureKeyReader)
 {
     _cacheOperations                = cacheOperations;
     _logger                         = logger;
     _zipFileInfoService             = zipFileInfoService;
     _appSettingsConfig              = appSettingsConfig;
     _exposureConfigurationService   = exposureConfigurationService;
     _addTemporaryExposureKeyService = addTemporaryExposureKeyService;
     _exposureKeyReader              = exposureKeyReader;
 }