SdJwt.Net.Eudiw 1.0.6

dotnet add package SdJwt.Net.Eudiw --version 1.0.6
                    
NuGet\Install-Package SdJwt.Net.Eudiw -Version 1.0.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SdJwt.Net.Eudiw" Version="1.0.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SdJwt.Net.Eudiw" Version="1.0.6" />
                    
Directory.Packages.props
<PackageReference Include="SdJwt.Net.Eudiw" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SdJwt.Net.Eudiw --version 1.0.6
                    
#r "nuget: SdJwt.Net.Eudiw, 1.0.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SdJwt.Net.Eudiw@1.0.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SdJwt.Net.Eudiw&version=1.0.6
                    
Install as a Cake Addin
#tool nuget:?package=SdJwt.Net.Eudiw&version=1.0.6
                    
Install as a Cake Tool

SdJwt.Net.Eudiw

EUDIW / ARF reference helpers for the SD-JWT .NET ecosystem.

Overview

This package provides reference models, configuration, and validation helpers for EUDIW-style ecosystems under eIDAS 2.0 / ARF concepts:

  • ARF-Oriented Validation: Architecture Reference Framework helper checks
  • EU Trust Lists: LOTL integration and issuer trust validation
  • PID Handling: Person Identification Data credential processing
  • QEAA/EAA: Qualified and non-qualified attestation support
  • RP Registration: Relying Party registration validation

SdJwt.Net.Eudiw is not a certified EU Digital Identity Wallet, not a trust service provider, and not a replacement for national onboarding, conformity assessment, relying-party registration, or EU trust-list governance.

Installation

dotnet add package SdJwt.Net.Eudiw

Quick Start

Validate ARF-Oriented Policy

using SdJwt.Net.Eudiw.Arf;

var validator = new ArfProfileValidator();

// Validate algorithm against the configured ARF-oriented policy
bool isValid = validator.ValidateAlgorithm("ES256"); // true

// Validate credential type
var result = validator.ValidateCredentialType("eu.europa.ec.eudi.pid.1");
if (result.IsValid)
{
    Console.WriteLine($"Credential type: {result.CredentialType}"); // Pid
}

Process PID Credentials

using SdJwt.Net.Eudiw.Credentials;

var handler = new PidCredentialHandler();

var claims = new Dictionary<string, object>
{
    ["family_name"] = "Mustermann",
    ["given_name"] = "Erika",
    ["birth_date"] = "1964-08-12",
    ["issuance_date"] = "2024-01-01",
    ["expiry_date"] = "2029-01-01",
    ["issuing_authority"] = "Bundesdruckerei",
    ["issuing_country"] = "DE"
};

var validation = handler.Validate(claims);
if (validation.IsValid)
{
    var credential = handler.ToPidCredential(claims);
    Console.WriteLine($"{credential.GivenName} {credential.FamilyName}");
}

Validate EU Member State

using SdJwt.Net.Eudiw.Arf;

var validator = new ArfProfileValidator();

// Check if issuing country is EU member state
bool isEu = validator.ValidateMemberState("DE"); // true
bool isNotEu = validator.ValidateMemberState("US"); // false

Validate RP Registration

using SdJwt.Net.Eudiw.RelyingParty;

var validator = new RpRegistrationValidator();

var registration = new RpRegistration
{
    ClientId = "https://rp.example.com",
    OrganizationName = "Example Corp",
    RedirectUris = new[] { "https://rp.example.com/callback" },
    ResponseTypes = new[] { "vp_token" },
    TrustFramework = "eu.eudiw.trust"
};

var result = validator.Validate(registration);
if (result.IsValid)
{
    Console.WriteLine("RP registration is valid");
}

EudiWallet (Holder Application)

For building wallet applications, use the EudiWallet reference wrapper to apply ARF-oriented validation policies over the generic wallet infrastructure:

using SdJwt.Net.Eudiw;
using SdJwt.Net.Wallet.Core;
using SdJwt.Net.Wallet.Storage;

// Create a reference EUDIW-style wallet wrapper
var store = new InMemoryCredentialStore();
IKeyManager keyManager = /* your IKeyManager implementation */;

var options = new EudiWalletOptions
{
    WalletId = "citizen-wallet-001",
    EnforceArfCompliance = true,
    MinimumHaipLevel = 2,
    ValidateIssuerTrust = true,
    SupportedCredentialTypes = new[]
    {
        EudiwConstants.Pid.DocType,
        EudiwConstants.Mdl.DocType
    }
};

var wallet = new EudiWallet(store, keyManager, eudiOptions: options);

// Validate algorithms against the configured ARF-oriented policy
wallet.ValidateAlgorithm("ES256"); // true (allowed by this policy)
wallet.ValidateAlgorithm("RS256"); // false (not in ARF)

// Validate member states
wallet.ValidateMemberState("DE"); // true
wallet.ValidateMemberState("US"); // false

// Store credential with ARF validation
try
{
    var stored = await wallet.StoreCredentialAsync(credential);
}
catch (ArfComplianceException ex)
{
    // Algorithm or format is not allowed by the configured ARF-oriented policy
}

// Find PID/mDL credentials
var pidCredentials = await wallet.FindPidCredentialsAsync();
var mdlCredentials = await wallet.FindMdlCredentialsAsync();

// Create presentation with ARF enforcement
var presentation = await wallet.CreatePresentationAsync(
    credentialId, disclosurePaths, audience, nonce);

Credential Types

Type Format Description
PID mdoc Person Identification Data (national ID equivalent)
mDL mdoc Mobile Driving License per ISO 18013-5
QEAA SD-JWT VC Qualified attestations (diplomas, certifications)
EAA SD-JWT VC Non-qualified attestations (memberships)

ARF Algorithm Support

The package enforces ARF-mandated cryptographic algorithms:

Algorithm Support
ES256 Required by HAIP Final baseline validation support
ES384 Supported
ES512 Supported

EU Member States

Full support for all 27 EU member states:

AT, BE, BG, CY, CZ, DE, DK, EE, ES, FI, FR, GR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK

License

Apache 2.0 - See LICENSE

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.6 100 5/10/2026
1.0.5 98 5/9/2026
1.0.4 92 4/30/2026
1.0.3 99 4/28/2026
1.0.3-alpha.0.2 59 4/28/2026
1.0.2 114 3/13/2026
1.0.1 103 3/1/2026