5 references to CertificateXmlEncryptor
Microsoft.AspNetCore.DataProtection (1)
DataProtectionBuilderExtensions.cs (1)
225options.XmlEncryptor = new CertificateXmlEncryptor(certificate, loggerFactory);
Microsoft.AspNetCore.DataProtection.Tests (4)
XmlEncryption\EncryptedXmlDecryptorTests.cs (4)
19var encryptor = new CertificateXmlEncryptor(testCert1, NullLoggerFactory.Instance); 37var encryptor = new CertificateXmlEncryptor(testCert1, NullLoggerFactory.Instance); 55var encryptor = new CertificateXmlEncryptor(fullCert, NullLoggerFactory.Instance); 77var encryptor = new CertificateXmlEncryptor(testCert1, NullLoggerFactory.Instance);