Table of Contents

Class X509KeyContainer

Namespace
Duende.IdentityServer.Services.KeyManagement
Assembly
Duende.IdentityServer.dll

Container class for X509 keys.

public class X509KeyContainer : KeyContainer
Inheritance
X509KeyContainer
Inherited Members

Constructors

X509KeyContainer()

Constructor for X509KeyContainer.

public X509KeyContainer()

X509KeyContainer(ECDsaSecurityKey, string, DateTime, TimeSpan, string)

Constructor for X509KeyContainer.

public X509KeyContainer(ECDsaSecurityKey key, string algorithm, DateTime created, TimeSpan certAge, string issuer = "OP")

Parameters

key ECDsaSecurityKey
algorithm string
created DateTime
certAge TimeSpan
issuer string

X509KeyContainer(RsaSecurityKey, string, DateTime, TimeSpan, string)

Constructor for X509KeyContainer.

public X509KeyContainer(RsaSecurityKey key, string algorithm, DateTime created, TimeSpan certAge, string issuer = "OP")

Parameters

key RsaSecurityKey
algorithm string
created DateTime
certAge TimeSpan
issuer string

Properties

CertificateRawData

The X509 certificate data.

public string CertificateRawData { get; set; }

Property Value

string

Methods

ToSecurityKey()

public override AsymmetricSecurityKey ToSecurityKey()

Returns

AsymmetricSecurityKey