Implemented interface member:
method
ImportFromXml
Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptorDeserializer.ImportFromXml(System.Xml.Linq.XElement)
4 references to ImportFromXml
Microsoft.AspNetCore.DataProtection.Tests (4)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializerTests.cs (4)
41
var deserializedDescriptor = new ManagedAuthenticatedEncryptorDescriptorDeserializer().
ImportFromXml
(XElement.Parse(xml));
75
var deserializedDescriptor = new ManagedAuthenticatedEncryptorDescriptorDeserializer().
ImportFromXml
(XElement.Parse(xml));
102
var deserializedDescriptor = new ManagedAuthenticatedEncryptorDescriptorDeserializer().
ImportFromXml
(XElement.Parse(xml));
125
var ex = Assert.Throws<InvalidOperationException>(() => new ManagedAuthenticatedEncryptorDescriptorDeserializer().
ImportFromXml
(XElement.Parse(xml)));