Class FileVerificationResult
- Namespace
- EncDotNet.S100.ExchangeSets
- Assembly
- EncDotNet.S100.ExchangeSets.dll
The verification result for a single file in an exchange set, carrying two independent dimensions: the digital-signature outcome (Outcome) and the checksum/integrity outcome (ChecksumOutcome).
public sealed class FileVerificationResult
- Inheritance
-
FileVerificationResult
- Inherited Members
Remarks
S-100 Edition 5.2.1 Part 15. A file may, for example, report a valid checksum while being unsigned, so the two dimensions are reported separately rather than collapsed into a single value.
Properties
ChecksumOutcome
The checksum/integrity outcome for this file, independent of Outcome. Defaults to NoChecksum when the file carries no declared cryptographic hash to compare against.
public VerificationOutcome ChecksumOutcome { get; init; }
Property Value
Remarks
S-100 Edition 5.2.1 Part 15 §15-8.10.
ComputedSha256
The SHA-256 digest computed over the file content, expressed as a lower-case hexadecimal string; null when the file was missing or could not be read. Surfaced so an unsigned exchange set can still be integrity-checked against an externally supplied digest.
public string? ComputedSha256 { get; init; }
Property Value
Detail
Optional detail message (e.g. exception message on Error).
public string? Detail { get; init; }
Property Value
FileName
The file name as declared in the catalogue discovery metadata.
public required string FileName { get; init; }
Property Value
Outcome
The digital-signature verification outcome for this file (S-100 Edition 5.2.1 Part 15 §15-8.9).
public required VerificationOutcome Outcome { get; init; }
Property Value
SignatureResults
Results for every digital signature declared for this resource, in catalogue order. Empty for unsigned resources and compatibility adapters that expose only an aggregate outcome.
public IReadOnlyList<SignatureVerificationResult> SignatureResults { get; init; }