Class SigningAlgorithmOptions
- Namespace
- Fdyay.IdentityServer.Configuration
- Assembly
- Fdyay.IdentityServer.Core.dll
An algorithm automatic key management keeps a key for. Duende's SigningAlgorithmOptions.
public class SigningAlgorithmOptions
- Inheritance
-
SigningAlgorithmOptions
- Inherited Members
Constructors
SigningAlgorithmOptions(string)
Creates the options for the algorithm name.
public SigningAlgorithmOptions(string name)
Parameters
namestringThe algorithm, e.g. RS256, PS384, ES256.
Exceptions
- ArgumentNullException
nameisnull.
Properties
IsEcKey
Whether the algorithm takes an EC key: the ES family.
public bool IsEcKey { get; }
Property Value
IsRsaKey
Whether the algorithm takes an RSA key: the RS and PS families.
public bool IsRsaKey { get; }
Property Value
Name
The algorithm, e.g. RS256, PS384, ES256.
public string Name { get; set; }
Property Value
UseX509Certificate
Whether the key is wrapped in a self-signed certificate, published as x5c and x5t. RSA only, as
Duende's is.
public bool UseX509Certificate { get; set; }