1 write to EncryptedElement
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\EncryptedXmlInfo.cs (1)
34EncryptedElement = encryptedElement;
15 references to EncryptedElement
Microsoft.AspNetCore.DataProtection (2)
XmlEncryption\EncryptedXmlInfo.cs (1)
40/// decrypt the value stored in <see cref="EncryptedElement"/>.
XmlEncryption\XmlEncryptionExtensions.cs (1)
152entry.Value.EncryptedElement));
Microsoft.AspNetCore.DataProtection.Tests (13)
XmlEncryption\CertificateXmlEncryptionTests.cs (4)
50Assert.Equal(XName.Get("EncryptedData", "http://www.w3.org/2001/04/xmlenc#"), encryptedXmlInfo.EncryptedElement.Name); 51Assert.Equal("http://www.w3.org/2001/04/xmlenc#Element", (string)encryptedXmlInfo.EncryptedElement.Attribute("Type")); 52Assert.DoesNotContain("265ee4ea-ade2-43b1-b706-09b259e58b6b", encryptedXmlInfo.EncryptedElement.ToString(), StringComparison.OrdinalIgnoreCase); 55var roundTrippedElement = decryptor.Decrypt(encryptedXmlInfo.EncryptedElement);
XmlEncryption\DpapiNGXmlEncryptionTests.cs (2)
25Assert.DoesNotContain("265ee4ea-ade2-43b1-b706-09b259e58b6b", encryptedXmlInfo.EncryptedElement.ToString(), StringComparison.OrdinalIgnoreCase); 28var roundTrippedElement = decryptor.Decrypt(encryptedXmlInfo.EncryptedElement);
XmlEncryption\DpapiXmlEncryptionTests.cs (2)
27Assert.DoesNotContain("265ee4ea-ade2-43b1-b706-09b259e58b6b", encryptedXmlInfo.EncryptedElement.ToString(), StringComparison.OrdinalIgnoreCase); 30var roundTrippedElement = decryptor.Decrypt(encryptedXmlInfo.EncryptedElement);
XmlEncryption\EncryptedXmlDecryptorTests.cs (4)
25decryptor.Decrypt(encryptedXml.EncryptedElement)); 43decryptor.Decrypt(encryptedXml.EncryptedElement)); 61decryptor.Decrypt(encryptedXml.EncryptedElement)); 82var decrypted = decryptor.Decrypt(encryptedXml.EncryptedElement);
XmlEncryption\NullXmlEncryptionTests.cs (1)
34XmlAssert.Equal("<unencryptedKey><theElement /></unencryptedKey>", retVal.EncryptedElement);