Show / Hide Table of Contents

Class CachedCertificateLoader

The cached certificate loader loads X.509 certificates.

Certificates are cached in memory for performance.

Inheritance
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)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
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.

Implements

ICertificateLoader
In this article
Back to top Copyright © ComponentSpace Pty Ltd 2017-2025. All rights reserved.