CryptoProviderCache.GetCacheKey Method
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.
Overloads
GetCacheKey(SignatureProvider) |
Returns the cache key to use when looking up an entry into the cache for a SignatureProvider |
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
protected abstract string GetCacheKey (Microsoft.IdentityModel.Tokens.SignatureProvider signatureProvider);
abstract member GetCacheKey : Microsoft.IdentityModel.Tokens.SignatureProvider -> string
Protected MustOverride Function GetCacheKey (signatureProvider As SignatureProvider) As String
Parameters
- signatureProvider
- SignatureProvider
the SignatureProvider to create the key for.
Returns
the cache key to use for finding a SignatureProvider.
Applies to
GetCacheKey(SecurityKey, String, String)
Returns the 'key' that will be used to find a crypto provider in this cache.
protected abstract string GetCacheKey (Microsoft.IdentityModel.Tokens.SecurityKey securityKey, string algorithm, string typeofProvider);
abstract member GetCacheKey : Microsoft.IdentityModel.Tokens.SecurityKey * string * string -> string
Protected MustOverride Function GetCacheKey (securityKey As SecurityKey, algorithm As String, typeofProvider As String) As String
Parameters
- securityKey
- SecurityKey
the key that is used to by the crypto provider.
- algorithm
- String
the algorithm that is used by the crypto provider.
- typeofProvider
- String
the typeof the crypto provider obtained by calling object.GetType().
Returns
the cache key to use for finding a crypto provider.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for