Exemplo n.º 1
0
 public AzureKeyVaultXmlEncryptor(IKeyVaultWrappingClient client, string keyId)
     : this(client, keyId, RandomNumberGenerator.Create())
 {
 }
Exemplo n.º 2
0
 internal AzureKeyVaultXmlEncryptor(IKeyVaultWrappingClient client, string keyId, RandomNumberGenerator randomNumberGenerator)
 {
     _client = client;
     _keyId  = keyId;
     _randomNumberGenerator = randomNumberGenerator;
 }
Exemplo n.º 3
0
 public AzureKeyVaultXmlDecryptor(IServiceProvider serviceProvider)
 {
     _client = serviceProvider.GetService <IKeyVaultWrappingClient>();
 }