SimpleSign.XAdES
0.17.0
dotnet add package SimpleSign.XAdES --version 0.17.0
NuGet\Install-Package SimpleSign.XAdES -Version 0.17.0
<PackageReference Include="SimpleSign.XAdES" Version="0.17.0" />
<PackageVersion Include="SimpleSign.XAdES" Version="0.17.0" />
<PackageReference Include="SimpleSign.XAdES" />
paket add SimpleSign.XAdES --version 0.17.0
#r "nuget: SimpleSign.XAdES, 0.17.0"
#:package SimpleSign.XAdES@0.17.0
#addin nuget:?package=SimpleSign.XAdES&version=0.17.0
#tool nuget:?package=SimpleSign.XAdES&version=0.17.0
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 | Versions 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. |
-
net10.0
- SimpleSign.Core (>= 0.17.0)
- System.Security.Cryptography.Xml (>= 10.0.14)
-
net8.0
- SimpleSign.Core (>= 0.17.0)
- System.Security.Cryptography.Xml (>= 10.0.14)
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.Peru.Iofe.Accredited
The configuration of SimpleSign that INDECOPI's accreditation guide for signature software (v4.0, sections 4.2 to 4.4) asks for, with nothing to relax: signing by an automated agent with the key in a PKCS#11 module or a declared remote signing service, verification by an automated agent with a notice to the sender, the checks of each time-stamp, the viewer and the audit trails. |
|
|
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.17.0 | 113 | 11/24/2026 |
| 0.16.0 | 113 | 11/24/2026 |
| 0.15.0 | 326 | 11/19/2026 |
| 0.14.0 | 193 | 11/19/2026 |
| 0.13.0 | 169 | 11/18/2026 |
| 0.12.0 | 166 | 11/16/2026 |
| 0.11.1 | 184 | 11/16/2026 |
| 0.11.0 | 139 | 11/16/2026 |
| 0.10.1 | 171 | 11/4/2026 |
| 0.10.0 | 112 | 11/4/2026 |
| 0.9.3 | 147 | 11/1/2026 |
| 0.9.2 | 148 | 10/14/2026 |
| 0.9.1 | 124 | 10/14/2026 |
| 0.9.0 | 141 | 9/30/2026 |
| 0.8.0 | 168 | 9/1/2026 |
| 0.7.1 | 170 | 7/28/2026 |
| 0.7.0 | 176 | 6/30/2026 |