Share via


CryptoProviderCache.GetCacheKey Method

Definition

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