Class CachedCertificateLoader
The cached certificate loader loads X.509 certificates.
Certificates are cached in memory for performance.
Implements
Inherited Members
Namespace: ComponentSpace.Saml2.Certificates
Assembly: ComponentSpace.Saml2.dll
Syntax
public class CachedCertificateLoader : AbstractCachedCertificateLoader, ICertificateLoader
Constructors
CachedCertificateLoader(IConfiguration, IOptionsMonitor<CertificateCacheOptions>, IMemoryCache, ILoggerFactory)
Initializes a new instance of the CachedCertificateLoader
class.
Declaration
public CachedCertificateLoader(IConfiguration configuration, IOptionsMonitor<CertificateCacheOptions> certificateCacheOptions, IMemoryCache memoryCache, ILoggerFactory loggerFactory)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration | configuration | The configuration. |
IOptionsMonitor<CertificateCacheOptions> | certificateCacheOptions | The certificate cache options. |
IMemoryCache | memoryCache | The memory cache used to store certificates. |
ILoggerFactory | loggerFactory | The logger factory. |