Table of Contents

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

outcome VerificationOutcome

The outcome of the check.

detail string

Additional detail when the check didn't succeed.

signature StandaloneDigitalSignature

The parsed CATALOG.SIGN, when it could be read.

Properties

Detail

Additional detail when the check didn't succeed.

public string? Detail { get; }

Property Value

string

IsValid

Whether the catalogue signature and its certificate are valid.

public bool IsValid { get; }

Property Value

bool

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

VerificationOutcome

Signature

The parsed CATALOG.SIGN, when it could be read.

public StandaloneDigitalSignature? Signature { get; }

Property Value

StandaloneDigitalSignature