CryptoProviderCache.TryAdd(SignatureProvider) Method

Definition

Tries to add a SignatureProvider to this cache.

public abstract bool TryAdd (Microsoft.IdentityModel.Tokens.SignatureProvider signatureProvider);
abstract member TryAdd : Microsoft.IdentityModel.Tokens.SignatureProvider -> bool
Public MustOverride Function TryAdd (signatureProvider As SignatureProvider) As Boolean

Parameters

signatureProvider
SignatureProvider

The SignatureProvider to cache.

Returns

True if the SignatureProvider was added; false if the cache already contained the SignatureProvider.

Applies to