CryptoProviderCache.GetCacheKey Method

Definition

Overloads

GetCacheKey(SignatureProvider)

Returns the cache key used to look up an entry for a SignatureProvider.

GetCacheKey(SecurityKey, String, String)

Returns the cache key used to find a cryptographic provider in this cache.

GetCacheKey(SignatureProvider)

Returns the cache key used to look up an entry 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 used for finding a SignatureProvider.

Applies to

GetCacheKey(SecurityKey, String, String)

Returns the cache key used to find a cryptographic 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 used by the cryptographic provider.

algorithm
String

The algorithm used by the cryptographic provider.

typeofProvider
String

The type of the cryptographic provider obtained by calling object.GetType().

Returns

The cache key used for finding a cryptographic provider.

Applies to