Table of Contents

Class BulkValidationResult

Namespace
SimpleSign.PAdES.Validation
Assembly
SimpleSign.PAdES.dll

Result of a single bulk validation operation.

public sealed record BulkValidationResult : IEquatable<BulkValidationResult>
Inheritance
BulkValidationResult
Implements
Inherited Members

Constructors

BulkValidationResult(string, IReadOnlyList<SignatureValidationResult>?, Exception?, TimeSpan)

Result of a single bulk validation operation.

public BulkValidationResult(string Id, IReadOnlyList<SignatureValidationResult>? Results, Exception? Error, TimeSpan Duration)

Parameters

Id string

Identifier of the input PDF.

Results IReadOnlyList<SignatureValidationResult>

Validation results per signature, or null if processing failed.

Error Exception

Exception if processing failed, or null on success.

Duration TimeSpan

Time spent validating this PDF.

Properties

Duration

Time spent validating this PDF.

public TimeSpan Duration { get; init; }

Property Value

TimeSpan

Error

Exception if processing failed, or null on success.

public Exception? Error { get; init; }

Property Value

Exception

Id

Identifier of the input PDF.

public string Id { get; init; }

Property Value

string

IsProcessed

Whether the PDF was successfully processed (not necessarily valid signatures).

public bool IsProcessed { get; }

Property Value

bool

Results

Validation results per signature, or null if processing failed.

public IReadOnlyList<SignatureValidationResult>? Results { get; init; }

Property Value

IReadOnlyList<SignatureValidationResult>

TotalSignatureCount

Total signatures found. Zero if processing failed.

public int TotalSignatureCount { get; }

Property Value

int

ValidSignatureCount

Number of valid signatures found. Zero if processing failed.

public int ValidSignatureCount { get; }

Property Value

int