X509CertificateStoreTokenResolver.TryResolveTokenCore Method (SecurityKeyIdentifier, SecurityToken)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Resolves the specified key identifier to a security token.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected override bool TryResolveTokenCore(
	SecurityKeyIdentifier keyIdentifier,
	out SecurityToken token
)

Parameters

keyIdentifier
Type: System.IdentityModel.Tokens.SecurityKeyIdentifier

The key identifier to resolve.

token
Type: System.IdentityModel.Tokens.SecurityToken

When this method returns, contains the security token that was resolved from the key identifier. This parameter is treated as uninitialized.

Return Value

Type: System.Boolean

true if the key identifier is successfully resolved; otherwise, false.

Exception Condition
ArgumentNullException

keyIdentifier is null.

.NET Framework
Available since 4.5
Return to top
Show: