Interface IExchangeSetVerifier
- Namespace
- EncDotNet.S100.ExchangeSets
- Assembly
- EncDotNet.S100.ExchangeSets.dll
Verifies the digital signatures in an S-100 exchange set catalogue.
public interface IExchangeSetVerifier
Remarks
S-100 Edition 5.2.1 Part 15.
Methods
VerifyAsync(IAssetSource, ExchangeCatalogue, TrustAnchorOptions, CancellationToken)
Verifies the per-file digital signatures declared in catalogue
against the files accessible through source.
Task<ExchangeSetVerificationResult> VerifyAsync(IAssetSource source, ExchangeCatalogue catalogue, TrustAnchorOptions trustAnchors, CancellationToken cancellationToken = default)
Parameters
sourceIAssetSourceThe asset source containing the exchange set files.
catalogueExchangeCatalogueThe parsed exchange catalogue whose signatures to verify.
trustAnchorsTrustAnchorOptionsTrust anchor options controlling certificate chain validation.
cancellationTokenCancellationTokenA cancellation token.
Returns
- Task<ExchangeSetVerificationResult>
A result enumerating per-file verification outcomes without throwing.