Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the Encryption class.
 /// </summary>
 /// <param name="keySource">The encryption keySource (provider).
 /// Possible values (case-insensitive):  Microsoft.Storage,
 /// Microsoft.Keyvault. Possible values include: 'Microsoft.Storage',
 /// 'Microsoft.Keyvault'</param>
 /// <param name="services">List of services which support
 /// encryption.</param>
 /// <param name="keyVaultProperties">Properties provided by key
 /// vault.</param>
 public Encryption(KeySource keySource, EncryptionServices services = default(EncryptionServices), KeyVaultProperties keyVaultProperties = default(KeyVaultProperties))
 {
     Services           = services;
     KeySource          = keySource;
     KeyVaultProperties = keyVaultProperties;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the Encryption class.
 /// </summary>
 /// <param name="services">List of services which support
 /// encryption.</param>
 public Encryption(EncryptionServices services = default(EncryptionServices))
 {
     Services = services;
     CustomInit();
 }