aspnetcore/src/Microsoft.AspNet.DataProtec.../XmlEncryption/IInternalCertificateXmlEncr...

22 lines
704 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if !DOTNET5_4 // [[ISSUE60]] Remove this #ifdef when Core CLR gets support for EncryptedXml
using System;
using System.Xml;
using System.Security.Cryptography.Xml;
namespace Microsoft.AspNet.DataProtection.XmlEncryption
{
/// <summary>
/// Internal implementation details of <see cref="CertificateXmlEncryptor"/> for unit testing.
/// </summary>
internal interface IInternalCertificateXmlEncryptor
{
EncryptedData PerformEncryption(EncryptedXml encryptedXml, XmlElement elementToEncrypt);
}
}
#endif