SimpleSign.Brazil.IcpBrasil 0.15.0

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

SimpleSign.Brazil.IcpBrasil

ICP-Brasil for SimpleSign: bundled AC Raiz (v4 to v13) and intermediate certificates, chain validation with revocation and professional registrations (DOC-ICP-04), the AD-RB to AD-RA signature policies (DOC-ICP-15), standalone ACT timestamps and the Lei 14.063 level of each signature.

Quickstart

using SimpleSign.Brazil.IcpBrasil;

var validator = IcpBrasilExtension.CreateValidator();
var results = await validator.ValidateAsync(File.OpenRead("signed.pdf"));

// Sign under an ICP-Brasil policy
byte[] signed = await PadesSigner.Document(File.ReadAllBytes("document.pdf"))
    .WithCertificate(icpBrasilCertificate)
    .WithCountryExtension(new IcpBrasilExtension())
    .SignAsync();

Add SimpleSign.Brazil.GovBr and pass new GovBrExtension() too to accept Gov.br signatures.

IcpBrasilPolicies.Signing and IcpBrasilPolicies.Validation are SimpleSign checks for ICP-Brasil certificates (the chain must reach an ICP-Brasil root, the revocation of the whole chain is required, no SHA-1 in the chain): pass them to WithSigningPolicy and ValidationOptions.Policy, or as --policy icp-brasil in the CLI (extension SimpleSign.Brazil.Cli). They do not put an ICP-Brasil signature policy (AD-RB…) into the signature: that is WithIcpBrasilPolicy.

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

Showing the top 2 NuGet packages that depend on SimpleSign.Brazil.IcpBrasil:

Package Downloads
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.Brazil.Fiscal

XMLDSig signing and validation of Brazilian fiscal XML: NF-e, NFC-e, CT-e, MDF-e (and their events), NFS-e Nacional, eSocial and EFD-Reinf, with ICP-Brasil certificates.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.15.0 50 11/19/2026
0.14.0 52 11/19/2026
0.13.0 75 11/18/2026
0.12.0 115 11/16/2026
0.11.1 125 11/16/2026
0.11.0 125 11/16/2026