6 writes to EncryptionMethod
System.Security.Cryptography.Xml (6)
System\Security\Cryptography\Xml\EncryptedData.cs (1)
32
EncryptionMethod
= new EncryptionMethod();
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
72
EncryptionMethod
= new EncryptionMethod();
System\Security\Cryptography\Xml\EncryptedXml.cs (4)
565
ed.
EncryptionMethod
= new EncryptionMethod(EncryptedXml.XmlEncAES256Url);
569
ek.
EncryptionMethod
= new EncryptionMethod(EncryptedXml.XmlEncRSA15Url);
617
ed.
EncryptionMethod
= new EncryptionMethod(EncryptedXml.XmlEncAES256Url);
654
ek.
EncryptionMethod
= new EncryptionMethod(encryptionMethod);
16 references to EncryptionMethod
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\EncryptedXmlDecryptor.cs (1)
160
var useOAEP = encryptedKey.
EncryptionMethod
?.KeyAlgorithm == XmlEncRSAOAEPUrl;
System.Security.Cryptography.Xml (15)
System\Security\Cryptography\Xml\EncryptedData.cs (3)
34
EncryptionMethod
.LoadXml((encryptionMethodNode as XmlElement)!);
96
if (
EncryptionMethod
!= null)
97
encryptedDataElement.AppendChild(
EncryptionMethod
.GetXml(document));
System\Security\Cryptography\Xml\EncryptedKey.cs (3)
74
EncryptionMethod
.LoadXml((encryptionMethodNode as XmlElement)!);
173
if (
EncryptionMethod
!= null)
174
encryptedKeyElement.AppendChild(
EncryptionMethod
.GetXml(document));
System\Security\Cryptography\Xml\EncryptedXml.cs (9)
281
if (encryptedData.
EncryptionMethod
== null)
283
symmetricAlgorithmUri = encryptedData.
EncryptionMethod
.KeyAlgorithm;
377
if (encryptedData.
EncryptionMethod
== null)
379
symmetricAlgorithmUri = encryptedData.
EncryptionMethod
.KeyAlgorithm;
436
fOAEP = (encryptedKey.
EncryptionMethod
!= null && encryptedKey.
EncryptionMethod
.KeyAlgorithm == EncryptedXml.XmlEncRSAOAEPUrl);
455
fOAEP = (encryptedKey.
EncryptionMethod
!= null && encryptedKey.
EncryptionMethod
.KeyAlgorithm == EncryptedXml.XmlEncRSAOAEPUrl);
497
SymmetricAlgorithm? symAlg = CryptoHelpers.CreateNonTransformFromName<SymmetricAlgorithm>(encryptedKey.
EncryptionMethod
!.KeyAlgorithm);