Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfSignatureValidationResult

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Lightweight structural validation result for one PDF signature value.

Inheritance

  • object
  • PdfSignatureValidationResult

Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Properties

public PdfPadesLevel PadesLevel { get; } #

PAdES baseline level established by cryptographic validation. PdfPadesLevel.None for document time-stamps and for signatures validated without a cryptography provider. When a level is not reached, a pades-baseline-*-not-reached finding explains why.

public PdfSignatureInfo Signature { get; } #

Signature metadata read from the PDF.

public bool HasCompleteByteRangeShape { get; } #

True when /ByteRange contains the common four numeric values used by detached PDF signatures.

public bool ByteRangeSegmentsAreOrdered { get; } #

True when the parsed byte ranges are non-negative, non-overlapping, and ordered.

public bool ByteRangeCoversEndOfFile { get; } #

True when the final /ByteRange segment ends at the end of the file.

public long? ByteRangeCoveredBytes { get; } #

Total bytes covered by the parsed /ByteRange values, when readable.

public long? ByteRangeGapStart { get; } #

Start of the unsigned gap between the first two /ByteRange segments, when readable.

public long? ByteRangeGapLength { get; } #

Length of the unsigned gap between the first two /ByteRange segments, when readable.

public long? UnsignedByteCount { get; } #

Bytes outside the parsed signed byte ranges, when readable.

public double? ByteRangeCoverageRatio { get; } #

Fraction of input bytes covered by the parsed /ByteRange values, when readable.

public PdfSignatureCryptographicResult? CryptographicResult { get; } #

Provider-owned CMS, digest, trust, timestamp, and revocation result, when requested.

public bool HasCryptographicResult { get; } #

True when an optional provider performed cryptographic validation for this signature.

public bool? ByteRangeGapMatchesContents { get; } #

True when the unsigned /ByteRange gap length matches the full /Contents token span, when both are readable.

public IReadOnlyList<PdfSignatureValidationFinding> Findings { get; } #

Findings for this signature value.

public bool IsStructurallyValid { get; } #

True when this signature has no structural validation errors.