Class SecurityKeyInfo
- Namespace
- Fdyay.IdentityServer.Services.KeyManagement
- Assembly
- Fdyay.IdentityServer.Core.dll
A validation key together with the algorithm it is used with.
public sealed class SecurityKeyInfo
- Inheritance
-
SecurityKeyInfo
- Inherited Members
Constructors
SecurityKeyInfo(SecurityKey, string)
A validation key and its algorithm.
public SecurityKeyInfo(SecurityKey key, string signingAlgorithm)
Parameters
keySecurityKeyThe key.
signingAlgorithmstringThe algorithm it validates, such as
RS256.
Properties
Key
The key, as published in the JWKS and accepted when validating a token.
public SecurityKey Key { get; }
Property Value
SigningAlgorithm
The algorithm the key is used with, such as RS256.
public string SigningAlgorithm { get; }