Exemple #1
0
 public KeyStorage(KeyStorageSettings options, ILogger <KeyStorage> logger)
 {
     EncryptionKeyPrimary        = options.EncryptionKeyPrimaryEnvName;
     EncryptionKeyRolloverPrefix = options.EncryptionKeyRolloverPrefixEnvName;
     HashSaltPrimary             = options.HashSaltPrimaryEnvName;
     this.logger = logger;
 }
Exemple #2
0
 public static KeyStorage CreateShared(KeyStorageSettings options, ILogger <KeyStorage> logger)
 {
     Shared = new KeyStorage(options, logger);
     return(Shared);
 }