Skip to content

In memory storage

David Lievrouw edited this page Dec 19, 2025 · 4 revisions

This page describes the use of the In-Memory Storage strategy.

Prerequisites

This strategy is registered an pre-configured when referencing the Dalion.HttpMessageSigning.Verification package. You do not need to add anything else.

dotnet add package Dalion.HttpMessageSigning.Verification

or

PM> Install-Package Dalion.HttpMessageSigning.Verification

Client store configuration

Register verification in your IoC container. This implies the use of the InMemory strategy. No additional configuration is needed. E.g.

public static void ConfigureServices(IServiceCollection services) {
    services
        ...
        .AddHttpMessageSignatureVerification();
}

Nonce store configuration

Register verification in your IoC container. This implies the use of the InMemory strategy. No additional configuration is needed. E.g.

public static void ConfigureServices(IServiceCollection services) {
    services
        ...
        .AddHttpMessageSignatureVerification();
}

Samples

A sample is available in the repository source: ASP.NET Core web application (.NET 10.0)

Clone this wiki locally