7 writes to EncryptionMethod
System.Security.Cryptography.Xml (6)
System\Security\Cryptography\Xml\EncryptedData.cs (1)
32EncryptionMethod = new EncryptionMethod();
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
68EncryptionMethod = new EncryptionMethod();
System\Security\Cryptography\Xml\EncryptedXml.cs (4)
618ed.EncryptionMethod = new EncryptionMethod(EncryptedXml.XmlEncAES256Url); 622ek.EncryptionMethod = new EncryptionMethod(EncryptedXml.XmlEncRSA15Url); 664ed.EncryptionMethod = new EncryptionMethod(EncryptedXml.XmlEncAES256Url); 701ek.EncryptionMethod = new EncryptionMethod(encryptionMethod);
System.ServiceModel.Primitives (1)
System\ServiceModel\Security\Tokens\WrappedKeySecurityToken.cs (1)
103ek.EncryptionMethod = new EncryptionMethod(WrappingAlgorithm);
17 references to EncryptionMethod
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\EncryptedXmlDecryptor.cs (1)
160var useOAEP = encryptedKey.EncryptionMethod?.KeyAlgorithm == XmlEncRSAOAEPUrl;
System.Security.Cryptography.Xml (15)
System\Security\Cryptography\Xml\EncryptedData.cs (3)
34EncryptionMethod.LoadXml((encryptionMethodNode as XmlElement)!); 101if (EncryptionMethod != null) 102encryptedDataElement.AppendChild(EncryptionMethod.GetXml(document));
System\Security\Cryptography\Xml\EncryptedKey.cs (3)
70EncryptionMethod.LoadXml((encryptionMethodNode as XmlElement)!); 174if (EncryptionMethod != null) 175encryptedKeyElement.AppendChild(EncryptionMethod.GetXml(document));
System\Security\Cryptography\Xml\EncryptedXml.cs (9)
316if (encryptedData.EncryptionMethod == null) 318symmetricAlgorithmUri = encryptedData.EncryptionMethod.KeyAlgorithm; 429if (encryptedData.EncryptionMethod == null) 431symmetricAlgorithmUri = encryptedData.EncryptionMethod.KeyAlgorithm; 501fOAEP = (encryptedKey.EncryptionMethod != null && encryptedKey.EncryptionMethod.KeyAlgorithm == EncryptedXml.XmlEncRSAOAEPUrl); 520fOAEP = (encryptedKey.EncryptionMethod != null && encryptedKey.EncryptionMethod.KeyAlgorithm == EncryptedXml.XmlEncRSAOAEPUrl); 562SymmetricAlgorithm? symAlg = CryptoHelpers.CreateNonTransformFromName<SymmetricAlgorithm>(encryptedKey.EncryptionMethod!.KeyAlgorithm);
System.ServiceModel.Primitives (1)
System\ServiceModel\Security\WSSecurityJan2004.cs (1)
432WrappedKeySecurityToken wrappedKeyToken = CreateWrappedKeyToken(encryptedKey.Id, encryptedKey.EncryptionMethod.KeyAlgorithm,