Table of Contents

Class CachedCertificateLoader

Namespace
ComponentSpace.Saml2.Certificates
Assembly
ComponentSpace.Saml2.dll

The cached certificate loader loads X.509 certificates.

Certificates are cached in memory for performance.

public class CachedCertificateLoader : AbstractCachedCertificateLoader, ICertificateLoader
Inheritance
CachedCertificateLoader
Implements
Inherited Members

Constructors

CachedCertificateLoader(IConfiguration, IOptionsMonitor<CertificateCacheOptions>, IMemoryCache, ILoggerFactory)

Initializes a new instance of the CachedCertificateLoader class.

public CachedCertificateLoader(IConfiguration configuration, IOptionsMonitor<CertificateCacheOptions> certificateCacheOptions, IMemoryCache memoryCache, ILoggerFactory loggerFactory)

Parameters

configuration IConfiguration

The configuration.

certificateCacheOptions IOptionsMonitor<CertificateCacheOptions>

The certificate cache options.

memoryCache IMemoryCache

The memory cache used to store certificates.

loggerFactory ILoggerFactory

The logger factory.