/// <summary> /// <para>Initialize a new instance of the <see cref="EncryptionSettingsNode"/> class with a <see cref="keyAlgorithmPairStorageProviderData"/> object.</para> /// </summary> /// <param name="keyAlgorithmPairStorageProviderData"><para>The <see cref="IKeyAlgorithmPairStorageProvider"/> configuration data.</para></param> public EncryptionSettingsNode(KeyAlgorithmPairStorageProviderData keyAlgorithmPairStorageProviderData) : this() { if (keyAlgorithmPairStorageProviderData == null) { throw new ArgumentNullException("keyAlgorithmPairStorageProviderData"); } this.keyAlgorithmPairStorageProviderData = keyAlgorithmPairStorageProviderData; }
private FileKeyAlgorithmPairStorageProviderData GetFileKeyAlgorithmPairStorageProviderData() { KeyAlgorithmPairStorageProviderData keyAlgorithmPairStorageProviderData = runtimeConfigurationView.GetKeyAlgorithmPairStorageProviderData(); ArgumentValidation.CheckExpectedType(keyAlgorithmPairStorageProviderData, typeof(FileKeyAlgorithmPairStorageProviderData)); return((FileKeyAlgorithmPairStorageProviderData)keyAlgorithmPairStorageProviderData); }
/// <summary> /// <para>Initialize a new instance of the <see cref="EncryptionSettingsNode"/> class with a <see cref="keyAlgorithmPairStorageProviderData"/> object.</para> /// </summary> /// <param name="keyAlgorithmPairStorageProviderData"><para>The <see cref="IKeyAlgorithmPairStorageProvider"/> configuration data.</para></param> public EncryptionSettingsNode(KeyAlgorithmPairStorageProviderData keyAlgorithmPairStorageProviderData) : this() { if (keyAlgorithmPairStorageProviderData == null) { throw new ArgumentNullException("keyAlgorithmPairStorageProviderData"); } this.keyAlgorithmPairStorageProviderData = keyAlgorithmPairStorageProviderData; }
/// <summary> /// <para>Initializes a new instance of the <see cref="KeyAlgorithmStorageProviderNode"/> class with a <see cref="keyAlgorithmPairStorageProviderData"/> object.</para> /// </summary> /// <param name="keyAlgorithmPairStorageProviderData"> /// <para>The runtime configuration data for the <see cref="IKeyAlgorithmPairStorageProvider"/>.</para> /// </param> protected KeyAlgorithmStorageProviderNode(KeyAlgorithmPairStorageProviderData keyAlgorithmPairStorageProviderData) : base() { this.keyAlgorithmPairStorageProviderData = keyAlgorithmPairStorageProviderData; }
public TestKeyAlgorithmPairStorageProviderConfigurationView(ConfigurationContext context, KeyAlgorithmPairStorageProviderData keyAlgorithmPairStorageProviderData) : base(context) { this.keyAlgorithmPairStorageProviderData = keyAlgorithmPairStorageProviderData; }
public TestKeyAlgorithmPairStorageProviderConfigurationView(ConfigurationContext context, KeyAlgorithmPairStorageProviderData keyAlgorithmPairStorageProviderData) : base(context) { this.keyAlgorithmPairStorageProviderData = keyAlgorithmPairStorageProviderData; }
/// <summary> /// <para>Initializes a new instance of the <see cref="KeyAlgorithmStorageProviderNode"/> class with a <see cref="keyAlgorithmPairStorageProviderData"/> object.</para> /// </summary> /// <param name="keyAlgorithmPairStorageProviderData"> /// <para>The runtime configuration data for the <see cref="IKeyAlgorithmPairStorageProvider"/>.</para> /// </param> protected KeyAlgorithmStorageProviderNode(KeyAlgorithmPairStorageProviderData keyAlgorithmPairStorageProviderData) : base() { this.keyAlgorithmPairStorageProviderData = keyAlgorithmPairStorageProviderData; }