API Reference

Class

PdfSignatureValidationResult

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Lightweight structural validation result for one PDF signature value.

Inheritance

  • Object
  • PdfSignatureValidationResult

Usage

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

Properties

public PdfSignatureInfo Signature { get; } #

Signature metadata read from the PDF.

public Boolean HasCompleteByteRangeShape { get; } #

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

public Boolean ByteRangeSegmentsAreOrdered { get; } #

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

public Boolean ByteRangeCoversEndOfFile { get; } #

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

public Nullable<Int64> ByteRangeCoveredBytes { get; } #

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

public Nullable<Int64> ByteRangeGapStart { get; } #

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

public Nullable<Int64> ByteRangeGapLength { get; } #

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

public Nullable<Int64> UnsignedByteCount { get; } #

Bytes outside the parsed signed byte ranges, when readable.

public Nullable<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 Boolean HasCryptographicResult { get; } #

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

public Nullable<Boolean> 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 Boolean IsStructurallyValid { get; } #

True when this signature has no structural validation errors.