Class KeyContainer
- Namespace
- Duende.IdentityServer.Services.KeyManagement
- Assembly
- Duende.IdentityServer.dll
Container class for key.
public abstract class KeyContainer
- Inheritance
-
KeyContainer
- Derived
- Inherited Members
Constructors
KeyContainer()
Constructor for KeyContainer.
public KeyContainer()
KeyContainer(string, string, DateTime)
Constructor for RsaKeyContainer.
public KeyContainer(string id, string algorithm, DateTime created)
Parameters
Properties
Algorithm
The algorithm this key supports.
public string Algorithm { get; set; }
Property Value
Created
Date key was created.
public DateTime Created { get; set; }
Property Value
HasX509Certificate
Indicates if key is contained in X509 certificate.
public bool HasX509Certificate { get; set; }
Property Value
Id
Key identifier.
public string Id { get; set; }
Property Value
Methods
ToSecurityKey()
Creates AsymmetricSecurityKey.
public abstract AsymmetricSecurityKey ToSecurityKey()
Returns
- AsymmetricSecurityKey