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
IdstringIdentifier of the input PDF.
ResultsIReadOnlyList<SignatureValidationResult>Validation results per signature, or null if processing failed.
ErrorExceptionException if processing failed, or null on success.
DurationTimeSpanTime spent validating this PDF.
Properties
Duration
Time spent validating this PDF.
public TimeSpan Duration { get; init; }
Property Value
Error
Exception if processing failed, or null on success.
public Exception? Error { get; init; }
Property Value
Id
Identifier of the input PDF.
public string Id { get; init; }
Property Value
IsProcessed
Whether the PDF was successfully processed (not necessarily valid signatures).
public bool IsProcessed { get; }
Property Value
Results
Validation results per signature, or null if processing failed.
public IReadOnlyList<SignatureValidationResult>? Results { get; init; }
Property Value
TotalSignatureCount
Total signatures found. Zero if processing failed.
public int TotalSignatureCount { get; }
Property Value
ValidSignatureCount
Number of valid signatures found. Zero if processing failed.
public int ValidSignatureCount { get; }