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