Table of Contents

Class DataProtectionKeyProtector

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

Implementation of IKeyProtector based on ASP.NET Core's data protection feature.

public class DataProtectionKeyProtector : ISigningKeyProtector
Inheritance
DataProtectionKeyProtector
Implements
Inherited Members

Constructors

DataProtectionKeyProtector(KeyManagementOptions, IDataProtectionProvider)

Constructor for DataProtectionKeyProtector.

public DataProtectionKeyProtector(KeyManagementOptions options, IDataProtectionProvider dataProtectionProvider)

Parameters

options KeyManagementOptions
dataProtectionProvider IDataProtectionProvider

Methods

Protect(KeyContainer)

public SerializedKey Protect(KeyContainer key)

Parameters

key KeyContainer

Returns

SerializedKey

Unprotect(SerializedKey)

public KeyContainer Unprotect(SerializedKey key)

Parameters

key SerializedKey

Returns

KeyContainer