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