Пример #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(string keySource, EncryptionServices services = default(EncryptionServices), KeyVaultProperties keyVaultProperties = default(KeyVaultProperties))
 {
     Services           = services;
     KeySource          = keySource;
     KeyVaultProperties = keyVaultProperties;
     CustomInit();
 }
Пример #2
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="requireInfrastructureEncryption">A boolean indicating
 /// whether or not the service applies a secondary layer of encryption
 /// with platform managed keys for data at rest.</param>
 /// <param name="keyVaultProperties">Properties provided by key
 /// vault.</param>
 public Encryption(string keySource, EncryptionServices services = default(EncryptionServices), bool?requireInfrastructureEncryption = default(bool?), KeyVaultProperties keyVaultProperties = default(KeyVaultProperties))
 {
     Services  = services;
     KeySource = keySource;
     RequireInfrastructureEncryption = requireInfrastructureEncryption;
     KeyVaultProperties = keyVaultProperties;
     CustomInit();
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the Encryption class.
 /// </summary>
 public Encryption(EncryptionServices services = default(EncryptionServices))
 {
     Services = services;
 }