1 implementation of ICertificateResolver
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\CertificateResolver.cs (1)
15
public class CertificateResolver :
ICertificateResolver
8 references to ICertificateResolver
Microsoft.AspNetCore.DataProtection (8)
DataProtectionBuilderExtensions.cs (3)
253
builder.Services.TryAddSingleton<
ICertificateResolver
, CertificateResolver>();
258
var
certificateResolver = services.GetRequiredService<
ICertificateResolver
>();
DataProtectionServiceCollectionExtensions.cs (1)
100
services.TryAddSingleton<
ICertificateResolver
, CertificateResolver>();
XmlEncryption\CertificateResolver.cs (1)
12
/// A default implementation of <see cref="
ICertificateResolver
"/> that looks in the current user
XmlEncryption\CertificateXmlEncryptor.cs (3)
27
/// <see cref="
ICertificateResolver
"/> that can be used to resolve the certificate, and
30
public CertificateXmlEncryptor(string thumbprint,
ICertificateResolver
certificateResolver, ILoggerFactory loggerFactory)
101
private Func<X509Certificate2> CreateCertFactory(string thumbprint,
ICertificateResolver
resolver)