1 implementation of IInternalEncryptedXmlDecryptor
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\EncryptedXmlDecryptor.cs (1)
20
public sealed class EncryptedXmlDecryptor :
IInternalEncryptedXmlDecryptor
, IXmlDecryptor
5 references to IInternalEncryptedXmlDecryptor
Microsoft.AspNetCore.DataProtection (3)
XmlEncryption\EncryptedXmlDecryptor.cs (3)
22
private readonly
IInternalEncryptedXmlDecryptor
_decryptor;
39
_decryptor = services?.GetService<
IInternalEncryptedXmlDecryptor
>() ?? this;
81
void
IInternalEncryptedXmlDecryptor
.PerformPreDecryptionSetup(EncryptedXml encryptedXml)
Microsoft.AspNetCore.DataProtection.Tests (2)
XmlEncryption\CertificateXmlEncryptionTests.cs (2)
31
var mockInternalDecryptor = new Mock<
IInternalEncryptedXmlDecryptor
>();
39
serviceCollection.AddSingleton<
IInternalEncryptedXmlDecryptor
>(mockInternalDecryptor.Object);