System.Configuration.RsaProtectedConfigurationProvider
Provides a ProtectedConfigurationProvider instance that uses RSA encryption to encrypt and decrypt configuration data.
namespace System.Configuration
{
public sealed class RsaProtectedConfigurationProvider : ProtectedConfigurationProvider
{
public string KeyContainerName { get; }
public string CspProviderName { get; }
public bool UseMachineContainer { get; }
public bool UseOAEP { get; }
public bool UseFIPS { get; }
public RSAParameters RsaPublicKey { get; }
public void AddKey(int keySize, bool exportable);
public void DeleteKey();
public void ImportKey(string xmlFileName, bool exportable);
public void ExportKey(string xmlFileName, bool includePrivateParameters);
public RsaProtectedConfigurationProvider();
}
}