Sps.Sips.XmlSecurity.Xades 1.0.4

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

SPS SIPS XML Security and XAdES

This package provides XML Digital Signature (XMLDSig) and XML Advanced Electronic Signatures (XAdES) for SIPS.

Explicit profiles

The package exposes two strongly typed profiles through XadesProfile:

  • IpsVendorLegacy preserves the historical SmartVista/IPS signature contract and is the default for existing overloads.
  • WpSipsPapss preserves the hardened identified-envelope WP-SIPS contract and must be selected explicitly by PAPSS callers.
var ipsSigned = signer.SignEnvelope(xml, XadesProfile.IpsVendorLegacy);
var ipsResult = await verifier.VerifySignature(xml, true, XadesProfile.IpsVendorLegacy, ct);

var papssSigned = signer.SignEnvelope(xml, XadesProfile.WpSipsPapss);
var papssResult = await verifier.VerifyWithProvenance(xml, XadesProfile.WpSipsPapss, ct);

No profile is inferred from XML. The original overloads remain compatible and route to IpsVendorLegacy. The package targets net8.0 and can be referenced by the PAPSS .NET 10 service; that service must use the explicit WpSipsPapss overloads at /sips/messages.

Overview

The SIPS XMLDSig Xades package provides XML Digital Signature (XMLDSig) and XML Advanced Electronic Signatures (XAdES) for SIPS. The package includes the following features:

  • XMLDSig: Signs and verifies XML documents.
  • XAdES: Signs and verifies XML documents with advanced electronic signatures.
  • Key Management: Manages keys for XMLDSig and XAdES.
  • Certificate Management: Manages certificates for XMLDSig and XAdES.

Installation

To install the package, follow these steps:

  1. Add the package to your project.
dotnet add package Sps.Sips.XmlSecurity.Xades --version 1.0.3
  1. Add the following configuration to your appsettings.json file:
{
  "Xades": {
    "CertificatePath": "",
    "PrivateKeyPath": "",
    "PrivateKeyPassphrase": "", // Use only if the private key is encrypted with a passphrase
    "ChainPath": "",
    "Algorithms": ["SHA256withRSA"],
    "VerificationWindowMinutes": 100,
    "BIC": "",
    "WithoutPKI": false,
    "BaseDN": ""
  }
}
  1. Add the following configuration to your Startup.cs file:
services.AddXades();

This package implements the qualified SPS-side WP-SIPS-01 trust profile. PAPSS consumers must not reuse SPS trust anchors, ownership rules, or profile policy; only mechanics proven compatible with authoritative PAPSS material are reusable.

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 was computed.  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

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.4 125 9/24/2026
1.0.3 123 9/14/2026
1.0.2 92 9/14/2026
1.0.1 93 9/14/2026
1.0.0 98 9/7/2026