Table of Contents

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

id string
algorithm string
created DateTime

Properties

Algorithm

The algorithm this key supports.

public string Algorithm { get; set; }

Property Value

string

Created

Date key was created.

public DateTime Created { get; set; }

Property Value

DateTime

HasX509Certificate

Indicates if key is contained in X509 certificate.

public bool HasX509Certificate { get; set; }

Property Value

bool

Id

Key identifier.

public string Id { get; set; }

Property Value

string

Methods

ToSecurityKey()

Creates AsymmetricSecurityKey.

public abstract AsymmetricSecurityKey ToSecurityKey()

Returns

AsymmetricSecurityKey