SdJwt.Net.Vc 1.0.2

dotnet add package SdJwt.Net.Vc --version 1.0.2
                    
NuGet\Install-Package SdJwt.Net.Vc -Version 1.0.2
                    
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.Vc" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SdJwt.Net.Vc" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="SdJwt.Net.Vc" />
                    
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.Vc --version 1.0.2
                    
#r "nuget: SdJwt.Net.Vc, 1.0.2"
                    
#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.Vc@1.0.2
                    
#: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.Vc&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=SdJwt.Net.Vc&version=1.0.2
                    
Install as a Cake Tool

SdJwt.Net.Vc - Verifiable Credentials

NuGet Version License

Implementation of SD-JWT-based Verifiable Credentials aligned with draft-ietf-oauth-sd-jwt-vc-15. Provides strongly-typed models and comprehensive validation for verifiable credentials using the SD-JWT format.

Features

  • Draft 15 Alignment: Core SD-JWT VC issuance and verification with draft-15 updates
  • Type Safety: Strongly-typed models for all VC components
  • Media Type Support: Support for both dc+sd-jwt and legacy vc+sd-jwt media types
  • Status Integration: Built-in support for status claims and revocation checking
  • VCT Validation: Collision-Resistant Name validation for VCT claims

Installation

dotnet add package SdJwt.Net.Vc

Quick Start

Issue a Verifiable Credential

using SdJwt.Net.Vc.Issuer;

var vcIssuer = new SdJwtVcIssuer(issuerKey, SecurityAlgorithms.EcdsaSha256);

var vcPayload = new SdJwtVcPayload
{
    Issuer = "https://university.example.edu",
    Subject = "did:example:student123",
    IssuedAt = DateTimeOffset.UtcNow.ToUnixTimeSeconds(),
    ExpiresAt = DateTimeOffset.UtcNow.AddYears(4).ToUnixTimeSeconds(),
    AdditionalData = new Dictionary<string, object>
    {
        ["degree"] = "Bachelor of Science",
        ["major"] = "Computer Science",
        ["gpa"] = 3.8,
        ["graduation_date"] = "2024-06-15"
    }
};

var credential = vcIssuer.Issue(
    "https://university.edu/credentials/degree",
    vcPayload,
    sdOptions,
    holderJwk);

Verify a Verifiable Credential

using SdJwt.Net.Vc.Verifier;

var vcVerifier = new SdJwtVcVerifier(keyResolver);
var expectedNonce = "nonce-123";

var result = await vcVerifier.VerifyAsync(
    presentation,
    validationParams,
    kbJwtValidationParameters: kbParams,
    expectedKbJwtNonce: expectedNonce,
    expectedVctType: "https://university.edu/credentials/degree");

var verifiedClaims = result.ClaimsPrincipal;
var verifiedVct = result.VctType;

Real-World Examples

  • Medical Licenses: Healthcare professional credentials
  • University Degrees: Academic achievement verification
  • Employment Records: Job position and verification workflows
  • Government IDs: Citizen identity credentials

Documentation

For comprehensive examples and integration patterns, see the main repository.

License

Licensed under the Apache License 2.0.

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 (3)

Showing the top 3 NuGet packages that depend on SdJwt.Net.Vc:

Package Downloads
SdJwt.Net.Oid4Vp

A .NET library for OpenID for Verifiable Presentations (OID4VP) 1.0 protocol implementation. Provides transport-agnostic data models and utilities for verifying SD-JWT presentations with Presentation Exchange v2.0.0 support. Ready for .NET 10.

SdJwt.Net.Wallet

Generic, extensible identity wallet implementation for .NET, supporting SD-JWT VC and mdoc credentials. Provides credential management, key management, OpenID4VCI/VP protocol adapters, and integration with trust infrastructure. Based on EUDI Android/iOS wallet architectures.

SdJwt.Net.Eudiw

EU Digital Identity Wallet (EUDIW) profile implementation for the SD-JWT .NET ecosystem. Provides eIDAS 2.0 compliance, ARF validation, EU Trust List integration, PID credential handling, and QEAA/EAA support for European digital identity verification.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 0 3/13/2026
1.0.1 192 3/1/2026
1.0.0 160 2/28/2026

Draft-15 aligned SD-JWT VC implementation with strict typ validation,
                       metadata integrity verification, issuer metadata/JWKS key resolution, and
                       improved status and policy validation controls.