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