Class CatalogueSignatureVerificationResult
- Namespace
- EncDotNet.S100.ExchangeSets
- Assembly
- EncDotNet.S100.ExchangeSets.dll
The result of checking an exchange catalogue against its
CATALOG.SIGN signature.
public sealed class CatalogueSignatureVerificationResult
- Inheritance
-
CatalogueSignatureVerificationResult
- Inherited Members
Remarks
S-100 Edition 5.2.1 Part 15 ยง15-8.11.2.
Constructors
CatalogueSignatureVerificationResult(VerificationOutcome, string?, StandaloneDigitalSignature?)
Creates a result.
public CatalogueSignatureVerificationResult(VerificationOutcome outcome, string? detail = null, StandaloneDigitalSignature? signature = null)
Parameters
outcomeVerificationOutcomeThe outcome of the check.
detailstringAdditional detail when the check didn't succeed.
signatureStandaloneDigitalSignatureThe parsed
CATALOG.SIGN, when it could be read.
Properties
Detail
Additional detail when the check didn't succeed.
public string? Detail { get; }
Property Value
IsValid
Whether the catalogue signature and its certificate are valid.
public bool IsValid { get; }
Property Value
Outcome
The outcome: Ok when the catalogue
matches its signature, NotSigned when
the exchange set has no CATALOG.SIGN, and
FileMissing when the signed catalogue
isn't there.
public VerificationOutcome Outcome { get; }
Property Value
Signature
The parsed CATALOG.SIGN, when it could be read.
public StandaloneDigitalSignature? Signature { get; }