8 writes to EncryptionMethod
System.Configuration (2)
System\Configuration\RSAProtectedConfigurationProvider.cs (2)
66ed.EncryptionMethod = GetSymEncryptionMethod(); 70ek.EncryptionMethod = new EncryptionMethod(UseOAEP ? EncryptedXml.XmlEncRSAOAEPUrl : EncryptedXml.XmlEncRSA15Url);
System.Security (6)
system\security\cryptography\xml\encrypteddata.cs (1)
41this.EncryptionMethod = new EncryptionMethod();
system\security\cryptography\xml\encryptedkey.cs (1)
85this.EncryptionMethod = new EncryptionMethod();
system\security\cryptography\xml\encryptedxml.cs (4)
538ed.EncryptionMethod = new EncryptionMethod(EncryptedXml.XmlEncAES256Url); 542ek.EncryptionMethod = new EncryptionMethod(EncryptedXml.XmlEncRSA15Url); 582ed.EncryptionMethod = new EncryptionMethod(EncryptedXml.XmlEncAES256Url); 609ek.EncryptionMethod = new EncryptionMethod(encryptionMethod);
17 references to EncryptionMethod
System.Configuration (2)
System\Configuration\FipsAwareEncryptedXml.cs (2)
62(symmetricAlgorithmUri != null || encryptedData.EncryptionMethod != null)) { 65symmetricAlgorithmUri = encryptedData.EncryptionMethod.KeyAlgorithm;
System.Security (15)
system\security\cryptography\xml\encrypteddata.cs (3)
43this.EncryptionMethod.LoadXml(encryptionMethodNode as XmlElement); 100if (this.EncryptionMethod != null) 101encryptedDataElement.AppendChild(this.EncryptionMethod.GetXml(document));
system\security\cryptography\xml\encryptedkey.cs (3)
87this.EncryptionMethod.LoadXml(encryptionMethodNode as XmlElement); 175if (this.EncryptionMethod != null) 176encryptedKeyElement.AppendChild(this.EncryptionMethod.GetXml(document));
system\security\cryptography\xml\encryptedxml.cs (9)
309if (encryptedData.EncryptionMethod == null) 311symmetricAlgorithmUri = encryptedData.EncryptionMethod.KeyAlgorithm; 390if (encryptedData.EncryptionMethod == null) 392symmetricAlgorithmUri = encryptedData.EncryptionMethod.KeyAlgorithm; 438fOAEP = (encryptedKey.EncryptionMethod != null && encryptedKey.EncryptionMethod.KeyAlgorithm == EncryptedXml.XmlEncRSAOAEPUrl); 452fOAEP = (encryptedKey.EncryptionMethod != null && encryptedKey.EncryptionMethod.KeyAlgorithm == EncryptedXml.XmlEncRSAOAEPUrl); 487SymmetricAlgorithm symAlg = Utils.CreateFromName<SymmetricAlgorithm>(encryptedKey.EncryptionMethod.KeyAlgorithm);