Table of Contents

Class DigitalSignatureValue

Namespace
EncDotNet.S100.ExchangeSets
Assembly
EncDotNet.S100.ExchangeSets.dll

Represents a parsed S100_SE_DigitalSignature element from an exchange catalogue.

public sealed class DigitalSignatureValue
Inheritance
DigitalSignatureValue
Inherited Members

Remarks

S-100 Edition 5.2.1 Part 15 §15-8.8 and §15-8.11. Each dataset, support file, and catalogue discovery metadata entry may carry a digital signature value that can be verified against the certificate identified by CertificateRef.

Properties

CertificateRef

The certificateRef attribute — a URI that identifies the certificate whose public key should be used to verify this signature (e.g. "urn:mrn:iho:s62:iic:2C:key1").

public required string CertificateRef { get; init; }

Property Value

string

DataStatus

The resource representation covered by a SignatureOnData signature.

public SignatureDataStatus? DataStatus { get; init; }

Property Value

SignatureDataStatus?

Remarks

S-100 Edition 5.2.1 Part 15 §15-8.11.4 and §15-8.11.6. When the catalogue omits the dataStatus attribute, the reader infers Unencrypted for a resource declared neither protected nor compressed, and otherwise leaves this null so verification reports it.

Id

The id attribute of the S100_SE_DigitalSignature element (e.g. "SIG101AA0000DS0009").

public required string Id { get; init; }

Property Value

string

Kind

The XML signature form represented by this value.

public DigitalSignatureKind Kind { get; init; }

Property Value

DigitalSignatureKind

Remarks

S-100 Edition 5.2.1 Part 15 §15-8.11.3 through §15-8.11.5.

SignatureRef

The identifier of the signature covered by a SignatureOnSignature signature.

public string? SignatureRef { get; init; }

Property Value

string

Remarks

S-100 Edition 5.2.1 Part 15 §15-8.11.5.

Value

The raw base64-decoded signature bytes.

public required byte[] Value { get; init; }

Property Value

byte[]