public BlogConfigurationService( ILogger <BlogConfigurationService> logger, IAesEncryptionService encryptionService, IRepository <BlogConfiguration> blogConfiguration) { _encryptionService = encryptionService; _blogConfigurationRepository = blogConfiguration; if (null != logger) { Logger = logger; } }
public BlogConfig( ILogger <BlogConfig> logger, IAesEncryptionService encryptionService, IConfiguration configuration) { _encryptionService = encryptionService; _configuration = configuration; _logger = logger; BlogOwnerSettings = new BlogOwnerSettings(); ContentSettings = new ContentSettings(); GeneralSettings = new GeneralSettings(); EmailSettings = new EmailSettings(); FeedSettings = new FeedSettings(); WatermarkSettings = new WatermarkSettings(); Initialize(); }
public DecryptionValueConverter(IAesEncryptionService aes) { _aesEnctyption = aes; }
public EncryptThenMacService(IAesEncryptionService aesEncryptionService, IHmacService hmacService, ISerializationService serializationService) { _aesEncryptionService = aesEncryptionService; _hmacService = hmacService; _serializationService = serializationService; }
public CryptoService(IAesEncryptionService aesEncryptionService) { this.aesEncryptionService = aesEncryptionService; }