OfficeIMO.Pdf.Cryptography.Pkcs
2.0.1
Prefix Reserved
dotnet add package OfficeIMO.Pdf.Cryptography.Pkcs --version 2.0.1
NuGet\Install-Package OfficeIMO.Pdf.Cryptography.Pkcs -Version 2.0.1
<PackageReference Include="OfficeIMO.Pdf.Cryptography.Pkcs" Version="2.0.1" />
<PackageVersion Include="OfficeIMO.Pdf.Cryptography.Pkcs" Version="2.0.1" />
<PackageReference Include="OfficeIMO.Pdf.Cryptography.Pkcs" />
paket add OfficeIMO.Pdf.Cryptography.Pkcs --version 2.0.1
#r "nuget: OfficeIMO.Pdf.Cryptography.Pkcs, 2.0.1"
#:package OfficeIMO.Pdf.Cryptography.Pkcs@2.0.1
#addin nuget:?package=OfficeIMO.Pdf.Cryptography.Pkcs&version=2.0.1
#tool nuget:?package=OfficeIMO.Pdf.Cryptography.Pkcs&version=2.0.1
OfficeIMO.Pdf.Cryptography.Pkcs
This optional package adds SignedCms, RFC 3161, and X509Chain validation to
the dependency-free signature parser in OfficeIMO.Pdf. Install it only when
an application needs cryptographic signature validation.
using OfficeIMO.Pdf;
using OfficeIMO.Pdf.Cryptography;
var provider = new PdfPkcsSignatureCryptographyProvider();
var report = PdfDocument.Load("signed.pdf").ValidateSignatures(provider);
foreach (var signature in report.Signatures) {
var crypto = signature.CryptographicResult;
Console.WriteLine($"Math: {crypto?.MathematicalSignatureStatus}");
Console.WriteLine($"Digest: {crypto?.MessageDigestStatus}");
Console.WriteLine($"Chain: {crypto?.CertificateChainStatus}");
Console.WriteLine($"Revocation: {crypto?.RevocationStatus}");
Console.WriteLine($"Timestamp: {crypto?.TimestampStatus}");
}
Certificate revocation defaults to NoCheck; the provider does not make
network calls unless caller policy enables online revocation:
using System.Security.Cryptography.X509Certificates;
var provider = new PdfPkcsSignatureCryptographyProvider(
new PdfPkcsSignatureValidationOptions {
RevocationMode = X509RevocationMode.Online,
UrlRetrievalTimeout = TimeSpan.FromSeconds(10)
});
The PDF core owns byte-range validation, exact signed-byte extraction, signature metadata, document permissions, and revision analysis. This package owns CMS signature math, signed attributes, certificate chains, timestamps, and revocation policy. RFC 3161 token validation uses the typed BCL API on .NET 8 and later; older targets report that timestamp dimension as indeterminate.
Dependency footprint
- External:
System.Security.Cryptography.Pkcsfor CMS/PKCS operations. - OfficeIMO:
OfficeIMO.Pdfowns signature discovery, signed-byte extraction, permissions, and revision analysis.
See the complete OfficeIMO package map for related formats and conversion paths.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- OfficeIMO.Pdf (>= 2.0.1)
- System.Security.Cryptography.Pkcs (>= 10.0.9)
-
.NETStandard 2.0
- OfficeIMO.Pdf (>= 2.0.1)
- System.Security.Cryptography.Pkcs (>= 10.0.9)
-
net10.0
- OfficeIMO.Pdf (>= 2.0.1)
- System.Security.Cryptography.Pkcs (>= 10.0.9)
-
net8.0
- OfficeIMO.Pdf (>= 2.0.1)
- System.Security.Cryptography.Pkcs (>= 10.0.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.