Show / Hide Table of Contents

Class CachedCertificateLoader

The cached certificate loader loads X.509 certificates.

Certificates are cached in memory for performance.

Inheritance
System.Object
AbstractCachedCertificateLoader
CachedCertificateLoader
Implements
ICertificateLoader
Inherited Members
AbstractCachedCertificateLoader.LoadCertificateFromBytesAsync(Byte[], String)
AbstractCachedCertificateLoader.LoadCertificateFromStringAsync(String, String)
AbstractCachedCertificateLoader.LoadCertificateFromFileAsync(String, String)
AbstractCachedCertificateLoader.LoadCertificateFromStoreAsync(String, StoreLocation, X509FindType, Object)
AbstractCachedCertificateLoader.LoadCertificateFromKeyAsync(String)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
Microsoft.Extensions.Configuration.IConfiguration configuration

The configuration.

Microsoft.Extensions.Options.IOptionsMonitor<CertificateCacheOptions> certificateCacheOptions

The certificate cache options.

Microsoft.Extensions.Caching.Memory.IMemoryCache memoryCache

The memory cache used to store certificates.

Microsoft.Extensions.Logging.ILoggerFactory loggerFactory

The logger factory.

Implements

ICertificateLoader
In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2017-2022. All rights reserved.