SimpleSign.Brazil.IcpBrasil.Xades
0.12.0
dotnet add package SimpleSign.Brazil.IcpBrasil.Xades --version 0.12.0
NuGet\Install-Package SimpleSign.Brazil.IcpBrasil.Xades -Version 0.12.0
<PackageReference Include="SimpleSign.Brazil.IcpBrasil.Xades" Version="0.12.0" />
<PackageVersion Include="SimpleSign.Brazil.IcpBrasil.Xades" Version="0.12.0" />
<PackageReference Include="SimpleSign.Brazil.IcpBrasil.Xades" />
paket add SimpleSign.Brazil.IcpBrasil.Xades --version 0.12.0
#r "nuget: SimpleSign.Brazil.IcpBrasil.Xades, 0.12.0"
#:package SimpleSign.Brazil.IcpBrasil.Xades@0.12.0
#addin nuget:?package=SimpleSign.Brazil.IcpBrasil.Xades&version=0.12.0
#tool nuget:?package=SimpleSign.Brazil.IcpBrasil.Xades&version=0.12.0
SimpleSign.Brazil.IcpBrasil.Xades
XAdES signatures under the ICP-Brasil XML signature policies (LPA_XAdES.xml): AD-RB, AD-RT,
AD-RV, AD-RC and AD-RA.
using SimpleSign.Brazil.IcpBrasil.Xades;
byte[] signed = await XadesSigner.Document(xml).WithCertificate(cert)
.WithIcpBrasilPolicy(IcpBrasilPolicy.AdRc, new TimestampOptions(new Uri(actUrl)))
.SignAsync();
var result = new XadesSignatureValidator().Validate(signed);
var policy = IcpBrasilXadesPolicyValidator.Validate(signed, result);
WithIcpBrasilPolicy picks the newest XML PA that accepts the signer's AC Raiz, writes
SigningCertificate (XAdES 1.3.2) and the policy with its SignPolicyDigest, and adds the
properties the PA mandates (SignatureTimeStamp, CompleteCertificateRefs/CompleteRevocationRefs,
SigAndRefsTimeStamp, CertificateValues/RevocationValues, ArchiveTimeStamp).
IcpBrasilXadesPolicies.RefreshAsync downloads LPA_XAdES.xml, verifies its ITI XML signature
and applies new policies and revocations.
| 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.Brazil.IcpBrasil (>= 0.12.0)
- SimpleSign.Core (>= 0.12.0)
- SimpleSign.XAdES (>= 0.12.0)
- System.Security.Cryptography.Xml (>= 10.0.14)
-
net8.0
- SimpleSign.Brazil.IcpBrasil (>= 0.12.0)
- SimpleSign.Core (>= 0.12.0)
- SimpleSign.XAdES (>= 0.12.0)
- System.Security.Cryptography.Xml (>= 10.0.14)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.