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
<PackageReference Include="SimpleSign.Brazil.IcpBrasil" Version="0.15.0" />
<PackageVersion Include="SimpleSign.Brazil.IcpBrasil" Version="0.15.0" />
<PackageReference Include="SimpleSign.Brazil.IcpBrasil" />
paket add SimpleSign.Brazil.IcpBrasil --version 0.15.0
#r "nuget: SimpleSign.Brazil.IcpBrasil, 0.15.0"
#:package SimpleSign.Brazil.IcpBrasil@0.15.0
#addin nuget:?package=SimpleSign.Brazil.IcpBrasil&version=0.15.0
#tool nuget:?package=SimpleSign.Brazil.IcpBrasil&version=0.15.0
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 | 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
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- SimpleSign.Brazil (>= 0.15.0)
- SimpleSign.CAdES (>= 0.15.0)
- SimpleSign.Core (>= 0.15.0)
- SimpleSign.PAdES (>= 0.15.0)
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- SimpleSign.Brazil (>= 0.15.0)
- SimpleSign.CAdES (>= 0.15.0)
- SimpleSign.Core (>= 0.15.0)
- SimpleSign.PAdES (>= 0.15.0)
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.