Esempio n. 1
0
 public CryptoService(
     ISecureStorageService secureStorage,
     IKeyDerivationService keyDerivationService)
 {
     _secureStorage        = secureStorage;
     _keyDerivationService = keyDerivationService;
 }
Esempio n. 2
0
 public CommitmentTransactionService(ILoggerFactory loggerFactory, IKeyDerivationService derivationService, IChannelLoggingService channelLoggingService)
 {
     _logger                = loggerFactory.CreateLogger(GetType());
     _derivationService     = derivationService;
     _channelLoggingService = channelLoggingService;
 }