InMemoryCryptoProviderCache Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a cache for crypto providers. Current support is limited to SignatureProvider only.
public class InMemoryCryptoProviderCache : Microsoft.IdentityModel.Tokens.CryptoProviderCache, IDisposable
type InMemoryCryptoProviderCache = class
inherit CryptoProviderCache
interface IDisposable
Public Class InMemoryCryptoProviderCache
Inherits CryptoProviderCache
Implements IDisposable
- Inheritance
- Implements
Constructors
InMemoryCryptoProviderCache() |
Creates a new instance of InMemoryCryptoProviderCache using the default CryptoProviderCacheOptions. |
InMemoryCryptoProviderCache(CryptoProviderCacheOptions) |
Creates a new instance of InMemoryCryptoProviderCache using the specified |
Methods
Dispose() |
Calls Dispose(Boolean) and SuppressFinalize(Object) 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(). |
Dispose(Boolean) |
If |
GetCacheKey(SecurityKey, String, String) |
Returns the 'key' that will be used to find a crypto provider in this cache. |
GetCacheKey(SignatureProvider) |
Returns the cache key to use when looking up an entry into the cache for a SignatureProvider |
TryAdd(SignatureProvider) |
Trys to adds a SignatureProvider to this cache. |
TryGetSignatureProvider(SecurityKey, String, String, Boolean, SignatureProvider) |
Trys to find a SignatureProvider to this cache. |
TryRemove(SignatureProvider) |
Trys to remove a SignatureProvider from this cache. |
Applies to
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示