Table of Contents

Interface IS63SignatureVerifier

Namespace
EncDotNet.S57.ExchangeSets
Assembly
EncDotNet.S57.dll

Verifies the S-63 digital signature of a file in an S-57 exchange set.

public interface IS63SignatureVerifier

Remarks

This is a seam: the full S-63 ENC Data Protection Scheme (RSA/DSA signatures over the SA-issued data server certificate chain) is not yet implemented and is intended to land alongside S-63 decryption support. The interface is published now so that the IS57ExchangeSetVerifier surface is stable in advance.

Implementations must be non-throwing and report failures via the returned S57VerificationOutcome.

Methods

VerifySignatureAsync(string, S63TrustAnchorOptions, CancellationToken)

Verifies the detached S-63 signature associated with the file at filePath.

Task<S57VerificationOutcome> VerifySignatureAsync(string filePath, S63TrustAnchorOptions trustAnchors, CancellationToken cancellationToken = default)

Parameters

filePath string

The absolute path to the file whose signature is being verified.

trustAnchors S63TrustAnchorOptions

Trust anchor options controlling certificate chain validation.

cancellationToken CancellationToken

A token to cancel the operation.

Returns

Task<S57VerificationOutcome>

The signature verification outcome. Returns NotSigned when no signature material is present for the file.