Microsoft.IdentityModel.Tokens.InMemoryCryptoProviderCache
Defines a cache for crypto providers.
Current support is limited to SignatureProvider only.
public InMemoryCryptoProviderCache()
Creates a new instance of InMemoryCryptoProviderCache using the default CryptoProviderCacheOptions.
Creates a new instance of InMemoryCryptoProviderCache using the specified cryptoProviderCacheOptions.
Calls Dispose and SuppressFinalize
Note: the EventBasedLRUCache is no longer being disposed of, but since this is a public class and can be used as base class of
custom cache implementations, we need to keep it as some implementations may override Dispose().
If disposing is true, this method disposes of _signingSignatureProviders and _verifyingSignatureProviders.