2 types derived from ProtectedConfigurationProvider
System.Configuration (2)
System\Configuration\DPAPIProtectedConfigurationProvider.cs (1)
22public sealed class DpapiProtectedConfigurationProvider : ProtectedConfigurationProvider
System\Configuration\RSAProtectedConfigurationProvider.cs (1)
23public sealed class RsaProtectedConfigurationProvider : ProtectedConfigurationProvider
40 references to ProtectedConfigurationProvider
System.Configuration (34)
System\Configuration\BaseConfigurationRecord.cs (4)
2055internal ProtectedConfigurationProvider GetProtectionProviderFromName(string providerName, bool throwIfNotFound) { 2056ProtectedConfigurationProvider provider = null; 4181protected virtual string CallHostDecryptSection(string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfig) { 4223private ConfigXmlReader DecryptConfigSection(ConfigXmlReader reader, ProtectedConfigurationProvider protectionProvider) {
System\Configuration\DPAPIProtectedConfigurationProvider.cs (2)
46ProtectedConfigurationProvider.LoadXml(xmlDocument, decText); 60ProtectedConfigurationProvider.LoadXml(xmlDocument, xmlText);
System\Configuration\Internal\DelegatingConfigHost.cs (2)
216public virtual string DecryptSection(string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) { 220public virtual string EncryptSection(string clearTextXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) {
System\Configuration\Internal\IInternalConfigHost.cs (2)
99string DecryptSection(string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection); 100string EncryptSection(string clearTextXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection);
System\Configuration\Internal\InternalConfigHost.cs (2)
427string IInternalConfigHost.DecryptSection(string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) { 431string IInternalConfigHost.EncryptSection(string clearTextXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) {
System\Configuration\ProtectedConfigurationProviderCollection.cs (4)
26if( !( provider is ProtectedConfigurationProvider ) ) 28throw new ArgumentException(SR.GetString(SR.Config_provider_must_implement_type, typeof(ProtectedConfigurationProvider).ToString()), "provider"); 34new public ProtectedConfigurationProvider this[string name] 38return (ProtectedConfigurationProvider)base[name];
System\Configuration\ProtectedConfigurationSection.cs (10)
19internal ProtectedConfigurationProvider GetProviderFromName(string providerName) 42private ProtectedConfigurationProvider CreateAndInitializeProviderWithAssert(Type t, ProviderSettings pn) { 43ProtectedConfigurationProvider provider = (ProtectedConfigurationProvider)TypeUtil.CreateInstanceWithReflectionPermission(t); 55private ProtectedConfigurationProvider InstantiateProvider(ProviderSettings pn) 58if (!typeof(ProtectedConfigurationProvider).IsAssignableFrom(t)) { 71internal static string DecryptSection(string encryptedXml, ProtectedConfigurationProvider provider) { 73ProtectedConfigurationProvider.LoadXml(doc, encryptedXml); 89internal static string EncryptSection(string clearXml, ProtectedConfigurationProvider provider) { 92ProtectedConfigurationProvider.LoadXml(xmlDocument, clearXml);
System\Configuration\RSAProtectedConfigurationProvider.cs (2)
35ProtectedConfigurationProvider.LoadXml(xmlDocument, encryptedNode.OuterXml); 58ProtectedConfigurationProvider.LoadXml(xmlDocument, "<foo>" + node.OuterXml + "</foo>");
System\Configuration\RuntimeConfigurationRecord.cs (1)
127protected override string CallHostDecryptSection(string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfig) {
System\Configuration\SectionInformation.cs (3)
58private ProtectedConfigurationProvider _protectionProvider; 626public ProtectedConfigurationProvider ProtectionProvider { 639ProtectedConfigurationProvider protectedConfigurationProvider = null;
System\Configuration\SectionInput.cs (2)
27private ProtectedConfigurationProvider _protectionProvider; 104internal ProtectedConfigurationProvider ProtectionProvider {
System.Web (6)
Configuration\RemoteWebConfigurationHost.cs (3)
315public override string DecryptSection(string encryptedXmlString, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) { 318public override string EncryptSection(string clearTextXmlString, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection) { 322private string CallEncryptOrDecrypt(bool doEncrypt, string xmlString, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfigSection)
Configuration\RemoteWebConfigurationHostServer.cs (3)
223if (!typeof(ProtectedConfigurationProvider).IsAssignableFrom(t)) { 227ProtectedConfigurationProvider provider = (ProtectedConfigurationProvider)Activator.CreateInstance(t);