SimpleSign.XAdES 0.15.0

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

SimpleSign.XAdES

Create and validate XAdES digital signatures (ETSI EN 319 132) — XML-DSig baseline levels B-B, B-T, B-LT, and B-LTA, in enveloped, detached, and enveloping forms. No BouncyCastle — only System.Security.Cryptography.

Quickstart

using SimpleSign.Core.Signing;
using SimpleSign.Core.Validation;
using SimpleSign.XAdES;

byte[] signed = await XadesSigner.Document(File.ReadAllBytes("invoice.xml"))
    .WithCertificate(certificate)
    .WithLevel(AdesBaselineProfile.Timestamped(timestampOptions))
    .SignAsync();
File.WriteAllBytes("signed-invoice.xml", signed);

// ValidateAsync also checks the revocation of the signer and TSA chains
XadesValidationResult result = await new XadesSignatureValidator(
        new ValidationOptions { TrustedRoots = [certificate] })
    .ValidateAsync(signed);
Console.WriteLine($"{result.Indication} {result.SubIndication}");

Also reads ETSI trusted lists (TS 119 612 / TS 102 231 v3) after checking their signature: TrustedList.Load(xml, new TrustedListOptions { SignerCertificates = [schemeOperator] }) is an ITrustAnchorProvider.

When the key is on another machine, sign in two phases: XadesDeferredSigner.Document(xml)…PrepareAsync() returns the bytes to sign and a session; XadesDeferredSigner.Resume(session, key).CompleteAsync(signature) finishes the signature.

More at github.com/eupassarin/SimpleSign and the docs. MIT licensed.

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on SimpleSign.XAdES:

Package Downloads
SimpleSign

Meta-package for the SimpleSign signature formats: PAdES (PDF), CAdES and XAdES signing and validation, on SimpleSign.Core.

SimpleSign.Peru.Iofe

IOFE (Peru, Ley 27269) for SimpleSign: trust anchors from INDECOPI's signed trusted list, the signing and validation policies of the INDECOPI accreditation guide.

SimpleSign.Europe.Eidas

eIDAS (EU Regulation 910/2014) for SimpleSign: trust anchors from the EU list of trusted lists (LOTL, pivots followed), the qualification of signatures (QESig, QESeal, AdESig-QC… per ETSI TS 119 615 and TS 119 172-4), and eIDAS signing and validation policies.

SimpleSign.Brazil.IcpBrasil.Xades

XAdES under the ICP-Brasil signature policies: AD-RB, AD-RT, AD-RV, AD-RC and AD-RA signing, policy validation and the verified LPA_XAdES refresh.

SimpleSign.Cli.Extensibility

The contract of the extensions of the SimpleSign CLI: what a package adds to 'simplesign' after it is installed with 'simplesign extension install' — commands, trust profiles, policy presets and trusted-list profiles.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.15.0 194 11/19/2026
0.14.0 95 11/19/2026
0.13.0 119 11/18/2026
0.12.0 163 11/16/2026
0.11.1 182 11/16/2026
0.11.0 137 11/16/2026
0.10.1 167 11/4/2026
0.10.0 110 11/4/2026
0.9.3 145 11/1/2026
0.9.2 145 10/14/2026
0.9.1 123 10/14/2026
0.9.0 138 9/30/2026
0.8.0 167 9/1/2026
0.7.1 169 7/28/2026
0.7.0 175 6/30/2026