6 writes to EncryptionMethod
System.Security.Cryptography.Xml (6)
System\Security\Cryptography\Xml\EncryptedData.cs (1)
29
EncryptionMethod
= new EncryptionMethod();
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
65
EncryptionMethod
= new EncryptionMethod();
System\Security\Cryptography\Xml\EncryptedXml.cs (4)
540
ed.
EncryptionMethod
= new EncryptionMethod(EncryptedXml.XmlEncAES256Url);
544
ek.
EncryptionMethod
= new EncryptionMethod(EncryptedXml.XmlEncRSA15Url);
586
ed.
EncryptionMethod
= new EncryptionMethod(EncryptedXml.XmlEncAES256Url);
623
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)
31
EncryptionMethod
.LoadXml((encryptionMethodNode as XmlElement)!);
93
if (
EncryptionMethod
!= null)
94
encryptedDataElement.AppendChild(
EncryptionMethod
.GetXml(document));
System\Security\Cryptography\Xml\EncryptedKey.cs (3)
67
EncryptionMethod
.LoadXml((encryptionMethodNode as XmlElement)!);
166
if (
EncryptionMethod
!= null)
167
encryptedKeyElement.AppendChild(
EncryptionMethod
.GetXml(document));
System\Security\Cryptography\Xml\EncryptedXml.cs (9)
274
if (encryptedData.
EncryptionMethod
== null)
276
symmetricAlgorithmUri = encryptedData.
EncryptionMethod
.KeyAlgorithm;
367
if (encryptedData.
EncryptionMethod
== null)
369
symmetricAlgorithmUri = encryptedData.
EncryptionMethod
.KeyAlgorithm;
423
fOAEP = (encryptedKey.
EncryptionMethod
!= null && encryptedKey.
EncryptionMethod
.KeyAlgorithm == EncryptedXml.XmlEncRSAOAEPUrl);
442
fOAEP = (encryptedKey.
EncryptionMethod
!= null && encryptedKey.
EncryptionMethod
.KeyAlgorithm == EncryptedXml.XmlEncRSAOAEPUrl);
484
SymmetricAlgorithm? symAlg = CryptoHelpers.CreateNonTransformFromName<SymmetricAlgorithm>(encryptedKey.
EncryptionMethod
!.KeyAlgorithm);